fr
provides fr_tdr
, fr_schema
, and fr_field
objects for implementing
frictionless
tabular-data-resource
standards in R.
Install {fr} from CRAN:
install.packages("fr")
You can install the development version of {fr} from GitHub with:
# install.packages("pak")
pak::pak("cole-brokamp/fr")
vignette("read_fr_tdr")
to read a Frictionless Tabular Data Resource from disk or the web, access metadata, and manipulate it as a data.framevignette("creating_a_tabular-data-resource")
to create a Frictionless Tabular Data Resource by converting a data.frame or tibble, adding metadata, and writing to diskDeveloped by the Open Knowledge Foundation, the frictionless standards are a set of patterns for describing data, including datasets (Data Package), files (Data Resource), and tables (Table Schema). A Data Package is a simple container format used to describe and package a collection of data and metadata, including schemas. These metadata are contained in a specific file (separate from the data file), usually written in JSON or YAML, that describes something specific to each Frictionless Standard: