Learn R Programming

srppp (version 2.0.0)

srppp_xml_get: Read an XML version of the Swiss Register of Plant Protection Products

Description

Read an XML version of the Swiss Register of Plant Protection Products

Usage

srppp_xml_get(from, ...)

# S3 method for `NULL` srppp_xml_get(from, ...)

# S3 method for character srppp_xml_get(from, ...)

srppp_xml_get_from_path(path, from)

Value

An object inheriting from 'srppp_xml', 'xml_document', 'xml_node'

Arguments

from

A specification of the way to retrieve the XML

...

Unused argument introduced to facilitate future extensions

path

A path to a zipped SRPPP XML file

Examples

Run this code
# Try to get the current SRPPP as available from the FOAG website
# \donttest{
srppp_xml_cur <- try(srppp_xml_get())
# }

Run the code above in your browser using DataLab