Construct a URL to a specific version of the CF variables table XML
Source:R/get_cf_variables_table.R
build_cf_variables_table_url.RdThis uses sprintf to construct the URL with the version number as the first argument.
Usage
build_cf_variables_table_url(
version,
url_format_string = paste0("http://cfconventions.org/",
"Data/cf-standard-names/%d/src/", "src-cf-standard-name-table.xml")
)Arguments
- version
CF variables table version number (integer/numeric)
- url_format_string
A format string passed to sprintf. This should contain the entire target URL with the version number replaced by
"%d", and no other string substitutions.