Reads a JSON file into a tidylearn_data object. Expects the JSON to
represent tabular data (array of objects or similar). Requires the
jsonlite package.
Arguments
- path
Path to a JSON file.
- flatten
Logical. Automatically flatten nested data frames? Default is
TRUE.- ...
Additional arguments passed to
jsonlite::fromJSON().
Value
A tidylearn_data object (a tibble subclass)
with attributes tl_source, tl_format, and
tl_timestamp.
