-
New
parse_openapi_spec()
andparse_openapi_schema()
to convert an OpenAPI specification to a tibblify specification. -
Fix ptype of a
tib_vector()
inside atib_df()
. -
New
unpack_tspec()
to unpack the elements oftib_row()
fields (#165). -
Improved printing of lists parsed with
tspec_object()
. -
Improved performance of the
tspec()
family. -
Improved guessing.
-
In column major format all fields are required.
-
Fixed a memory leak.
-
tib_vector()
is now uses less memory and is faster. -
tspec_*()
,tib_df()
, andtib_row()
now discardNULL
in...
. This makes it easier to add a field conditionally with, for exampletspec_df(if (x) tib_int("a"))
. -
tib_variant()
andtib_vector()
give you more control for transforming:-
transform
is now applied to the whole vector. -
There is a new
elt_transform
argument that is applied to every element.
-
-
New
tspec_recursive()
andtib_recursive()
to parse tree like structure, e.g. a directory structure with its children.
Major rewrite of the tibblify package with lots of benefits:
-
tibblify()
is now implemented in C and therefore way faster. -
Support of column major format.
-
Support for vectors as scalar lists and objects.
-
Specification functions have been renamed
lcols()
totspec_df()
- new specs
tspec_object()
andtspec_row()
lcol_int()
totib_int()
etc
-
tspec_df()
gains an argument.names_to
to store the names of a recordlist in a column. -
Added
untibblify()
to turn a tibble into a nested list, i.e. to reverse the action oftibblify()
. -
Added
spec_combine()
to combine multiple specifications. -
Added argument
unspecified
totibblify()
to control how to handle unspecified fields. -
Many bugfixes.
- First CRAN release.