# Get the bibentry of a dataset_df object:
be <- get_bibentry(orange_df)
# Create a well-formed bibentry (DataCite-style):
be2 <- datacite(
Creator = person("Jane", "Doe"),
Title = "The Orange Trees Dataset",
Publisher = "MyOrg"
)
# Assign the new bibentry:
set_bibentry(orange_df) <- be2
# Inspect in different notations:
as_datacite(orange_df, type = "list")
as_dublincore(orange_df, type = "list")
Run the code above in your browser using DataLab