
Get or Set the Publication Year of a Dataset Object
Source:R/publication_year.R
publication_year.RdAccess or assign the optional publication_year attribute to a semantically
rich dataset object.
Arguments
- x
A dataset object created by
dataset_df()ordataset::as_dataset_df().- overwrite
Logical. If
TRUE(default), the existingpublication_yearattribute is replaced withvalue. IfFALSE, the function returns a message and does not overwrite the existing value.- value
A character string specifying the publication year.
Details
The publication_year represents the year when the dataset was or will be
made publicly available, in YYYY format. For additional context, see
DataCite: Publication Year-Additional Guidance.
See also
Other bibliographic helper functions:
contributor(),
creator(),
dataset_format(),
dataset_title(),
description(),
geolocation(),
get_bibentry(),
language,
publisher(),
relation(),
rights(),
subject()