powered by
contributors() gets contributors from the x$contributors property in a Camera Trap Data Package object and returns it as a tibble data frame.
contributors()
x$contributors
contributors()<- is the assignment equivalent.
contributors()<-
contributors(x)contributors(x) <- value
contributors(x) <- value
A tibble::tibble() data frame with the contributors, containing the following columns (columns absent in x$contributors will be created):
tibble::tibble()
title
firstName: if absent, this will be set to the first word in title, except if it is a single word or the role is rightsHolder or publisher.
firstName
role
rightsHolder
publisher
lastName: if absent, this will be set to the remaining words in title, with the same exceptions as firstName.
lastName
email
path
organization
Camera Trap Data Package object, as returned by read_camtrapdp().
read_camtrapdp()
A data frame to assign as contributors.
Other accessor functions: deployments(), events(), individuals(), locations(), media(), observations(), taxa()
deployments()
events()
individuals()
locations()
media()
observations()
taxa()
x <- example_dataset() # Get contributors contributors(x) # Set contributors contributors(x) <- head(contributors(x), 1)
Run the code above in your browser using DataLab