View source: R/dataset_title.R
| dataset_title | R Documentation |
Retrieve or assign the main title of a dataset, typically used as the primary label in metadata exports (e.g., DataCite or Dublin Core).
dataset_title(x)
dataset_title(x, overwrite = FALSE) <- value
x |
A dataset object created by |
overwrite |
Logical. If |
value |
A character string representing the new title. If |
According to the Dublin Core specification for title,
the title represents the name by which the resource is formally known.
The DataCite metadata schema supports multiple titles (e.g., translated, alternative), but this function currently supports only a single main title.
dataset_title() returns the current dataset title as a character
string. dataset_title<-() returns the updated dataset object (invisible).
Other bibliographic helper functions:
contributor(),
creator(),
dataset_format(),
description(),
geolocation(),
get_bibentry(),
language,
publication_year(),
publisher(),
relation(),
rights(),
subject()
dataset_title(orange_df)
# Set a new title with overwrite = TRUE
dataset_title(orange_df, overwrite = TRUE) <- "The Growth of Orange Trees"
dataset_title(orange_df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.