Skip to content

Instantly share code, notes, and snippets.

@timrobertson100
Created September 30, 2020 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timrobertson100/c63182fd3a91a45e8404bfe38d00c679 to your computer and use it in GitHub Desktop.
Save timrobertson100/c63182fd3a91a45e8404bfe38d00c679 to your computer and use it in GitHub Desktop.
Example data package
{
"id": "https://doi.org/10.5281/zenodo.3968687",
"profile": "tabular-data-package",
"resources": [
{
"name": "reference-data",
"path": "https://zenodo.org/record/3968687/files/LBBG_ZEEBRUGGE-reference-data.csv",
"profile": "tabular-data-resource",
"schema": {
"fields": [
{
"name": "tag-id",
"type": "string",
"format": "default",
"description": "A unique identifier for the tag, provided by the data owner. If the data owner does not provide a tag ID, an internal Movebank tag identifier may sometimes be shown. Example: '2342'; Units: none; Entity described: tag",
"title": "tag ID"
},
{
"name": "animal-id",
"type": "string",
"format": "default",
"description": "An individual identifier for the animal, provided by the data owner. If the data owner does not provide an Animal ID, an internal Movebank animal identifier is sometimes shown. Example: '91876A, Gary'; Units: none; Entity described: individual",
"title": "animal ID"
},
{
"name": "animal-taxon",
"type": "string",
"format": "default",
"description": "The scientific name of the species on which the tag was deployed, as defined by the Integrated Taxonomic Information System (ITIS, www.itis.gov). If the species name can not be provided, this should be the lowest level taxonomic rank that can be determined and that is used in the ITIS taxonomy. Additional information can be provided using the term 'taxon detail'. Example: 'Buteo swainsoni'; Format: controlled list; Units: none; Entity described: individual",
"title": "animal taxon"
},
{
"name": "deploy-on-date",
"type": "string",
"format": "default",
"description": "The timestamp when the tag deployment started. Example: '2008-08-30 18:00:00.000'; Format: yyyy-MM-dd HH:mm:ss.SSS; Units: UTC or GPS time; Entity described: deployment",
"title": "deploy on timestamp"
},
{
"name": "deploy-off-date",
"type": "string",
"format": "default",
"title": "deploy off timestamp",
"description": "The timestamp when the tag deployment ended. Example: '2009-10-01 12:00:00.000'; Format: yyyy-MM-dd HH:mm:ss.SSS; Units: UTC or GPS time; Entity described: deployment"
},
{
"name": "animal-comments",
"type": "string",
"format": "default",
"description": "Additional information about the animal that is not described by other reference data terms. Example: 'sibling of #1423'; Units: none; Entity described: individual",
"title": "animal comments"
},
{
"name": "animal-life-stage",
"type": "string",
"format": "default",
"title": "animal life stage",
"description": "The age class or life stage of the animal at the beginning of the deployment. Can be years or months of age or terms such as 'adult', 'subadult' and 'juvenile'. Best practice is to define units in the values if needed (e.g. '2 years'). Example: 'juvenile, adult'; Units: not defined; Entity described: deployment"
},
{
"name": "animal-mass",
"type": "number",
"format": "default",
"title": "animal mass",
"description": "The mass of the animal, typically at the beginning of the deployment. Example: '500'; Units: grams; Entity described: deployment"
},
{
"name": "animal-nickname",
"type": "string",
"format": "default",
"description": "An alternate identifier for the animal. Used as the display name for animals shown in the Animal Tracker App. Example: 'Ali'; Units: none; Entity described: individual",
"title": "animal nickname"
},
{
"name": "animal-ring-id",
"type": "string",
"format": "default",
"title": "animal ring ID",
"description": "A number or color scheme for a band or ring attached to the animal. Example: '26225'; Units: none; Entity described: individual"
},
{
"name": "animal-sex",
"type": "string",
"format": "default",
"description": "The sex of the animal. Allowed values are m = male; f = female. Format: controlled list; Units: none; Entity described: individual",
"title": "animal sex"
},
{
"name": "attachment-type",
"type": "string",
"format": "default",
"title": "attachment type",
"description": "The way a tag is attached to an animal. Values are chosen from a controlled list: collar = The tag is attached by a collar around the animal's neck; glue = The tag is attached to the animal using glue; harness = The tag is attached to the animal using a harness; implant = The tag is placed under the skin of the animal; tape = The tag is attached to the animal using tape; other = user specified. Format: controlled list; Units: none; Entity described: deployment"
},
{
"name": "deploy-on-latitude",
"type": "number",
"format": "default",
"description": "The geographic latitude of the location where the animal was released (intended primarily for instances in which the animal release and tag retrieval locations have higher accuracy than those derived from sensor data). Example: '27.3516'; Units: decimal degrees, WGS84 reference system; Entity described: deployment",
"title": "deploy on latitude"
},
{
"name": "deploy-on-longitude",
"type": "number",
"format": "default",
"title": "deploy on longitude",
"description": "The geographic longitude of the location where the animal was released (intended primarily for instances in which the animal release and tag retrieval locations have higher accuracy than those derived from sensor data). Example: '-97.3321'; Units: decimal degrees, WGS84 reference system; Entity described: deployment"
},
{
"name": "deployment-comments",
"type": "string",
"format": "default",
"description": "Additional information about the tag deployment that is not described by other reference data terms. Example: 'body length 154 cm; condition good'; Units: none; Entity described: deployment",
"title": "deployment comments"
},
{
"name": "deployment-end-type",
"type": "string",
"format": "default",
"description": "A categorical classification of the tag deployment end, from a controlled list: captured = The tag remained on the animal but the animal was captured or confined; dead = The deployment ended with the death of the animal that was carrying the tag; equipment failure = The tag stopped working; fall off = The attachment of the tag to the animal failed, and it fell of accidentally; other = other; released = The tag remained on the animal but the animal was released from captivity or confinement; removal = The tag was purposefully removed from the animal; unknown = The deployment ended by an unknown cause. Format: controlled list; Units: none; Entity described: deployment",
"title": "deployment end type"
},
{
"name": "deployment-id",
"type": "string",
"format": "default",
"title": "deployment ID",
"description": "A unique identifier for the deployment of a tag on animal, provided by the data owner. If the data owner does not provide a Deployment ID, an internal Movebank deployment identifier may sometimes be shown. Example: 'Jane-Tag42'; Units: none; Entity described: deployment"
},
{
"name": "location-accuracy-comments",
"type": "string",
"format": "default",
"title": "location accuracy comments",
"description": "Comments about the values provided in 'location error text', 'location error numerical', 'vertical error numerical', 'lat lower', 'lat upper', 'long lower' and/or 'long upper'. The percentile uncertainty can be provided using 'location error percentile'. Example: '1 standard deviation errors, assuming normal distribution, provided by the GPS unit'; Units: none; Entity described: deployment"
},
{
"name": "manipulation-type",
"type": "string",
"format": "default",
"title": "manipulation type",
"description": "The way in which the animal was manipulated during the deployment. Values are chosen from a controlled list: confined = The animal's movement was restricted to within a defined area; none = The animal received no treatment other than the tag attachment; relocated = The animal was released from a site other than the one at which it was captured; manipulated other = The animal was manipulated in some other way, such as a physiological manipulation. Format: controlled list; Units: none; Entity described: deployment"
},
{
"name": "study-site",
"type": "string",
"format": "default",
"description": "A location such as the deployment site or colony, or a location-related group such as the herd or pack name. Example: 'Pickerel Island North'; Units: none; Entity described: deployment",
"title": "study site"
},
{
"name": "tag-manufacturer-name",
"type": "string",
"format": "default",
"title": "tag manufacturer name",
"description": "The company or person that produced the tag. Example: 'Holohil'; Units: none; Entity described: tag"
},
{
"name": "tag-mass",
"type": "number",
"format": "default",
"description": "The mass of the tag. Example: '24'; Units: grams; Entity described: tag",
"title": "tag mass"
},
{
"name": "tag-readout-method",
"type": "string",
"format": "default",
"title": "tag readout method",
"description": "The way the data are received from the tag. Values are chosen from a controlled list: satellite = Data are transferred via satellite; phone network = Data are transferred via a phone network, such as GSM or AMPS; other wireless = Data are transferred via another form of wireless data transfer, such as a VHF transmitter/receiver; tag retrieval = The tag must be physically retrieved in order to obtain the data. Format: controlled list; Units: none; Entity described: deployment"
},
{
"name": "tag-serial-no",
"type": "string",
"format": "default",
"title": "tag serial no",
"description": "The serial number of the tag. Example: 'MN93-33243'; Units: none; Entity described: tag"
}
],
"primaryKey": [
"tag-id",
"animal-id"
]
}
},
{
"name": "gps",
"path": [
"LBBG_ZEEBRUGGE-gps-2013.csv"
],
"profile": "tabular-data-resource",
"schema": {
"fields": [
{
"name": "event-id",
"type": "integer",
"format": "default",
"title": "event ID",
"description": "An identifier for the set of values associated with each event, i.e. sensor measurement. A unique event ID is assigned to every time-location or other time-measurement record in Movebank. If multiple measurements are included within a single row of a data file, they will share an event ID. If users import the same sensor measurement to Movebank multiple times, a separate event ID will be assigned to each. Example: '6340565'; Units: none; Entity described: event"
},
{
"name": "visible",
"type": "boolean",
"format": "default",
"description": "Determines whether an event is visible on the Movebank map. Values are calculated automatically, with TRUE indicating the event has not been flagged as an outlier by 'algorithm marked outlier', 'import marked outlier' or 'manually marked outlier', or that the user has overridden the results of these outlier attributes using 'manually marked valid' = TRUE. Allowed values are TRUE or FALSE. Units: none; Entity described: event",
"title": "visible"
},
{
"name": "timestamp",
"type": "string",
"format": "default",
"title": "timestamp",
"description": "The date and time corresponding to a sensor measurement or an estimate derived from sensor measurements. Example: '2008-08-14 18:31:00.000'; Format: yyyy-MM-dd HH:mm:ss.SSS; Units: UTC or GPS time; Entity described: event"
},
{
"name": "location-long",
"type": "number",
"format": "default",
"title": "location long",
"description": "The geographic longitude of the location as estimated by the sensor. Positive values are east of the Greenwich Meridian, negative values are west of it. Example: '-121.1761111'; Units: decimal degrees, WGS84 reference system; Entity described: event"
},
{
"name": "location-lat",
"type": "number",
"format": "default",
"title": "location lat",
"description": "The geographic longitude of the location as estimated by the sensor. Positive values are east of the Greenwich Meridian, negative values are west of it. Example: '-41.0982423'; Units: decimal degrees, WGS84 reference system; Entity described: event"
},
{
"name": "bar:barometric-pressure",
"type": "number",
"format": "default",
"title": "barometric pressure",
"description": "The barometric air or water pressure. Example: '32536.0'; Units: mbar (hPa); Entity described: event"
},
{
"name": "external-temperature",
"type": "number",
"format": "default",
"title": "external temperature",
"description": "The temperature measured by the tag (different from ambient temperature or internal body temperature of the animal). Example: '32.1'; Units: degrees Celsius; Entity described: event"
},
{
"name": "gps:dop",
"type": "number",
"format": "default",
"title": "GPS DOP",
"description": "Dilution of precision provided by the GPS. Example: '1.8'; Units: unitless; Entity described: event"
},
{
"name": "gps:satellite-count",
"type": "integer",
"format": "default",
"title": "GPS satellite count",
"description": "The number of GPS satellites used to estimate the location. Example: '8'; Units: none; Entity described: event"
},
{
"name": "gps-time-to-fix",
"type": "number",
"format": "default",
"title": "GPS time to fix",
"description": "The time required to obtain the GPS location fix. Example: '36'; Units: s; Entity described: event"
},
{
"name": "ground-speed",
"type": "number",
"format": "default",
"title": "ground speed",
"description": "The estimated ground speed provided by the sensor or calculated between consecutive locations. Example: '7.22'; Units: m/s; Entity described: event"
},
{
"name": "heading",
"type": "number",
"format": "default",
"description": "The direction in which the tag is moving, in decimal degrees clockwise from north, as provided by the sensor or calculated between consecutive locations. Values range from 0-360: 0 = north, 90 = east, 180 = south, 270 = west. Example: '315.88'; Units: degrees clockwise from north; Entity described: event",
"title": "heading"
},
{
"name": "height-above-msl",
"type": "number",
"format": "default",
"title": "height above mean sea level",
"description": "The estimated height of the tag above mean sea level, typically estimated by the tag. If altitudes are calculated as height above an ellipsoid, use 'height above ellipsoid'. Example: '34'; Units: m; Entity described: event"
},
{
"name": "import-marked-outlier",
"type": "boolean",
"format": "default",
"description": "Identifies events as outliers. Typically used to import a record of outliers that were identified by the data provider or owner with automated methods outside of Movebank. Outliers have the value TRUE. Units: none; Entity described: event",
"title": "import marked outlier"
},
{
"name": "location-error-numerical",
"type": "number",
"format": "default",
"title": "location error numerical",
"description": "An estimate of the horizontal error of the location including only numbers. (If the error estimates include non-numerical characters such as '>' use 'location error text'.) These values can be described using 'location error percentile' and 'location accuracy comments'. Example: '50'; Units: m; Entity described: event"
},
{
"name": "manually-marked-outlier",
"type": "boolean",
"format": "default",
"title": "manually marked outlier",
"description": "Identifies events flagged manually as outliers, typically using the Event Editor in Movebank, and may also include outliers identified using other methods. Outliers have the value TRUE. Units: none; Entity described: event"
},
{
"name": "vertical-error-numerical",
"type": "number",
"format": "default",
"title": "vertical error numerical",
"description": "An estimate of the vertical error of the location. These values can be described using 'location error percentile' and 'location accuracy comments'. Example: '12'; Units: m; Entity described: event"
},
{
"name": "sensor-type",
"type": "string",
"format": "default",
"description": "The type of sensor with which data were collected. All sensors are associated with a tag id, and tags can contain multiple sensor types. Each event record in Movebank is assigned one sensor type. If values from multiple sensors are reported in a single event, the primary sensor is used. Values are chosen from a controlled list: acceleration = The sensor collects acceleration data; accessory measurements = The sensor collects accessory measurements, such as battery voltage; Argos Doppler shift = The sensor uses Argos Doppler shift to determine position; barometer = The sensor records air or water pressure; bird ring = The animal is identified by a band or ring that has a unique identifier; GPS = The sensor uses GPS to determine location; magnetometer = The sensor records the magnetic field; natural mark = The animal is identified by a unique natural marking; orientation = Quaternion components describing the orientation of the tag are derived from accelerometer and gyroscope measurements; radio transmitter = The sensor is a classical radio transmitter; solar geolocator = The sensor collects light levels, which are used to determine position (for processed locations); solar geolocator raw = The sensor collects light levels, which are used to determine position (for raw light-level measurements); solar geolocator twilight = The sensor collects light levels, which are used to determine position (for twilights calculated from light-level measurements). Format: controlled list; Units: none; Entity described: event",
"title": "sensor type"
},
{
"name": "individual-taxon-canonical-name",
"type": "string",
"format": "default",
"title": "animal taxon",
"description": "The scientific name of the species on which the tag was deployed, as defined by the Integrated Taxonomic Information System (ITIS, www.itis.gov). If the species name can not be provided, this should be the lowest level taxonomic rank that can be determined and that is used in the ITIS taxonomy. Additional information can be provided using the term 'taxon detail'. Example: 'Buteo swainsoni'; Format: controlled list; Units: none; Entity described: individual"
},
{
"name": "tag-local-identifier",
"type": "string",
"format": "default",
"title": "tag ID",
"description": "A unique identifier for the tag, provided by the data owner. If the data owner does not provide a tag ID, an internal Movebank tag identifier may sometimes be shown. Example: '2342'; Units: none; Entity described: tag"
},
{
"name": "individual-local-identifier",
"type": "string",
"format": "default",
"title": "animal ID",
"description": "An individual identifier for the animal, provided by the data owner. If the data owner does not provide an Animal ID, an internal Movebank animal identifier is sometimes shown. Example: '91876A, Gary'; Units: none; Entity described: individual"
},
{
"name": "study-name",
"type": "string",
"format": "default",
"title": "study name",
"description": "The name of the study in Movebank. Example: 'Coyotes, Kays and Bogan, Albany NY'; Units: none; Entity described: study (event)"
}
],
"primaryKey": "event-id",
"foreignKeys": [
{
"fields": [
"tag-local-identifier",
"individual-local-identifier"
],
"reference": {
"resource": "reference-data",
"fields": [
"tag-id",
"animal-id"
]
}
}
]
}
},
{
"name": "acceleration",
"path": [
"https://zenodo.org/record/3968687/files/LBBG_ZEEBRUGGE-acceleration-2013.csv.zip",
"https://zenodo.org/record/3968687/files/LBBG_ZEEBRUGGE-acceleration-2014.csv.zip",
"https://zenodo.org/record/3968687/files/LBBG_ZEEBRUGGE-acceleration-2015.csv.zip",
"https://zenodo.org/record/3968687/files/LBBG_ZEEBRUGGE-acceleration-2016.csv.zip",
"https://zenodo.org/record/3968687/files/LBBG_ZEEBRUGGE-acceleration-2017.csv.zip",
"https://zenodo.org/record/3968687/files/LBBG_ZEEBRUGGE-acceleration-2018.csv.zip"
],
"profile": "tabular-data-resource",
"schema": {
"fields": [
{
"name": "event-id",
"type": "integer",
"format": "default",
"title": "event ID",
"description": "An identifier for the set of values associated with each event, i.e. sensor measurement. A unique event ID is assigned to every time-location or other time-measurement record in Movebank. If multiple measurements are included within a single row of a data file, they will share an event ID. If users import the same sensor measurement to Movebank multiple times, a separate event ID will be assigned to each. Example: '6340565'; Units: none; Entity described: event"
},
{
"name": "visible",
"type": "boolean",
"format": "default",
"title": "visible",
"description": "Determines whether an event is visible on the Movebank map. Values are calculated automatically, with TRUE indicating the event has not been flagged as an outlier by 'algorithm marked outlier', 'import marked outlier' or 'manually marked outlier', or that the user has overridden the results of these outlier attributes using 'manually marked valid' = TRUE. Allowed values are TRUE or FALSE. Units: none; Entity described: event"
},
{
"name": "timestamp",
"type": "integer",
"format": "default",
"description": "The date and time corresponding to a sensor measurement or an estimate derived from sensor measurements. Example: '2008-08-14 18:31:00.000'; Format: yyyy-MM-dd HH:mm:ss.SSS; Units: UTC or GPS time; Entity described: event",
"title": "timestamp"
},
{
"name": "acceleration-raw-x",
"type": "number",
"format": "default",
"title": "acceleration raw x",
"description": "Raw acceleration values provided by the tag for the X axis. Range and units may vary by provider, tag, and orientation of the sensor on the animal. Example: '0.556641'; Units: not defined; Entity described: event"
},
{
"name": "acceleration-raw-y",
"type": "number",
"format": "default",
"description": "Raw acceleration values provided by the tag for the Y axis. Range and units may vary by provider, tag, and orientation of the sensor on the animal. Example: '0.09375'; Units: not defined; Entity described: event",
"title": "acceleration raw y"
},
{
"name": "acceleration-raw-z",
"type": "number",
"format": "default",
"title": "acceleration raw z",
"description": "Raw acceleration values provided by the tag for the Z axis. Range and units may vary by provider, tag, and orientation of the sensor on the animal. Example: '-0.84375'; Units: not defined; Entity described: event"
},
{
"name": "start-timestamp",
"type": "datetime",
"format": "default",
"description": "The date and time when the sampling interval or burst began. Example: '2011-01-03 13:45:00.000'; Format: yyyy-MM-dd HH:mm:ss.SSS; Units: UTC or GPS time; Entity described: event",
"title": "start timestamp"
},
{
"name": "tilt-x",
"type": "number",
"format": "default",
"title": "tilt x",
"description": "Tilt provided by the accelerometer for the X axis. Example: '0'; Units: g forces (1 g = 9.8 m s^-2); Entity described: event"
},
{
"name": "tilt-y",
"type": "number",
"format": "default",
"description": "Tilt provided by the accelerometer for the Y axis. Example: '0'; Units: g forces (1 g = 9.8 m s^-2); Entity described: event",
"title": "tilt y"
},
{
"name": "tilt-z",
"type": "number",
"format": "default",
"description": "Tilt provided by the accelerometer for the Z axis. Example: '1'; Units: g forces (1 g = 9.8 m s^-2); Entity described: event",
"title": "tilt z"
},
{
"name": "sensor-type",
"type": "string",
"format": "default",
"description": "The type of sensor with which data were collected. All sensors are associated with a tag id, and tags can contain multiple sensor types. Each event record in Movebank is assigned one sensor type. If values from multiple sensors are reported in a single event, the primary sensor is used. Values are chosen from a controlled list: acceleration = The sensor collects acceleration data; accessory measurements = The sensor collects accessory measurements, such as battery voltage; Argos Doppler shift = The sensor uses Argos Doppler shift to determine position; barometer = The sensor records air or water pressure; bird ring = The animal is identified by a band or ring that has a unique identifier; GPS = The sensor uses GPS to determine location; magnetometer = The sensor records the magnetic field; natural mark = The animal is identified by a unique natural marking; orientation = Quaternion components describing the orientation of the tag are derived from accelerometer and gyroscope measurements; radio transmitter = The sensor is a classical radio transmitter; solar geolocator = The sensor collects light levels, which are used to determine position (for processed locations); solar geolocator raw = The sensor collects light levels, which are used to determine position (for raw light-level measurements); solar geolocator twilight = The sensor collects light levels, which are used to determine position (for twilights calculated from light-level measurements). Format: controlled list; Units: none; Entity described: event",
"title": "sensor type"
},
{
"name": "individual-taxon-canonical-name",
"type": "string",
"format": "default",
"title": "animal taxon",
"description": "The scientific name of the species on which the tag was deployed, as defined by the Integrated Taxonomic Information System (ITIS, www.itis.gov). If the species name can not be provided, this should be the lowest level taxonomic rank that can be determined and that is used in the ITIS taxonomy. Additional information can be provided using the term 'taxon detail'. Example: 'Buteo swainsoni'; Format: controlled list; Units: none; Entity described: individual"
},
{
"name": "tag-local-identifier",
"type": "string",
"format": "default",
"description": "A unique identifier for the tag, provided by the data owner. If the data owner does not provide a tag ID, an internal Movebank tag identifier may sometimes be shown. Example: '2342'; Units: none; Entity described: tag",
"title": "tag ID"
},
{
"name": "individual-local-identifier",
"type": "string",
"format": "default",
"title": "animal ID",
"description": "An individual identifier for the animal, provided by the data owner. If the data owner does not provide an Animal ID, an internal Movebank animal identifier is sometimes shown. Example: '91876A, Gary'; Units: none; Entity described: individual"
},
{
"name": "study-name",
"type": "string",
"format": "default",
"description": "The name of the study in Movebank. Example: 'Coyotes, Kays and Bogan, Albany NY'; Units: none; Entity described: study (event)",
"title": "study name"
}
],
"primaryKey": "event-id",
"foreignKeys": [
{
"fields": [
"tag-local-identifier",
"individual-local-identifier"
],
"reference": {
"resource": "reference-data",
"fields": [
"tag-id",
"animal-id"
]
}
}
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment