Description Usage Arguments Details Value See Also Examples
A metadata object with DataCite mandatory, recommended and optional fields.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | datacite(
dataset_code,
Identifier = NA_character_,
Creator,
Title,
Publisher = NA_character_,
PublicationYear = NA_real_,
ResourceType = "Dataset",
Subject,
Contributor = NA_character_,
Date = as.character(Sys.Date()),
Language = "eng",
AlternateIdentifier = NA_character_,
RelatedIdentifier = NA_character_,
Size = NA_character_,
Format = NA_character_,
Version = NA_character_,
Rights = add_rights(),
Description = NA_character_,
GeoLocation = NA_character_,
FundingReference = NA_character_,
RelatedItem = NA_character_
)
datacite_dataset(
dataset,
dataset_code = NULL,
description = NULL,
keywords = NULL,
Title = NULL,
Subject = NULL,
Creator,
Contributor = NULL
)
is.datacite(x)
## S3 method for class 'datacite'
print(x, ...)
|
dataset_code |
A short, unique, programatically usable, memorizable dataset ID, given by an observatory curator. |
Identifier |
Identifiers created by |
Creator |
Creator field created by |
Title |
The title of the dataset. |
Publisher |
The publisher of the dataset. |
PublicationYear |
The publication year given as a four-digit number. |
ResourceType |
The type of the resource, defaults to |
Subject |
The subject |
Contributor |
The Contributor field created by |
Date |
The Date filed created by |
Language |
Defaults to |
AlternateIdentifier |
Defaults to NA_character_. It should have type subproperty. |
RelatedIdentifier |
Defaults to NA_character_. Related identifier should have type and relation type sub-properties. |
Size |
The size of the dataset, as measured in CSV format in bytes. |
Format |
The format(s) of the dataset. |
Version |
The version of the dataset. |
Rights |
The rights related to the datset, created by |
Description |
The description of the dataset. |
dataset |
A dataset object. Its Size, Geolocation and Date properties will be added to the metadata object. |
description |
A basic description for the Abstract property of the description. |
keywords |
In the |
Geolocation |
The geographical dimension of the observation in the dataset,
created by |
n |
The number of observations to print. |
Use datacite_dataset
to fill up a DataCite record with adding only
those parameters that have no default values. In this case, a given dataset
objects:
Title will be added as a string.
Date will be added with add_dates
Rigths will be set to the default value by add_rights
Size will be added by add_size
GeoLocation will be added by add_geolocation
Dublin Core: A Cross-Domain Attribute Set
Mandatory Properties: DataCite Metadata Schema v4.4 Mandatory Properties
Recommended and Optional Properties: DataCite Metadata Schema v4.4 Recommended and Optional Properties
A data frame of DataCite properties are variable columns.
datacite_properties
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | data("small_population")
small_population_dataset <- dataset (
x= small_population,
dataset_code = "small_population_total",
dataset_title = "Population of Small European Countries",
freq = "A",
unit = "NR",
unit_name = "number")
datacite_dataset (
dataset = small_population_dataset,
dataset_code = "small_population_total",
Title = "Population on 1 January by age and sex",
Subject = "Demography",
Creator = add_creators("Jane", "Doe", "Reprex")
)
data("small_population")
small_population_dataset <- dataset (
x = small_population,
dataset_code = "small_population_total",
dataset_title = "Population of Small European Countries",
freq = "A",
unit = "NR",
unit_name = "number")
#The final DataCite properties are Capitalized:
small_population_datacite <- datacite_dataset(
dataset = small_population_dataset,
keywords = c("greendeal", "Demography", "Testing"),
description = "Example dataset with three small countries",
Subject = "Demography",
Creator = "Joe, Doe"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.