Description Usage Arguments Value Examples
CSW_GetHits returns the number of records that satisfy a constraint. The default constraint language and its version are CQL_TEXT
and 1.1.0
but can be overwritten by arguments of this function.
1 2 3 | CSW_GetHits(constraint = "", constraintLanguage = "CQL_TEXT",
constraint_language_version = "1.1.0", version = CSW_get_version(),
baseurl = CSW_get_url(), verbose = c("N", "F", "Y"))
|
constraint |
Character vector with a constraint written with “ and |
constraintLanguage |
Character vector indicating in which language the constraint is written. Default |
constraint_language_version |
Character vector indicating the version of the constraint language. Default |
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 integer with the number of records that satisfy the constraint or an xml_document with the exception in case of an error
1 2 3 4 5 6 7 | ## Not run:
# total number of records in collection :
exp1 = CSW_GetHits()
# total number of records related to 'duin*' (dune*)
exp2 = CSW_GetHits(constraint="AnyText LIKE 'duin%'" )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.