germaparl_get_doi: Get DOI of corpus

Description Usage Arguments Value See Also

View source: R/GermaParl.R

Description

Auxiliary function that extracts the DOI (Document Object Identifier) from the registry file of the GERMAPARL corpus.

Usage

1
germaparl_get_doi(registry_dir = Sys.getenv("CORPUS_REGISTRY"), sample = FALSE)

Arguments

registry_dir

Path to the registry directory.

sample

A logical value, if FALSE (default), use GERMAPARL, if TRUE, use GERMAPARLSAMPLE.

Value

If the DOI is declared in the registry file, a length-one character vector with it is returned. If the corpus has not yet been installed, NULL is returned and a warning will be issued.

See Also

See the examples section of the overview documentation of the GermaParl package for an example.


GermaParl documentation built on Oct. 23, 2020, 8:27 p.m.