media | R Documentation |
media()
gets the media from a Camera Trap Data Package object.
media<-()
is the assignment equivalent.
It should only be used within other functions, where the expected data structure can be guaranteed.
media(x)
media(x) <- value
x |
Camera Trap Data Package object, as returned by |
value |
A data frame to assign as media. |
A tibble::tibble()
data frame with media.
Other accessor functions:
deployments()
,
events()
,
individuals()
,
locations()
,
observations()
,
taxa()
x <- example_dataset()
# Get media
media(x)
# Set media (not recommended outside a function)
media(x) <- head(media(x), 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.