Skip to contents

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.

Usage

add_resource(package, resource_name, files, keys = TRUE)

Arguments

package

Data Package object, as returned by read_package() or create_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 and foreignKey properties are added to the Table Schema.

Value

Provided package with one additional resource.

Details

See Get started for examples.