Skip to contents

Add the optional Publisher property as an attribute to an R object.

Usage

publisher(x)

publisher(x, overwrite = TRUE) <- value

Arguments

x

A dataset object created with dataset::dataset.

overwrite

If the attributes should be overwritten. In case it is set to FALSE,it gives a warning with the current publisher property instead of overwriting it. Defaults to FALSE.

value

The Publisher as a character set.

Value

The Publisher attribute as a character of length 1 is added to x.

Details

The Publisher corresponds to dct:publisher and Publisher in DataCite. 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. If there is an entity other than a code repository, that "holds, archives, publishes, prints, distributes, releases, issues, or produces" the code, use the property Contributor/contributorType/ hostingInstitution for the code repository.

See also

Other Reference metadata functions: creator(), datasource_get(), description(), geolocation(), identifier(), language, publication_year(), rights(), size(), version()

Examples

publisher(iris_dataset) <- "American Iris Society"
publisher(iris_dataset)
#> [1] "American Iris Society"