guess_schema_location: Guess an appropriate 'schemaLocation' value for a given...

Description Usage Arguments Value Examples

View source: R/eml_version.R

Description

This is a simple helper to make filling in the schemaLocation attribute on documents this package creates. Supports EML 2.1.1 and newer.

Usage

1

Arguments

version

Optional. Override the version of the schema. Defaults to the current version returned by eml_version. See eml_version for information on how to change the current version.

Value

Returns a string suitable as a value for schemaLocation or NULL if a value wasn't found.

Examples

1
2
3
4
5
6
7
8
## Not run: 
# Get an appropriate schemaLocation value for the current version fo EML
guess_schema_location()

# Get an appropriate value for EML 2.1.1
guess_schema_location("eml-2.1.1")

## End(Not run)

emld documentation built on Oct. 23, 2020, 7:45 p.m.