R/readdatapackage.R

Defines functions readdatapackage

readdatapackage <- function(path, filename) {
  dp <- read_json_yaml(file.path(path, filename))
  structure(dp, class = c("readonlydatapackage", "datapackage"), path = path, filename = filename)
}

Try the datapackage package in your browser

Any scripts or data that you put into this service are public.

datapackage documentation built on June 8, 2025, 1:25 p.m.