Function to create new collection unit objects for personal analysis. The new object will not be uploaded to the database.
set_collunit(
x = NA,
collectionunitid = NA_integer_,
notes = NA_character_,
handle = NA_character_,
colldate = as.Date(character(1)),
location = NA_character_,
waterdepth = NA_integer_,
gpslocation = st_as_sf(st_sfc()),
collunittype = NA_character_,
collectiondevice = NA_character_,
collectionunitname = NA_character_,
depositionalenvironment = NA_character_,
datasets = NULL,
chronologies = NULL,
defaultchronology = NA_integer_,
speleothems = NULL
)object to be set as collunit
collection unit identifier
notes
handle
collection date
location of the collection unit
depth at where the sample is taken
location with GPS
type of collection unit
device used to collect the sample
name of the collection unit
depositional environment
datasets that the collection unit has
chronologies taken from the collection unit
best chronology model identifier to be used with this collection unit
speleothems associated with the collection unit
collunit object
{
# Create a collunit
my_collunit <- set_collunit(notes = "my lake")
}