Expand Frictionless Metadata with structural metadata
expand_frictionless_metadata.Rd
Loops over elements in the structural metadata and adds them to frictionless metadata schema. Will overwrite existing values.
Usage
expand_frictionless_metadata(
structural_metadata,
resource_name,
resource_path,
data_package_path,
prune_datapackage = TRUE
)
Arguments
- structural_metadata
Dataframe. Structural metadata from
create_structural_metadata
orupdate_structural_metadata
- resource_name
Character. Item within the datapackage to be updated
- resource_path
Character. Path to csv file
- data_package_path
Character. Path to datapackage.json file
- prune_datapackage
Logical. Should properties not in the structural metadata be removed?