View source: R/calculate_indicators_by_crop.R
calculate_indicators_by_crop | R Documentation |
Alternative to 'calculate_indicators()' that C inputs, N inputs, STIR and soil cover for each crop separately. The function identifies the last harvest of each crop per year and aggregates the management intensities for the periods in between. Harvests of temporary leys that are sown after a main crop and harvest in the same year are not considered.
calculate_indicators_by_crop(var_management_df)
var_management_df |
a 'management_df()' |
a tibble with the indicator values per crop
# calculate examples
calculate_indicators_by_crop(EXAMPLE_data)
# this would return a tibble, but it can take a while
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.