{
  "_id": "6a12a81dacfb0bcc41d15200",
  "Package": "SoilManageR",
  "Type": "Package",
  "Title": "Calculate Soil Management Indicators for Agricultural Practice\nAssessment",
  "Version": "1.1.0.9902",
  "Authors@R": "c(\nperson(\"Olivier\", \"Heller\", email = \"olivier.heller@agroscope.admin.ch\", role = c(\"cre\",\"aut\"), comment = c(ORCID = \"0000-0002-5918-4161\")),\nperson(\"Raphaël\", \"Wittwer\", email = \"raphael.witter@agroscope.admin.ch\", role = \"ctb\", comment = c(ORCID = \"0000-0002-2129-7195\"))\n)",
  "Description": "Calculate numerical agricultural soil management\nindicators from on a management timeline of an arable field.\nCurrently, indicators for carbon (C) input into the soil\nsystem, soil tillage intensity rating (STIR), number of soil\ncover and living plant cover days, N fertilization and\nlivestock intensity, and plant diversity are implemented. The\nfunctions can also be used independently of the management\ntimeline to calculate some indicators. The package contains\ntables with reference information for the functions, as well as\na '*.xlsx' template to collect the management data.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "RdMacros": "Rdpack",
  "URL": "https://gitlab.com/SoilManageR/",
  "BugReports": "https://gitlab.com/SoilManageR/SoilManageR/-/issues",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://oli-heller.r-universe.dev",
  "Date/Publication": "2026-03-25 18:11:21 UTC",
  "RemoteUrl": "https://gitlab.com/soilmanager/soilmanager",
  "RemoteRef": "HEAD",
  "RemoteSha": "e440c2f3f429a8fd3ca56a0b6e215d7531d2f1e2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 07:17:02 UTC",
    "User": "root"
  },
  "Author": "Olivier Heller [cre, aut] (ORCID:\n<https://orcid.org/0000-0002-5918-4161>),\nRaphaël Wittwer [ctb] (ORCID: <https://orcid.org/0000-0002-2129-7195>)",
  "Maintainer": "Olivier Heller <olivier.heller@agroscope.admin.ch>",
  "MD5sum": "9a3c9530b7ef365491a44b3e2a445b33",
  "_user": "oli-heller",
  "_type": "src",
  "_file": "SoilManageR_1.1.0.9902.tar.gz",
  "_fileid": "28fa3adc3fb6e9b6a02d6dc005c57c7c4ca1bfe71604901bcd7fa199ba006ab5",
  "_filesize": 1821333,
  "_sha256": "28fa3adc3fb6e9b6a02d6dc005c57c7c4ca1bfe71604901bcd7fa199ba006ab5",
  "_created": "2026-05-24T07:17:02.000Z",
  "_published": "2026-05-24T07:26:21.864Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77579860624,
      "time": 154,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183205915"
    },
    {
      "job": 77579860612,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183206435"
    },
    {
      "job": 77579860598,
      "time": 163,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183230046"
    },
    {
      "job": 77579860605,
      "time": 191,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183243876"
    },
    {
      "job": 77579682778,
      "time": 188,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183186305"
    },
    {
      "job": 77579860588,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183200450"
    },
    {
      "job": 77579860604,
      "time": 141,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183204660"
    },
    {
      "job": 77579860596,
      "time": 105,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183199542"
    },
    {
      "job": 77579860601,
      "time": 106,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183199864"
    }
  ],
  "_buildurl": "https://github.com/r-universe/oli-heller/actions/runs/26354873327",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://gitlab.com/soilmanager/soilmanager",
  "_commit": {
    "id": "e440c2f3f429a8fd3ca56a0b6e215d7531d2f1e2",
    "author": "f80826871 <olivier.heller@agroscope.admin.ch>",
    "committer": "f80826871 <olivier.heller@agroscope.admin.ch>",
    "message": "bugfix\n",
    "time": 1774462281
  },
  "_maintainer": {
    "name": "Olivier Heller",
    "email": "olivier.heller@agroscope.admin.ch",
    "login": "oli-heller",
    "description": "",
    "uuid": 153070664,
    "orcid": "0000-0002-5918-4161"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "magrittr",
      "version": ">= 2.0.3",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.4",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "version": ">= 1.9.2",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.4",
      "role": "Imports"
    },
    {
      "package": "ggthemes",
      "version": ">= 5.0.0",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.2.1",
      "role": "Imports"
    },
    {
      "package": "readxl",
      "version": ">= 1.4.3",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "version": ">= 2.6",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "gitlab-soilmanager",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-12",
      "n": 10
    },
    {
      "week": "2026-13",
      "n": 4
    }
  ],
  "_tags": [],
  "_userbio": {
    "uuid": 153070664,
    "type": "user",
    "name": "oli-heller"
  },
  "_downloads": {
    "count": 561,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SoilManageR"
  },
  "_devurl": "https://gitlab.com/soilmanager/soilmanager",
  "_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/SoilManageR.html",
    "manual.pdf"
  ],
  "_homeurl": "https://gitlab.com/soilmanager/soilmanager",
  "_realowner": "oli-heller",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2024-10-01"
    },
    {
      "version": "1.1.0",
      "date": "2025-04-18"
    }
  ],
  "_exports": [
    "%>%",
    "arrange_management_df",
    "C_input",
    "C_input_cover_crops",
    "C_input_crops",
    "calculate_C_input_tibble",
    "calculate_indicators",
    "calculate_indicators_by_crop",
    "calculate_N_input_tibble",
    "calculate_soil_cover_tibble",
    "calculate_STIR_tibble",
    "check_management_df",
    "CN_input_amendments",
    "count_pesticide_applications",
    "filter_management_df",
    "identify_main_crops",
    "indicators_by_date",
    "management_df",
    "management_df_from_excel",
    "N_fixation_legumes",
    "N_input",
    "plant_cover",
    "plant_diversity",
    "plot_management_df",
    "productivity_indicator",
    "relative_yield",
    "select_cover_crop_sowing_and_termination",
    "shannon_index",
    "soil_cover",
    "STIR",
    "tillage_intensity"
  ],
  "_datasets": [
    {
      "name": "C_input_crops_LUT",
      "title": "Look-up-table with default values to calculate carbon (C) inputs by crops",
      "object": "C_input_crops_LUT",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Crop",
        "RP",
        "RS",
        "RR",
        "RE",
        "SP",
        "SS",
        "SR",
        "SE",
        "crop_product",
        "harvest_index",
        "variable_harvest_index",
        "HI_intercept",
        "HI_slope",
        "shoot_root_ratio",
        "root_exudation_factor",
        "fixed_belowground_input",
        "C_input_root",
        "Source"
      ],
      "rows": 27,
      "table": true,
      "tojson": true
    },
    {
      "name": "CN_input_amendments_LUT",
      "title": "Look-up-table with default values to calculate C and N inputs by organic amendments",
      "object": "CN_input_amendments_LUT",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Amendment",
        "DMC",
        "OM",
        "C_content",
        "N_tot",
        "N_content",
        "animal_origin",
        "Comment"
      ],
      "rows": 26,
      "table": true,
      "tojson": true
    },
    {
      "name": "EXAMPLE_data",
      "title": "Example of a management_df",
      "object": "EXAMPLE_data",
      "class": [
        "management_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "crop",
        "date",
        "year",
        "category",
        "operation",
        "device",
        "value",
        "unit",
        "machine",
        "product",
        "combination",
        "comments",
        "DMC",
        "C_content",
        "N_content",
        "crop_product",
        "crop_residue",
        "Cc_product",
        "Cc_residue"
      ],
      "rows": 130,
      "table": true,
      "tojson": true
    },
    {
      "name": "N_fixation_legumes_LUT",
      "title": "Look-up-table with default values to calculate N fixation",
      "object": "N_fixation_legumes_LUT",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Crop",
        "crop_product",
        "alpha_crop",
        "beta_crop",
        "N_con",
        "NHI",
        "BGNF",
        "N_fix",
        "Source"
      ],
      "rows": 7,
      "table": true,
      "tojson": true
    },
    {
      "name": "plant_cover_LUT",
      "title": "Look-up-table with default values to estimate soil cover by plants",
      "object": "plant_cover_LUT",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Crop",
        "Slope_0_10",
        "Slope_10_50",
        "Slope_50_75",
        "Slope_75_100",
        "days_30",
        "Comments"
      ],
      "rows": 27,
      "table": true,
      "tojson": true
    },
    {
      "name": "STIR_values_LUT",
      "title": "Look-up-table with default values for tillage operations",
      "object": "STIR_values_LUT",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Operation",
        "Speed",
        "Speed_MIN",
        "Speed_Max",
        "Surf_Disturbance",
        "Depth",
        "Depth_MIN",
        "Depth_MAX",
        "TILLAGE_TYPE",
        "TILLAGE_TYPE_Modifier",
        "STIR_original",
        "Diesel_use",
        "Burial_Coefficient",
        "Source",
        "Description"
      ],
      "rows": 50,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "arrange_management_df",
      "title": "arrange management_df by date, category",
      "topics": [
        "arrange_management_df"
      ]
    },
    {
      "page": "C_input",
      "title": "Estimate carbon input",
      "topics": [
        "C_input"
      ]
    },
    {
      "page": "C_input_cover_crops",
      "title": "Estimate C inputs by cover crops",
      "topics": [
        "C_input_cover_crops"
      ]
    },
    {
      "page": "C_input_crops",
      "title": "Estimate C inputs by crops",
      "topics": [
        "C_input_crops"
      ]
    },
    {
      "page": "C_input_crops_LUT",
      "title": "Look-up-table with default values to calculate carbon (C) inputs by crops",
      "topics": [
        "C_input_crops_LUT"
      ]
    },
    {
      "page": "calculate_C_input_tibble",
      "title": "Calculate C input tibble",
      "topics": [
        "calculate_C_input_tibble"
      ]
    },
    {
      "page": "calculate_indicators",
      "title": "Calculate all soil management indicators",
      "topics": [
        "calculate_indicators"
      ]
    },
    {
      "page": "calculate_indicators_by_crop",
      "title": "Calculate soil management indicators by crop",
      "topics": [
        "calculate_indicators_by_crop"
      ]
    },
    {
      "page": "calculate_N_input_tibble",
      "title": "Calculate N input tibble",
      "topics": [
        "calculate_N_input_tibble"
      ]
    },
    {
      "page": "calculate_soil_cover_tibble",
      "title": "Caculate soil cover tibble",
      "topics": [
        "calculate_soil_cover_tibble"
      ]
    },
    {
      "page": "calculate_STIR_tibble",
      "title": "Calculate STIR tibble",
      "topics": [
        "calculate_STIR_tibble"
      ]
    },
    {
      "page": "check_management_df",
      "title": "Check management_df for consitency",
      "topics": [
        "check_management_df"
      ]
    },
    {
      "page": "CN_input_amendments",
      "title": "Estimate C and N inputs of organic amendments",
      "topics": [
        "CN_input_amendments"
      ]
    },
    {
      "page": "CN_input_amendments_LUT",
      "title": "Look-up-table with default values to calculate C and N inputs by organic amendments",
      "topics": [
        "CN_input_amendments_LUT"
      ]
    },
    {
      "page": "count_pesticide_applications",
      "title": "Count number of pesticide applications",
      "topics": [
        "count_pesticide_applications"
      ]
    },
    {
      "page": "EXAMPLE_data",
      "title": "Example of a management_df",
      "topics": [
        "EXAMPLE_data"
      ]
    },
    {
      "page": "filter_management_df",
      "title": "Filter management_df for pattern in comments",
      "topics": [
        "filter_management_df"
      ]
    },
    {
      "page": "identify_main_crops",
      "title": "Identify main crops",
      "topics": [
        "identify_main_crops"
      ]
    },
    {
      "page": "indicators_by_date",
      "title": "Extract indicators by a specific date",
      "topics": [
        "indicators_by_date"
      ]
    },
    {
      "page": "management_df",
      "title": "Constructor for management_df",
      "topics": [
        "management_df"
      ]
    },
    {
      "page": "management_df_from_excel",
      "title": "Import management_df from excel file",
      "topics": [
        "management_df_from_excel"
      ]
    },
    {
      "page": "N_fixation_legumes",
      "title": "Estimate nitrogen fixation by legumes",
      "topics": [
        "N_fixation_legumes"
      ]
    },
    {
      "page": "N_fixation_legumes_LUT",
      "title": "Look-up-table with default values to calculate N fixation",
      "topics": [
        "N_fixation_legumes_LUT"
      ]
    },
    {
      "page": "N_input",
      "title": "Estimate nitrogen input",
      "topics": [
        "N_input"
      ]
    },
    {
      "page": "plant_cover",
      "title": "Estimate soil cover percentage by plants",
      "topics": [
        "plant_cover"
      ]
    },
    {
      "page": "plant_cover_LUT",
      "title": "Look-up-table with default values to estimate soil cover by plants",
      "topics": [
        "plant_cover_LUT"
      ]
    },
    {
      "page": "plant_diversity",
      "title": "Calculate plant diversity indicators",
      "topics": [
        "plant_diversity"
      ]
    },
    {
      "page": "plot_management_df",
      "title": "Plot a management dataframe",
      "topics": [
        "plot_management_df"
      ]
    },
    {
      "page": "plot.soil_cover_tibble",
      "title": "Plotting soil_cover_tibbles",
      "topics": [
        "plot.soil_cover_tibble"
      ]
    },
    {
      "page": "productivity_indicator",
      "title": "Calculate average productivity",
      "topics": [
        "productivity_indicator"
      ]
    },
    {
      "page": "relative_yield",
      "title": "Calculate relative yield",
      "topics": [
        "relative_yield"
      ]
    },
    {
      "page": "select_cover_crop_sowing_and_termination",
      "title": "select management operations that seed or terminate cover crops",
      "topics": [
        "select_cover_crop_sowing_and_termination"
      ]
    },
    {
      "page": "shannon_index",
      "title": "Calculate Shannon Index for diversity",
      "topics": [
        "shannon_index"
      ]
    },
    {
      "page": "soil_cover",
      "title": "Estimate soil cover by plants and residues",
      "topics": [
        "soil_cover"
      ]
    },
    {
      "page": "STIR",
      "title": "Calculate STIR value",
      "topics": [
        "STIR"
      ]
    },
    {
      "page": "STIR_values_LUT",
      "title": "Look-up-table with default values for tillage operations",
      "topics": [
        "STIR_values_LUT"
      ]
    },
    {
      "page": "tillage_intensity",
      "title": "Estimate tillage intensity",
      "topics": [
        "tillage_intensity"
      ]
    }
  ],
  "_pkglogo": "https://gitlab.com/soilmanager/soilmanager/raw/HEAD/man/figures/logo.png",
  "_readme": "https://gitlab.com/soilmanager/soilmanager/raw/HEAD/README.md",
  "_rundeps": [
    "cellranger",
    "cli",
    "cpp11",
    "crayon",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "ggthemes",
    "glue",
    "gtable",
    "hms",
    "isoband",
    "labeling",
    "lifecycle",
    "lubridate",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rdpack",
    "readxl",
    "rematch",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "SoilManageR.Rmd",
      "filename": "SoilManageR.html",
      "title": "SoilManageR",
      "engine": "knitr::rmarkdown",
      "headings": [
        "SoilManageR",
        "Introduction",
        "Installation",
        "Suggested Workflow",
        "Load and check management data frame",
        "Calculate indicators per year or by crop",
        "Access helper functions",
        "About the Package",
        "Acknowledgments",
        "Contact",
        "Funding information"
      ],
      "created": "2024-02-09 15:25:57",
      "modified": "2026-03-21 12:38:37",
      "commits": 14
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "soilmanager",
  "_universes": [
    "oli-heller",
    "gitlab-soilmanager"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0.9902",
      "date": "2026-05-24T07:19:12.000Z",
      "distro": "noble",
      "commit": "e440c2f3f429a8fd3ca56a0b6e215d7531d2f1e2",
      "fileid": "65da634eafa51075e91050cfd7d13dea71993b1954572206f87b3611b501edb7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/oli-heller/actions/runs/26354873327"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0.9902",
      "date": "2026-05-24T07:19:14.000Z",
      "distro": "noble",
      "commit": "e440c2f3f429a8fd3ca56a0b6e215d7531d2f1e2",
      "fileid": "e6bd8cc925ee1d70c36e208f7d0f3eb7f28d209ec4fad59b5d7f45c3fe816d9f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/oli-heller/actions/runs/26354873327"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0.9902",
      "date": "2026-05-24T07:22:59.000Z",
      "commit": "e440c2f3f429a8fd3ca56a0b6e215d7531d2f1e2",
      "fileid": "826a1c2dc03c57717abd41d69670c1bd6940bcc363e2c2cf249bbb6cd19e6bec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/oli-heller/actions/runs/26354873327"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0.9902",
      "date": "2026-05-24T07:24:51.000Z",
      "commit": "e440c2f3f429a8fd3ca56a0b6e215d7531d2f1e2",
      "fileid": "1e3e963dbfae0ba283e2e6a5875be1c40e9295efc74ed00e2b8c58e94b0c41fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/oli-heller/actions/runs/26354873327"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0.9902",
      "date": "2026-05-24T07:19:11.000Z",
      "commit": "e440c2f3f429a8fd3ca56a0b6e215d7531d2f1e2",
      "fileid": "8cebeceef0ab9e1fbf2533d9a5aee2871f518d0dfb6aa34442199459a5d5035e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/oli-heller/actions/runs/26354873327"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0.9902",
      "date": "2026-05-24T07:18:49.000Z",
      "commit": "e440c2f3f429a8fd3ca56a0b6e215d7531d2f1e2",
      "fileid": "f51932dfc0375b0ec55a3d6e8c2450fc30168512dfc38cac9d24ef9ef00e8217",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/oli-heller/actions/runs/26354873327"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0.9902",
      "date": "2026-05-24T07:18:10.000Z",
      "commit": "e440c2f3f429a8fd3ca56a0b6e215d7531d2f1e2",
      "fileid": "7630b05daf721591e92ae7bfee03b11ec40897cb5879c6be18fe3a2b85c7a5e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/oli-heller/actions/runs/26354873327"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0.9902",
      "date": "2026-05-24T07:18:15.000Z",
      "commit": "e440c2f3f429a8fd3ca56a0b6e215d7531d2f1e2",
      "fileid": "9823d9be9edb81da983e37e877aa5954ebbf18800721d0e5cf43c86257d5e23a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/oli-heller/actions/runs/26354873327"
    }
  ]
}