example_package {frictionless} | R Documentation |
Example Data Package
Description
Example Tabular Data Package with dummy camera trap data organized in 3 Data Resources:
-
deployments
: data stored indeployments.csv
. -
observations
: data stored inobservations_1.csv
andobservations_2.csv
, but referenced as URLs. -
media
: data stored indata
property.
Usage
example_package
Format
An object of class datapackage
(inherits from list
) of length 7.
Source
https://github.com/frictionlessdata/frictionless-r/tree/main/inst/extdata
Examples
## Not run:
# example_package.rda was created with the code below.
# Note that it must be created using a URL, otherwise all Data Resource paths
# will point to local paths that won't work for other users.
# One can load locally using:
# read_package(
# system.file("extdata", "datapackage.json", package = "frictionless")
# )
example_package <- read_package(file.path(
"https://raw.githubusercontent.com/frictionlessdata/frictionless-r",
"main/inst/extdata/datapackage.json"
))
save(example_package, file = "data/example_package.rda")
## End(Not run)
[Package frictionless version 1.1.0 Index]