read_package {frictionless} | R Documentation |
Read a Data Package descriptor file (datapackage.json
)
Description
Reads information from a datapackage.json
file, i.e. the
descriptor file
that describes the Data Package metadata and its Data Resources.
Usage
read_package(file = "datapackage.json")
Arguments
file |
Path or URL to a |
Value
Data Package object, see create_package()
.
See Also
Other read functions:
read_resource()
,
resources()
Examples
# Read a datapackage.json file
package <- read_package(
system.file("extdata", "datapackage.json", package = "frictionless")
)
package
# Access the Data Package properties
package$name
package$created
# List resources
resources(package)
[Package frictionless version 1.1.0 Index]