deployments {camtrapdp} | R Documentation |
Get or set deployments
Description
deployments()
gets the deployments from a Camera Trap Data Package object.
deployments<-()
is the assignment equivalent.
It should only be used within other functions, where the expected data
structure can be guaranteed.
Usage
deployments(x)
deployments(x) <- value
Arguments
x |
Camera Trap Data Package object, as returned by |
value |
A data frame to assign as deployments. |
Value
tibble::tibble()
data frame with deployments.
See Also
Other accessor functions:
events()
,
locations()
,
media()
,
observations()
,
taxa()
Examples
x <- example_dataset()
# Get deployments
deployments(x)
# Set deployments (not recommended outside a function)
deployments(x) <- head(deployments(x), 1)
[Package camtrapdp version 0.3.1 Index]