| INSPIREMetadataValidator | R Documentation | 
INSPIREMetadataValidator
INSPIREMetadataValidator
R6Class object.
Object of R6Class for setting an INSPIREMetadataValidator
geometa::geometaLogger -> INSPIREMetadataValidator
urlurl of the INSPIRE metadata validator
runningwether the service is up and running
statusstatus
new()Method used to instantiate an INSPIRE Metadata validator. To check 
metadata with the INSPIRE metadata validator, a user API key is now required, 
and should be specified with the apiKey. By default, the url will be
the INSPIRE production service https://inspire.ec.europa.eu/validator/swagger-ui.html.
The keyring_backend can be set to use a different backend for storing 
the INSPIRE metadata validator API key with keyring (Default value is 'env').
INSPIREMetadataValidator$new( url = "https://inspire.ec.europa.eu/validator-api", apiKey, keyring_backend = "env" )
urlurl
apiKeyAPI key
keyring_backendbackend name to use with keyring to store API key
uploadFile()Uploads a file. Upload a XML metadata file to INSPIRE web-service. Method called internally through
getValidationReport.
INSPIREMetadataValidator$uploadFile(path)
pathpath
the response from the web-service
getAPIKey()Retrieves the API key
INSPIREMetadataValidator$getAPIKey()
the API key as character
getValidationReport()Get validation report for a metadata specified either as R object of class
ISOMetadata (from geometa package) or XMLInternalNode-class 
(from XML package), or as XML file, providing the path of the XML file
to be sent to the INSPIRE metadata validator web-service. By default, a summary
report is returned. To append the raw response of INSPIRE validation web-service
to the summary report, set raw = TRUE.
INSPIREMetadataValidator$getValidationReport( obj = NULL, file = NULL, raw = FALSE )
objobj
filefile
rawraw
an object of class list
clone()The objects of this class are cloneable with this method.
INSPIREMetadataValidator$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
INSPIRE Reference Validator Web Service (https://inspire.ec.europa.eu/validator/swagger-ui.html)
 
  apiKey <- ""
  if(nzchar(apiKey)){
    inspireValidator <- INSPIREMetadataValidator$new(apiKey = apiKey)
    inspireReport <- inspireValidator$getValidationReport(obj = ISOMetadata$new())
  }
 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.