ct_dp_version: Get Camtrap DP version Extracts the version number used by a...

View source: R/camtrapdp.R

ct_dp_versionR Documentation

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.

Description

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.

Usage

ct_dp_version(package)

Arguments

package

Camera trap data package object, as returned by ct_read_dp().

Details

The version number is derived as follows:

  1. The version attribute, if defined.

  2. A version number contained in x$profile, which is expected to contain the URL to the used Camtrap DP standard.

  3. x$profile in its entirety (can be NULL).

Value

A Camera Trap Data Package object.

Examples


dp <- ct_dp_example()
ct_dp_version(dp)



ct documentation built on Oct. 22, 2026, 1:07 a.m.