{
  "_id": "6a1ed5e2b401979e7340e74d",
  "Package": "srppphist",
  "Type": "Package",
  "Title": "Historical Data from the Swiss Register of Plant Protection\nProducts as an R Package",
  "Version": "2.0.3",
  "Date": "2026-05-20",
  "Authors@R": "c(\nperson(\"Johannes\", \"Ranke\", role = c(\"aut\", \"cre\"),\nemail = \"johannes.ranke@agroscope.admin.ch\",\ncomment = c(ORCID = \"0000-0003-4371-6538\")),\nperson(\"Daniel\", \"Baumgartner\", role = \"ctb\"),\nperson(\"Romualdus\", \"Kasteel\", role = c(\"rev\"),\nemail = \"romualdus.kasteel@agroscope.admin.ch\"),\nperson(\"Marcel\", \"Mathis\", role = c(\"ctb\", \"rev\"),\nemail = \"marcel.mathis@agroscope.admin.ch\"),\nperson(\"Agroscope\", role = \"cph\"))",
  "Description": "Data objects extracted from historical XML versions of the\nSwiss Register of Plant Protection Products 'SRPPP'. Starting\nfrom 2011, one such data object is contained for each year.\nNote that the information contained in this project is\noutdated. An online version of the current register can be\naccessed via <https://www.psm.admin.ch/de/produkte>. An XML\ndump of the current register can be read in using the 'srppp'\npackage. There is no guarantee of correspondence of the data\ncontained in or read in using this package with any online\nversion, or with the original registration documents. Also, the\nFederal Food Safety and Veterinary Office, coordinating the\nauthorisation of plant protection products in Switzerland, does\nnot answer requests regarding this package.",
  "BugReports": "https://github.com/agroscope-ch/srppphist/issues",
  "URL": "https://agroscope-ch.github.io/srppphist",
  "License": "GPL (>= 3)",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libicu-dev libxml2-dev",
  "Repository": "https://agroscope-ch.r-universe.dev",
  "Date/Publication": "2026-05-20 07:09:24 UTC",
  "RemoteUrl": "https://github.com/agroscope-ch/srppphist",
  "RemoteRef": "HEAD",
  "RemoteSha": "740415e22d8d06aa516cc37012b7c8b2b459c162",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-20 10:30:20 UTC",
    "User": "root"
  },
  "Author": "Johannes Ranke [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-4371-6538>),\nDaniel Baumgartner [ctb],\nRomualdus Kasteel [rev],\nMarcel Mathis [ctb, rev],\nAgroscope [cph]",
  "Maintainer": "Johannes Ranke <johannes.ranke@agroscope.admin.ch>",
  "MD5sum": "d773cd20a782031290b232ddfb4c74cf",
  "_user": "agroscope-ch",
  "_type": "src",
  "_file": "srppphist_2.0.3.tar.gz",
  "_fileid": "bf4651297bd7330f6449c1026f1aa67f16335ad9a4cb66988051308c02c71ef8",
  "_filesize": 8011132,
  "_sha256": "bf4651297bd7330f6449c1026f1aa67f16335ad9a4cb66988051308c02c71ef8",
  "_created": "2026-05-20T10:30:20.000Z",
  "_published": "2026-06-02T13:08:50.107Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79077327858,
      "time": 339,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7107715234"
    },
    {
      "job": 79077328403,
      "time": 326,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7107711411"
    },
    {
      "job": 79077328303,
      "time": 259,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7107811657"
    },
    {
      "job": 79077328593,
      "time": 288,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7107699439"
    },
    {
      "job": 79077327282,
      "time": 489,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7107599129"
    },
    {
      "job": 79077327241,
      "time": 242,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7358539909"
    },
    {
      "job": 79077328137,
      "time": 331,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7107712978"
    },
    {
      "job": 79077328618,
      "time": 307,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7107704815"
    },
    {
      "job": 79077328514,
      "time": 327,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7107711085"
    }
  ],
  "_buildurl": "https://github.com/r-universe/agroscope-ch/actions/runs/26156531085",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/agroscope-ch/srppphist",
  "_commit": {
    "id": "740415e22d8d06aa516cc37012b7c8b2b459c162",
    "author": "Ranke Johannes <johannes.ranke@agroscope.admin.ch>",
    "committer": "Ranke Johannes <johannes.ranke@agroscope.admin.ch>",
    "message": "Update R CMD check workflow\n",
    "time": 1779260964
  },
  "_maintainer": {
    "name": "Johannes Ranke",
    "email": "johannes.ranke@agroscope.admin.ch",
    "login": "jranke",
    "description": "2023-present: Agroscope Switzerland; 2014-2022: https://jrwb.de; 2008-2014: Consultant at Harlan, then Eurofins; 1998-2008: University of Bremen",
    "uuid": 3621037,
    "orcid": "0000-0003-4371-6538"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "srppp",
      "version": ">= 2.0.5",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "data.tree",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "here",
      "role": "Suggests"
    },
    {
      "package": "DiagrammeR",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "flextable",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    }
  ],
  "_owner": "agroscope-ch",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-22",
      "n": 1
    },
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 5
    },
    {
      "week": "2025-45",
      "n": 2
    },
    {
      "week": "2026-08",
      "n": 2
    },
    {
      "week": "2026-10",
      "n": 6
    },
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v2.0.0",
      "date": "2026-03-03"
    },
    {
      "name": "v2.0.1",
      "date": "2026-03-04"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jranke",
      "count": 77,
      "uuid": 3621037
    },
    {
      "user": "marcelmagro",
      "count": 2,
      "uuid": 64564460
    }
  ],
  "_userbio": {
    "uuid": 95276560,
    "type": "organization",
    "name": "Agroscope",
    "description": "Agroscope is the Swiss centre of excellence for agricultural research"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/srppphist"
  },
  "_devurl": "https://github.com/agroscope-ch/srppphist",
  "_pkgdown": "https://agroscope-ch.github.io/srppphist",
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/srppphist.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "composition",
    "last_approved",
    "pNbr",
    "product_categories",
    "srppp_xml_get",
    "srppp_xml_product_use_not_authorized"
  ],
  "_datasets": [
    {
      "name": "srppp_active_substances",
      "title": "Table of active substance keys extracted from all years starting 2011",
      "object": "srppp_active_substances",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "pk",
        "earliest",
        "latest",
        "iupac",
        "substance_de",
        "substance_fr",
        "substance_it",
        "substance_en"
      ],
      "rows": 927,
      "table": true,
      "tojson": true
    },
    {
      "name": "srppp_active_substances_merged",
      "title": "Table of active substance names extracted from all years starting 2011",
      "object": "srppp_active_substances_merged",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "pk_v1",
        "pk_v2",
        "earliest",
        "latest",
        "iupac",
        "substance_de",
        "substance_fr",
        "substance_it",
        "substance_en"
      ],
      "rows": 648,
      "table": true,
      "tojson": true
    },
    {
      "name": "srppp_compositions",
      "title": "Table of the latest product compositions",
      "object": "srppp_compositions",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "pNbr",
        "latest",
        "pk",
        "type",
        "percent",
        "g_per_L",
        "ingredient_de",
        "ingredient_fr",
        "ingredient_it"
      ],
      "rows": 5036,
      "table": true,
      "tojson": true
    },
    {
      "name": "srppp_ingredients",
      "title": "Table of product ingredients extracted from all years starting 2011",
      "object": "srppp_ingredients",
      "class": [
        "grouped_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "pNbr",
        "latest",
        "pk",
        "type",
        "percent",
        "g_per_L",
        "ingredient_de",
        "ingredient_fr",
        "ingredient_it"
      ],
      "rows": 7047,
      "table": true,
      "tojson": true
    },
    {
      "name": "srppp_list",
      "title": "List of 'srppp_dm' objects for all years starting 2011",
      "object": "srppp_list",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "srppp_obligations_spe3",
      "title": "Table of all SPe 3 obligations and corresponding mitigation measures",
      "object": "srppp_obligations_spe3",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "obligation_de",
        "sw_drift_dist",
        "sw_runoff_dist",
        "sw_runoff_points",
        "biotope_drift_dist"
      ],
      "rows": 74,
      "table": true,
      "tojson": true
    },
    {
      "name": "srppp_pests",
      "title": "Table of pesticide targets (\"pests\") extracted from all years starting 2011",
      "object": "srppp_pests",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "pest_de",
        "pest_fr",
        "pest_it",
        "lt",
        "earliest",
        "latest"
      ],
      "rows": 726,
      "table": true,
      "tojson": true
    },
    {
      "name": "srppp_products",
      "title": "Table of products extracted from all years starting 2011",
      "object": "srppp_products",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "pNbr",
        "wNbr",
        "chNbr",
        "name",
        "earliest",
        "latest",
        "categories_de",
        "categories_fr",
        "categories_it"
      ],
      "rows": 7656,
      "table": true,
      "tojson": true
    },
    {
      "name": "srppp_substances",
      "title": "Table resolving substance primary keys extracted from all years starting 2011",
      "object": "srppp_substances",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "pk",
        "earliest",
        "latest",
        "iupac",
        "substance_de",
        "substance_fr",
        "substance_it",
        "substance_en"
      ],
      "rows": 1095,
      "table": true,
      "tojson": true
    },
    {
      "name": "srppp_substances_merged",
      "title": "Table of substance names extracted from all years starting 2011",
      "object": "srppp_substances_merged",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "pk_v1",
        "pk_v2",
        "earliest",
        "latest",
        "iupac",
        "substance_de",
        "substance_fr",
        "substance_it",
        "substance_en"
      ],
      "rows": 810,
      "table": true,
      "tojson": true
    },
    {
      "name": "srppp_xml_dates",
      "title": "Publication dates of the available zip files",
      "object": "srppp_xml",
      "class": [
        "Date"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "srppp_xml_zip_files",
      "title": "Relative paths of the available zip files",
      "object": "srppp_xml",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "composition",
      "title": "Retrieve one or more product compositions",
      "topics": [
        "composition"
      ]
    },
    {
      "page": "last_approved",
      "title": "Find the year of the last approved use of an active substance",
      "topics": [
        "last_approved"
      ]
    },
    {
      "page": "pNbr",
      "title": "Retrieve and select a P-Number for a product name",
      "topics": [
        "pNbr"
      ]
    },
    {
      "page": "product_categories",
      "title": "Get product categories for a pNbr",
      "topics": [
        "product_categories"
      ]
    },
    {
      "page": "srppp_active_substances",
      "title": "Table of active substance keys extracted from all years starting 2011",
      "topics": [
        "srppp_active_substances"
      ]
    },
    {
      "page": "srppp_active_substances_merged",
      "title": "Table of active substance names extracted from all years starting 2011",
      "topics": [
        "srppp_active_substances_merged"
      ]
    },
    {
      "page": "srppp_compositions",
      "title": "Table of the latest product compositions",
      "topics": [
        "srppp_compositions"
      ]
    },
    {
      "page": "srppp_ingredients",
      "title": "Table of product ingredients extracted from all years starting 2011",
      "topics": [
        "srppp_ingredients"
      ]
    },
    {
      "page": "srppp_list",
      "title": "List of 'srppp_dm' objects for all years starting 2011",
      "topics": [
        "srppp_list"
      ]
    },
    {
      "page": "srppp_obligations_spe3",
      "title": "Table of all SPe 3 obligations and corresponding mitigation measures",
      "topics": [
        "srppp_obligations_spe3"
      ]
    },
    {
      "page": "srppp_pests",
      "title": "Table of pesticide targets (\"pests\") extracted from all years starting 2011",
      "topics": [
        "srppp_pests"
      ]
    },
    {
      "page": "srppp_products",
      "title": "Table of products extracted from all years starting 2011",
      "topics": [
        "srppp_products"
      ]
    },
    {
      "page": "srppp_substances",
      "title": "Table resolving substance primary keys extracted from all years starting 2011",
      "topics": [
        "srppp_substances"
      ]
    },
    {
      "page": "srppp_substances_merged",
      "title": "Table of substance names extracted from all years starting 2011",
      "topics": [
        "srppp_substances_merged"
      ]
    },
    {
      "page": "srppp_xml_dates",
      "title": "Publication dates of the available zip files",
      "topics": [
        "srppp_xml_dates"
      ]
    },
    {
      "page": "srppp_xml_get",
      "title": "Additional methods to read an XML version of the Swiss Register of Plant Protection Products",
      "topics": [
        "srppp_xml_get.Date",
        "srppp_xml_get.numeric"
      ]
    },
    {
      "page": "srppp_xml_product_use_not_authorized",
      "title": "Check if a product name indicates that its use is not authorized at the time",
      "topics": [
        "srppp_xml_product_use_not_authorized"
      ]
    },
    {
      "page": "srppp_xml_zip_files",
      "title": "Relative paths of the available zip files",
      "topics": [
        "srppp_xml_zip_files"
      ]
    }
  ],
  "_readme": "https://github.com/agroscope-ch/srppphist/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "cachem",
    "cli",
    "cpp11",
    "data.tree",
    "dm",
    "dplyr",
    "fastmap",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "memoise",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "srppp",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "srppp_names_ais.Rmd",
      "filename": "srppp_names_ais.html",
      "title": "Products with the same name but different active ingredients in the Swiss Register of Plant Protection Products",
      "author": "Johannes Ranke",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-10-06 09:45:18",
      "modified": "2026-03-03 10:27:53",
      "commits": 6
    },
    {
      "source": "srppp_trends.Rmd",
      "filename": "srppp_trends.html",
      "title": "Trends of data contained in XML dumps of the Swiss Register of Plant Protection Products",
      "author": "Johannes Ranke",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Trends of numbers of active substances"
      ],
      "created": "2024-07-25 20:36:07",
      "modified": "2025-11-04 13:22:09",
      "commits": 5
    }
  ],
  "_score": 3.9542425094393248,
  "_indexed": true,
  "_nocasepkg": "srppphist",
  "_universes": [
    "agroscope-ch",
    "jranke"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.3",
      "date": "2026-05-20T10:34:53.000Z",
      "distro": "noble",
      "commit": "740415e22d8d06aa516cc37012b7c8b2b459c162",
      "fileid": "3ffee6ca0db4ab9bd7933343e1ed0507aeb1b9335b40580ee3ad9cf9b79d1330",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agroscope-ch/actions/runs/26156531085"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.3",
      "date": "2026-05-20T10:34:58.000Z",
      "distro": "noble",
      "commit": "740415e22d8d06aa516cc37012b7c8b2b459c162",
      "fileid": "ade4d2f1fb11cc016b971442cc7caf3b72878e1a5d1a51d7809989ba0f3b8399",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agroscope-ch/actions/runs/26156531085"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.3",
      "date": "2026-05-20T10:40:29.000Z",
      "commit": "740415e22d8d06aa516cc37012b7c8b2b459c162",
      "fileid": "13e91c422bd4488c0f904b0d76cab691547eed34bef56d2acfb578ef3ed88858",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agroscope-ch/actions/runs/26156531085"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.3",
      "date": "2026-05-20T10:34:20.000Z",
      "commit": "740415e22d8d06aa516cc37012b7c8b2b459c162",
      "fileid": "71620189482d51a1a11ba4d58f91bd23b2c3fc36984e7f89249b3aa3c6059cf9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agroscope-ch/actions/runs/26156531085"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.3",
      "date": "2026-05-20T10:34:08.000Z",
      "commit": "740415e22d8d06aa516cc37012b7c8b2b459c162",
      "fileid": "8f09dd3290c4a50040dd8aa9deed7d582ff561df1606deb91345ec20946f1dca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agroscope-ch/actions/runs/26156531085"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.3",
      "date": "2026-05-20T10:33:52.000Z",
      "commit": "740415e22d8d06aa516cc37012b7c8b2b459c162",
      "fileid": "e7d2a783e96b12043eb49b763804195e9ff477c78e8479152dfde5e00b977533",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agroscope-ch/actions/runs/26156531085"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.0.3",
      "date": "2026-05-20T10:34:06.000Z",
      "commit": "740415e22d8d06aa516cc37012b7c8b2b459c162",
      "fileid": "04fd68aad77a2b7278a3108ccc5dfeaa4d26d58608174f7fc723edc160352577",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agroscope-ch/actions/runs/26156531085"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.3",
      "date": "2026-06-02T13:06:12.000Z",
      "commit": "740415e22d8d06aa516cc37012b7c8b2b459c162",
      "fileid": "43a8c3c3f3d4f0b1dcf81cc06565df22b9f55d740d919778df84af984921d22e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/agroscope-ch/actions/runs/26156531085"
    }
  ]
}