Wrapper for jsonlite::read_json. Enforces that the object read is an RO-Crate.
read_rocrate(path, simplifyVector = FALSE, ...)Invisibly the RO-Crate stored in path.
file on disk
simplifies nested lists into vectors and data frames. See fromJSON().
Arguments passed on to jsonlite::fromJSON
txta JSON string, URL or file
simplifyDataFramecoerce JSON arrays containing only records (JSON objects) into a data frame
simplifyMatrixcoerce JSON arrays containing vectors of equal mode and dimension into matrix or array
flattenautomatically flatten() nested data frames into a single non-nested data frame