Description Usage Arguments Value See Also Examples
With the GetDomain
operation the CSW server can return information about ParameterName
s or PropertyName
s (fields).
We can inquire after the parameters of an operation by specifying the ParameterName
argument. This argument consists of one or more operation.parameter
pairs as in example exp1
. The output is a list (or alternatively an xml_document) with the values that can be used for the parameters. In each pair the part before the point should be an operation; the part after the point a parameter. CSW_GetDomainParameterNames
gives the same information for all possible combinations (at the cost of some extra run-time).
We can also use the CSW_GetDomain
function to inquire which values a certain field can take in a catalog. We do this by specifying the fieldname in the PropertyName
argument. This argument consists of one or more fieldnames as e.g. in example exp2
. The output is (just as in the ParameterName
case) a list (or alternatively an xml_document) with the values that can be taken by the field. CSW_GetQueryables
will show which fieldnames (PropertyNames
) are recognized.
1 2 3 | CSW_GetDomain(ParameterName = "", PropertyName = "",
output = c("list", "xml"), version = CSW_get_version(),
baseurl = CSW_get_url(), verbose = c("N", "F", "Y"))
|
ParameterName |
Character vector with one or more CSW parameters. See |
PropertyName |
Character vector with one or more CSW parameters. See |
output |
Character vector with one of |
version |
Character vector with CSW version. Default is |
baseurl |
Character vector with base url of the CSW server. Default is http://nationaalgeoregister.nl/geonetwork/srv/dut/csw? but this can be changed for the remainder of the session with |
verbose |
Character |
An xml_document or list with the values permitted (for ParameterName
) or to be used (for PropertyName
)
CSW_GetDomainParameterNames
, CSW_GetQueryables
1 2 3 4 5 6 7 8 9 | ## Not run:
exp1 = CSW_GetDomain(
ParameterName = "GetRecords.outputFormat,GetRecords.ElementSetName",
verbose = "Y")
exp2 = CSW_GetDomain(
PropertyName = "Language,GeographicDescriptionCode",
verbose = "Y")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.