Learn R Programming

geometa (version 0.7)

readISO19139: readISO19139

Description

readISO19139 is a function to read a ISO 19139 from a file or url into an object in the geometa model.

Usage

readISO19139(file, url, raw)

Value

a geometa object inheriting ISOAbstractObject

Arguments

file

a valid file path, as object of class character

url

a valid URL, as object of class character

raw

indicates if the function should return the raw XML. By default this is set to FALSE and the function will try to map the xml data to the geometa data model.

Author

Emmanuel Blondel, emmanuel.blondel1@gmail.com

Examples

Run this code
# \donttest{
  mdfile <- system.file("extdata/examples", "metadata.xml", package = "geometa")
  md <- readISO19139(mdfile)
# }

Run the code above in your browser using DataLab