You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one uses bigint_as_char = TRUE one might get mixed types. To parse them with tibblify requires tib_variant() and a conversion later on. This feels a bit awkward...
Idea: add tib_bigint(output_form = c("integer64", "character")). For
"integer64": convert integer like character to int64 and integer like doubles to int64
"character": convert numbers to character
After #153 this can be done via a simple wrapper around tib_variant().
The text was updated successfully, but these errors were encountered:
Big ints are often quite painful to work with. If they come from
jsonlite::fromJSON()
one has the issue of mixed types or loss of precision:Created on 2022-07-26 by the reprex package (v2.0.1)
If one uses
bigint_as_char = TRUE
one might get mixed types. To parse them with tibblify requirestib_variant()
and a conversion later on. This feels a bit awkward...Idea: add
tib_bigint(output_form = c("integer64", "character"))
. For"integer64"
: convert integer like character to int64 and integer like doubles to int64"character"
: convert numbers to characterAfter #153 this can be done via a simple wrapper around
tib_variant()
.The text was updated successfully, but these errors were encountered: