Return the DOI of the SCAR Diet and Energetics Database being used

so_doi(cache_directory, ...)

Arguments

cache_directory

string: (optional) the local cache directory containing the data. If no valid DOI is found in that directory, the return value will be NA_character_. If cache_directory is not supplied, the DOI of the data last accessed in this session will be returned (and if no data has yet been accessed, the most recent known DOI will be returned)

...

: additional parameters passed to so_diet etc

Value

string

See also

Examples

if (FALSE) { xd <- so_diet(cache_directory = "session") ## the DOI of the data just read so_doi() ## the DOI of the data in a particular cache directory so_doi(cache_directory = "c:/my/cache/dir") }