readISO19139: readISO19139

View source: R/readISO19139.R

readISO19139R Documentation

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)

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.

Value

a geometa object inheriting ISOAbstractObject

Author(s)

Emmanuel Blondel, emmanuel.blondel1@gmail.com

Examples


  mdfile <- system.file("extdata/examples", "metadata.xml", package = "geometa")
  md <- readISO19139(mdfile)



eblondel/geometa documentation built on Oct. 10, 2024, 4:46 p.m.