Adds Movebank data (reference-data
, gps
, acceleration
,
accessory-measurements
) as a Data Resource to a Frictionless Data Package.
The function extends frictionless::add_resource()
.
The title, definition, format and URI of each field are looked up in the
latest version of the Movebank Attribute Dictionary and included in the Table
Schema of the resource.
Arguments
- package
Data Package object, as returned by
read_package()
orcreate_package()
.- resource_name
Name of the Data Resource.
- files
One or more paths to CSV file(s) that contain the data for this resource, as a character (vector).
- keys
If
TRUE
,primaryKey
andforeignKey
properties are added to the Table Schema.
Details
See Get started for examples.