readISO19139 function

readISO19139

readISO19139

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

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.

Returns

a geometa object inheriting ISOAbstractObject

Examples

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

Author(s)

Emmanuel Blondel, emmanuel.blondel1@gmail.com

  • Maintainer: Emmanuel Blondel
  • License: MIT + file LICENSE
  • Last published: 2025-01-29