language | R Documentation |
Add the optional Language property as an attribute to an R object.
language(x)
language(x, iso_639_code = "639-3") <- value
x |
A semantically rich data frame object created by |
iso_639_code |
Defaults to |
value |
The language to be added to the object attributes, added by name, or
as a 2- or 3-character code for the language. You can add a language code or language name,
and the parameter is normalized to |
Language is an optional property in DataCite 4.4; see:
datacite:Language
It is a part of the "core" of the
Dublin Core metadata terms.
The language parameter is validated against the [ISOcodes]{ISO_639_2}
table.
The attribute language
is added to the object. It will be exported into DataCite
applications in a capitalized Lanugage
format.
The Language is added to the x
as
ISO 639-1
, the Datacite recommendation, or ISO 639-3
used by the
Zenodo data repository.
Other Reference metadata functions:
description()
,
geolocation()
,
identifier()
,
publication_year()
,
publisher()
,
rights()
myiris <- iris_dataset
language(myiris) <- "English"
language(myiris)
language(myiris) <- "fr"
language(myiris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.