powered by
deployments() gets the deployments from a Camera Trap Data Package object.
deployments()
deployments()<- is the assignment equivalent.
deployments()<-
It should only be used within other functions, where the expected data structure can be guaranteed.
Metadata (x$spatial and x$temporal) are updated to match the assigned deployments.
x$spatial
x$temporal
deployments(x)deployments(x) <- value
deployments(x) <- value
A tibble::tibble() data frame with deployments.
tibble::tibble()
Camera Trap Data Package object, as returned by read_camtrapdp().
read_camtrapdp()
A data frame to assign as deployments.
Other accessor functions: contributors(), events(), individuals(), locations(), media(), observations(), taxa()
contributors()
events()
individuals()
locations()
media()
observations()
taxa()
x <- example_dataset() # Get deployments deployments(x) # Set deployments (not recommended outside a function) deployments(x) <- head(deployments(x), 1)
Run the code above in your browser using DataLab