Skip to contents

Returns properties of organic amendment materials including carbon and nitrogen content, C:N ratio, and plant-available nitrogen (PAN).

Usage

look_up_ca_compost_amendment(
  material,
  n_class = NULL,
  aggregate = c("none", "mean")
)

Source

Eghball, B. Composting Manure and Other Organic Residues. University of Nebraska-Lincoln Extension, Publication G2222. https://extensionpubs.unl.edu/publication/g2222/na/html/view

Rynk, R. (ed.) Compost Production and Use in Sustainable Farming Systems. NC State Extension. https://content.ces.ncsu.edu/compost-production-and-use-in-sustainable-farming-systems

Arguments

material

Character string. Amendment material to look up.

n_class

Optional, one of "LOWER" or "HIGHER". Filter by N class.

aggregate

Character, one of "none" (default) or "mean". If "mean", rows for the same material are averaged into a single row.

Value

A tibble with columns: `material`, `cn_min`, `cn_max`, `cn_avg`, `c_pct`, `n_pct`, `pan_pct`, `n_class`, `total_c_min_g_m2`, `total_c_max_g_m2`, `total_n_min_g_m2`, `total_n_max_g_m2`, `source`. Returns an empty tibble (with a warning) if no match is found.

Details

Matching is case-insensitive. Exact matches are returned directly. If no exact match is found, partial matching suggests possible materials.

Some materials have multiple rows from different sources (e.g. Cow manure, Vegetable waste). Set `aggregate = "mean"` to collapse these into a single row per material using the mean of numeric columns.

See also

[look_up_fertilizer_components()] for fertilizer nutrient composition (N/C fractions) from the SWAT/DayCent database. [ca_compost_amendment] for the underlying dataset.

Examples

look_up_ca_compost_amendment("Cow manure")
#> # A tibble: 2 × 13
#>   material   cn_min cn_max cn_avg c_pct n_pct pan_pct n_class total_c_min_g_m2
#>   <chr>       <dbl>  <dbl>  <dbl> <dbl> <dbl>   <dbl> <chr>              <dbl>
#> 1 Cow manure     20     25   22.5    40  1.78   -3.33 LOWER               359.
#> 2 Cow manure     20     20   20      40  2       0    LOWER               359.
#> # ℹ 4 more variables: total_c_max_g_m2 <dbl>, total_n_min_g_m2 <dbl>,
#> #   total_n_max_g_m2 <dbl>, source <chr>
look_up_ca_compost_amendment("Cow manure", aggregate = "mean")
#> # A tibble: 1 × 13
#>   material   cn_min cn_max cn_avg c_pct n_pct pan_pct total_c_min_g_m2
#>   <chr>       <dbl>  <dbl>  <dbl> <dbl> <dbl>   <dbl>            <dbl>
#> 1 Cow manure     20   22.5   21.2    40  1.89   -1.66             359.
#> # ℹ 5 more variables: total_c_max_g_m2 <dbl>, total_n_min_g_m2 <dbl>,
#> #   total_n_max_g_m2 <dbl>, n_class <chr>, source <chr>
look_up_ca_compost_amendment("Poultry litter", n_class = "LOWER")
#> # A tibble: 1 × 13
#>   material     cn_min cn_max cn_avg c_pct n_pct pan_pct n_class total_c_min_g_m2
#>   <chr>         <dbl>  <dbl>  <dbl> <dbl> <dbl>   <dbl> <chr>              <dbl>
#> 1 Poultry lit…      5     20   12.5    40   3.2      18 LOWER               359.
#> # ℹ 4 more variables: total_c_max_g_m2 <dbl>, total_n_min_g_m2 <dbl>,
#> #   total_n_max_g_m2 <dbl>, source <chr>