Skip to contents

Get ingredients for all registered products described in an XML version of the Swiss Register of Plant Protection Products

Usage

srppp_xml_get_ingredients(srppp_xml = srppp_xml_get())

Arguments

srppp_xml

An object as returned by 'srppp_xml_get'

Value

A tibble::tibble containing a line for each ingredient of each W-Number

Examples

# \donttest{
library(srppp)
srppp_xml_get_ingredients()
#> # A tibble: 1,889 × 9
#>    wNbr     pk type    percent g_per_L ingredient_de ingredient_fr ingredient_it
#>    <chr> <int> <chr>     <dbl>   <dbl> <chr>         <chr>         <chr>        
#>  1 1454   1027 ACTIVE…    99.1     830 NA            NA            NA           
#>  2 1526   1027 ACTIVE…    99.1     830 NA            NA            NA           
#>  3 1529   1027 ACTIVE…    99.1     830 NA            NA            NA           
#>  4 1698     35 ACTIVE…    33.2     400 NA            NA            NA           
#>  5 18      338 ACTIVE…    80        NA NA            NA            NA           
#>  6 1840   1027 ACTIVE…    99.1     830 NA            NA            NA           
#>  7 1896   1027 ACTIVE…    99.1     830 NA            NA            NA           
#>  8 1899    301 ACTIVE…    50        NA NA            NA            NA           
#>  9 193     898 ACTIVE…    50        NA als 89.3% Ku… sous forme d… sotto forma …
#> 10 2008   1027 ACTIVE…    99.1     830 NA            NA            NA           
#> # ℹ 1,879 more rows
#> # ℹ 1 more variable: ingredient_en <chr>
# }