
Get Camtrap DP version Extracts the version number used by a Camera Trap Data Package object. This version number indicates what version of the Camtrap DP standard was used.
Source:R/camtrapdp.R
ct_dp_version.Rd
Get Camtrap DP version Extracts the version number used by a Camera Trap Data Package object. This version number indicates what version of the Camtrap DP standard was used.
Details
The version number is derived as follows:
The
version
attribute, if defined.A version number contained in
x$profile
, which is expected to contain the URL to the used Camtrap DP standard.x$profile
in its entirety (can beNULL
).
Examples
dp <- ct_dp_example()
ct_dp_version(dp)
#> [1] "1.0.1"