as_datacite | R Documentation |
Add metadata conforming the DataCite Metadata Schema.
as_datacite(x, type = "bibentry", ...)
datacite(
Title,
Creator,
Identifier = NULL,
Publisher = NULL,
PublicationYear = NULL,
Subject = subject_create(term = "data sets", subjectScheme =
"Library of Congress Subject Headings (LCSH)", schemeURI =
"https://id.loc.gov/authorities/subjects.html", valueURI =
"http://id.loc.gov/authorities/subjects/sh2018002256"),
Type = "Dataset",
Contributor = NULL,
Date = ":tba",
DateList = NULL,
Language = NULL,
AlternateIdentifier = ":unas",
RelatedIdentifier = ":unas",
Format = ":tba",
Version = "0.1.0",
Rights = ":tba",
Description = ":tba",
Geolocation = ":unas",
FundingReference = ":unas"
)
is.datacite(x)
## S3 method for class 'datacite'
is.datacite(x)
x |
An object that is tested if it has a class "datacite". |
type |
A DataCite 4.4 metadata can be returned as a
|
... |
Optional parameters to add to a |
Title |
The name(s) or title(s) by which a resource is known. May be the
title of a dataset or the name of a piece of software. Similar to
dct:title. |
Creator |
The main researchers involved in producing the data, or the authors of the publication, in priority order. To supply multiple creators, repeat this property. |
Identifier |
The Identifier is a unique string that identifies a
resource. For software, determine whether the identifier is for a specific
version of a piece of software, (per the
Force11
Software Citation Principles, or for all versions. Similar to
|
Publisher |
The name of the entity that holds, archives, publishes
prints, distributes, releases, issues, or produces the resource. This
property will be used to formulate the citation, so consider the prominence
of the role. For software, use Publisher for the code repository. Mandatory
in DataCite, and similar to |
PublicationYear |
The year when the data was or will be made publicly
available in |
Subject |
Recommended for discovery. Subject, keyword, classification
code, or key phrase describing the resource. Similar to
dct:subject.
|
Type |
Defaults to |
Contributor |
Recommended for discovery. The institution or person responsible for collecting, managing, distributing, or otherwise contributing to the development of the resource. |
Date |
A character string in any of the following formats: |
DateList |
DataCite 4.4 allows to set multiple dates to a resource, they should be added as a list. Currently not yet implemented. See: datacite:Date. |
Language |
The primary language of the resource. Allowed values are
taken from IETF BCP 47, ISO 639-1 language code. See |
AlternateIdentifier |
An identifier or identifiers other than the
primary Identifier applied to the resource being registered. This may be
any alphanumeric string unique within its domain of issue. It may be used
for local identifiers. |
RelatedIdentifier |
Recommended for discovery. Defaults to
|
Format |
Technical format of the resource. Use file extension or MIME type where possible, e.g., PDF, XML, MPG or application/pdf, text/xml, video/mpeg. Similar to dct:format. |
Version |
Free text. Suggested practice: track
major_version.minor_version. Defaults to |
Rights |
Any rights information for this resource. The property may be
repeated to record complex rights characteristics, but this is not yet
supported. Free text. See |
Description |
Recommended for discovery. All additional information that
does not fit in any of the other categories. It may be used for technical
information—a free text. Defaults to |
Geolocation |
Recommended for discovery. Spatial region or named place
where the data was gathered or about which the data is focused. See
|
FundingReference |
Information about financial support (funding) for the
resource being registered. Defaults to |
DataCite is a leading global non-profit organisation that provides persistent identifiers (DOIs) for research data and other research outputs. Organisations within the research community join DataCite as members to be able to assign DOIs to all their research outputs. This way, their outputs become discoverable, and associated metadata is made available to the community.
The ResourceType
property will be by definition "Dataset".
The Size
attribute (e.g. bytes, pages, inches, etc.) will
automatically added to the dataset.
as_datacite(x, type)
returns the DataCite bibliographical
metadata of x either as a list, a bibentry object, an N-Triples text
serialisation or a dataset_df object.
datacite()
creates a utils::bibentry
object extended with standard Dublin Core bibliographical metadata,
as_datacite()
retrieves the contents of this bibentry object of a
dataset_df from its attributes, and returns the contents as list,
dataset_df, or bibentry object.
is.datacite(x)
returns a logical values (if the object
x
is of class datacite
).
DataCite 4.3 Mandatory Properties and DataCite 4.3 Optional Properties
Other bibentry functions:
as_dublincore()
,
get_bibentry()
datacite(
Title = "Growth of Orange Trees",
Creator = c(
person(
given = "N.R.",
family = "Draper",
role = "cre",
comment = c(VIAF = "http://viaf.org/viaf/84585260")
),
person(
given = "H",
family = "Smith",
role = "cre"
)
),
Publisher = "Wiley",
Date = 1998,
Language = "en"
)
# Bibliographic metadata as bibentry...
as_datacite(orange_df)
# ... or a list:
as_datacite(orange_df, "list")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.