
Package index
-
build_supply_use() - Supply and use tables
-
get_feed_intake() - Livestock feed intake
-
get_primary_production() - Primary items production
-
get_primary_residues() - Crop residue items
-
get_processing_coefs() - Processed products share factors
-
get_wide_cbs() - Commodity balance sheet data
-
get_bilateral_trade() - Bilateral trade data
-
create_n_prov_destiny() - GRAFS Nitrogen (N) flows
-
create_n_soil_inputs() - Nitrogen (N) soil inputs for Spain
-
create_n_production() - N production for Spain
-
calculate_nue_crops() - N soil inputs and Nitrogen Use Efficiency (NUE) for crop
-
calculate_nue_livestock() - NUE for Livestock
-
calculate_system_nue() - System NUE
-
create_n_nat_destiny() - GRAFS Nitrogen (N) flows at Spain national level
-
whep_read_file() - Download, cache and read files
-
whep_inputs - External inputs
-
whep_list_file_versions() - Input file versions
-
polities - Polities
-
add_area_code() - Get area codes from area names
-
add_area_name() - Get area names from area codes
-
items_cbs - Commodity balance sheet items
-
add_item_cbs_code() - Get commodity balance sheet item codes from item names
-
add_item_cbs_name() - Get commodity balance sheet item names from item codes
-
items_prod - Primary production items
-
add_item_prod_code() - Get production item codes from item names
-
add_item_prod_name() - Get production item names from item codes
-
get_faostat_data() - Scrapes activity_data from FAOSTAT and slightly post-processes it
-
expand_trade_sources() - Trade data sources
Gap filling functions
Functions to fill gaps (NA values) in time-dependent variables using different methods.
-
fill_linear() - Fill gaps by linear interpolation, or carrying forward or backward.
-
fill_sum() - Fill gaps summing the previous value of a variable to the value of another variable.
-
fill_proxy_growth() - Fill gaps using growth rates from proxy variables
-
calculate_lmdi() - Calculate LMDI decomposition.
-
harmonize_simple() - Harmonize rows labeled "simple" by summing values
-
harmonize_interpolate() - Harmonize advanced cases with interpolation for 1:N groups