validate: validate descriptor

Description Usage Arguments Value See Also Examples

View source: R/validate.R

Description

A standalone function to validate a data package descriptor.

Usage

1
validate(descriptor)

Arguments

descriptor

data package descriptor, one of:

  • string with the local CSV file (path)

  • string with the remote CSV file (url)

  • list object

Value

A list with:

See Also

https://github.com/frictionlessdata/datapackage-r#validate

Examples

1
validate(descriptor = '{"name": "Invalid Datapackage"}')

datapackage.r documentation built on Jan. 11, 2022, 5:07 p.m.