Skip to contents

Adds Movebank data (reference-data, gps, acceleration, accessory-measurements) as a Data Resource to a Frictionless Data Package. The function extends and masks frictionless::add_resource() and should be used with frictionless::create_package(). 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

List describing a Data Package, created with 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

Should primaryKey and foreignKey properties be added to the Table Schema?

Value

Provided package with one additional resource.

Details

See Get started for examples.