Function to create new samples objects for analysis. The new object will not be uploaded to the database.
set_sample(
x = NA,
ages = list(),
igsn = NA_character_,
datum = data.frame(),
depth = NA_integer_,
sampleid = NA_integer_,
thickness = NA_integer_,
samplename = NA_character_,
sampleanalyst = list(),
analysisunitid = NA_integer_,
analysisunitname = NA_character_
)Object to be set as a sample
ages
IGSN character
dataframe of datum
integer representing depth
ID for sample
thickness of core
sample's name
Analyst's contact name
Which analysis unit it is
Analysis Unit's name
sample object
{
# Set an empty sample
my_sample <- set_sample()
}