add_titles: Add Titles

Description Usage Arguments Details Value See Also Examples

Description

Add a main title, and optional subtitle, alternative- or translated title, or other title.

Usage

1
2
3
4
5
6
7
8
9
add_titles(
  Title = NULL,
  AlternativeTitle = NULL,
  Subtitle = NULL,
  TranslatedTitle = NULL,
  Other = NULL,
  titles = NULL,
  format = "json"
)

Arguments

AlternativeTitle

Defaults to NULL, and it is part of the optional fields of DataCite.

Subtitle

Defaults to NULL.

TranslatedTitle

Defaults to NULL.

Other

Defaults to NULL. Try avoiding its use.

titles

A list of earlier set title(s).

format

Defaults to 'json', in which case a JSON-formatted single character string is returned. The alternative is 'list'.

title

A character string containing the title of the Dataset. It is mandatory and has no default value. This is part of the Dublin Core and DataCite mandatory fields.

Details

Dublin Core: A Cross-Domain Attribute Set

DataCite Metadata Schema Mandatory Properties: DataCite Metadata Schema v4.4 Mandatory Properties

The Title field is mandatory in both DataCite and Dublin Core. DataCite allows multiple titles to be used, these can be added as a list.

Value

A list of titles.

See Also

Other descriptive_metadata functions: add_geolocation(), add_size()

Examples

1
2
3
4
5
6
7
{
add_titles(title = "My Title",
           AlternativeTitle = "Alternative Title",
           Subtitle = "This is a subtitle",
           TranslatedTitle = "Meine Titel",
           Other = "Other title")
}

dataobservatory-eu/dataobservatory documentation built on Jan. 7, 2022, 8:55 p.m.