srppp_xml_get_uses {srppp}R Documentation

Get uses ('indications') for all products described in an XML version of the Swiss Register of Plant Protection Products

Description

Get uses ('indications') for all products described in an XML version of the Swiss Register of Plant Protection Products

Usage

srppp_xml_get_uses(srppp_xml = srppp_xml_get())

Arguments

srppp_xml

An object as returned by srppp_xml_get with use numbers defined by srppp_xml_define_use_numbers

Value

A tibble::tibble of use definitions

Examples


srppp_xml <- try(srppp_xml_get())
if (!inherits(srppp_xml, "try-error")) {
  srppp_xml <- srppp_xml_define_use_numbers(srppp_xml)
  srppp_xml_get_uses(srppp_xml)
}


[Package srppp version 1.1.0 Index]