Skip to contents

Example Tabular Data Package with dummy camera trap data organized in 3 Data Resources:

  • deployments: data stored in deployments.csv.

  • observations: data stored in observations_1.csv and observations_2.csv, but referenced as URLs.

  • media: data stored in data property.

Usage

example_package

Format

An object of class datapackage (inherits from list) of length 7.

Examples

if (FALSE) {
# 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")
}