Package: whep 0.3.0.9000

whep: Processing Agro-Environmental Data
A set of tools for processing and analyzing data developed in the context of the "Who Has Eaten the Planet" (WHEP) project, funded by the European Research Council (ERC). For more details on multi-regional input-output model "Food and Agriculture Biomass Input-Output" (FABIO) see Bruckner et al. (2019) <doi:10.1021/acs.est.9b03554>.
Authors:
whep_0.3.0.9000.tar.gz
whep_0.3.0.9000.zip(r-4.7-any)whep_0.3.0.9000.zip(r-4.6-any)whep_0.3.0.9000.zip(r-4.5-any)
whep_0.3.0.9000.tgz(r-4.6-any)whep_0.3.0.9000.tgz(r-4.5-any)
whep_0.3.0.9000.tar.gz(r-4.7-any)whep_0.3.0.9000.tar.gz(r-4.6-any)
whep_0.3.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
whep/json (API)
| # Install 'whep' in R: |
| install.packages('whep', repos = c('https://eduaguilera.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/eduaguilera/whep/issues
Pkgdown/docs site:https://eduaguilera.github.io
- admin_items_eurostat - Eurostat crop classes and their WHEP items
- admin_items_jrc - JRC subnational crop classes and their WHEP items
- admin_items_nass - USDA NASS crop series and their WHEP items
- admin_items_sidra - IBGE SIDRA crop classes and their WHEP items
- admin_species_eurostat - Eurostat livestock classes and their WHEP species groups
- admin_species_nass - USDA NASS livestock series and their WHEP species groups
- admin_species_sidra - IBGE SIDRA herd types and their WHEP species groups
- amg_h_by_input_type - AMG humification coefficient by carbon input type.
- animals_codes - Animal codes and classifications
- biomass_coefs - Biomass coefficients for crops and livestock products
- cb_processing - Commodity balance sheet processing fractions
- cbs_trade_codes - CBS to trade item code mapping
- cft_mapping - FAOSTAT crop to LPJmL crop functional type (CFT) mapping
- climate_mcf - Climate-zone MCF values.
- climate_mcf_ipcc - As-published MCF alternatives to climate_mcf.
- coello_synthetic_n - Coello (2025) crop-specific synthetic nitrogen application rates
- conv_bouwman - Bouwman feed conversion ratios.
- conv_krausmann - Krausmann per head feed intake.
- crops_eurostat - Eurostat crop classification codes
- crops_manure_n - Manure nitrogen application by crop and country
- drainage_ranges - Drainage-class bins keyed on annual soil drainage.
- europe_fao_spain_trade - Spain's historical export and import series, 1849-1960
- feed_characteristics - Feed characteristics by diet quality.
- feed_taxonomy - Feed taxonomy.
- fertiliser_n2o_modifiers - Fertiliser-type modifying factors for direct soil N2O.
- gleam_animal_weights - GLEAM animal weights.
- gleam_crop_residue_nitrogen - Nitrogen parameters for crop residues of feed materials.
- gleam_crop_residue_params - GLEAM crop residue parameters.
- gleam_dressing_percentages - GLEAM dressing percentages.
- gleam_energy_use_ef - Energy use emission factors for livestock production.
- gleam_enteric_params - Enteric methane conversion factors (IPCC defaults, not GLEAM).
- gleam_feed_categories - GLEAM feed categories.
- gleam_feed_composition - GLEAM feed use efficiency.
- gleam_feed_conversion_ratios - GLEAM feed conversion ratios for monogastrics.
- gleam_feed_digestibility - GLEAM feed digestibility for ruminants.
- gleam_field_operation_ef - Emission factors for field operations on feed materials.
- gleam_fracremove - Country-level fraction of crop residues removed.
- gleam_geographic_hierarchy - GLEAM geographic hierarchy.
- gleam_livestock_categories - GLEAM livestock categories.
- gleam_mechanization_levels - Country-level mechanization levels for feed materials.
- gleam_milk_production - GLEAM milk production.
- gleam_mms_shares - GLEAM manure management system shares.
- gleam_processing_transport_ef - Processing and transport emission factors for feeds.
- grazing_energy_coefs - Grazing energy coefficients.
- human_kgn_cap_reference - Human-population nitrogen rate per urban inhabitant.
- human_kgn_cap_total_reference - Human-population nitrogen rate per inhabitant.
- human_n_reference - Historical human-population nitrogen applied to agriculture.
- hwsd_texture_usda - HWSD topsoil USDA texture code to texture-class crosswalk.
- indirect_n2o_ef - Indirect N2O emission factors.
- ipcc_2006_enteric_ef - IPCC 2006 Tier 1 enteric emission factors.
- ipcc_2006_manure_ef - IPCC 2006 Tier 1 manure emission factors.
- ipcc_2006_mcf_temp - IPCC 2006 MCF by temperature.
- ipcc_2019_bo - IPCC 2019 Bo values (Table 10.16A).
- ipcc_2019_cfi - IPCC 2019 Cfi values (Table 10.4).
- ipcc_2019_enteric_ef_cattle - IPCC 2019 enteric EF for cattle.
- ipcc_2019_enteric_ef_other - IPCC 2019 enteric EF for non-cattle.
- ipcc_2019_manure_ch4_ef_cattle - IPCC 2019 manure CH4 EF for cattle.
- ipcc_2019_manure_ch4_ef_other - IPCC 2019 manure CH4 EF for non-cattle.
- ipcc_2019_mcf_manure - IPCC 2019 MCF for manure management.
- ipcc_2019_n_excretion - IPCC 2019 nitrogen excretion rates.
- ipcc_2019_n2o_ef_direct - IPCC 2019 direct N2O emission factors.
- ipcc_2019_soil_n_ef - IPCC 2019 Tier 1 soil nitrogen emission and leaching factors.
- ipcc_2019_ym - IPCC Ym values.
- ipcc_enteric_ef_tier1 - IPCC Tier 1 enteric emission factors, as published.
- ipcc_manure_ef3 - IPCC direct manure N2O emission factors (EF3), by edition.
- ipcc_tier2_bo_values - Tier 2 Bo values.
- ipcc_tier2_energy_coefs - Tier 2 energy coefficients.
- ipcc_tier2_manure_ash - Tier 2 manure ash content.
- ipcc_tier2_n_retention - Tier 2 nitrogen retention fractions.
- ipcc_tier2_ym_values - Tier 2 Ym values.
- items_cbs - Commodity balance sheet items
- items_full - Full CBS item table
- items_prim - Primary production items linked to CBS
- items_prod - Primary production items
- items_prod_full - Full production item table
- lassaletta_grassland_share - Grassland share of synthetic nitrogen by country and year
- liv_lu_coefs - Livestock unit coefficients
- livestock_constants - Livestock physical constants.
- livestock_production_defaults - Default production parameters.
- manner_default_technique_mix - Gross-default technique/incorporation-delay blend for MANNER.
- manner_incorporation_factor - MANNER organic-manure incorporation-delay factor.
- manner_params - MANNER process-based ammonia-volatilisation factors.
- manner_rain_factor - MANNER synthetic-fertiliser rainfall factor.
- manner_rate_factor - MANNER synthetic-fertiliser application-rate factor.
- manure_inorganic_n - Inorganic (mineral) nitrogen fraction of excreted manure by species.
- max_intake_share - Maximum intake shares.
- meisinger_denitrification - Meisinger and Randall topsoil denitrification share matrix.
- mueller_synthetic_n - Synthetic nitrogen application rates by crop and country
- n_attenuation_constants - Nitrogen leaching-attenuation and indirect-N2O constants.
- n_boundary_params - Planetary reactive-nitrogen boundary parameters.
- n2o_efs_disaggregated - Disaggregated direct soil N2O emission factors by climate and irrigation.
- n2o_efs_ipcc2006 - IPCC 2006 Tier 1 direct soil N2O emission factors by climate and irrigation.
- nourish_levels - Nourishment classification levels and colours.
- nourishment_thresholds - Nourishment protein and energy thresholds.
- polities - Polities
- polities_cats - Polity categories and regional classifications
- polity_area_crosswalk - FAOSTAT/FABIO area-to-polity crosswalk
- polity_containment - Polity containment edges
- polity_label_aliases - Source label to polity aliases
- polity_label_item_corrections - Source label corrections scoped to one item
- primary_double - Items with double-counting in production statistics
- regime_yield_crop_mapping - Crop sources for the irrigated:rainfed regime yield ratio
- regional_mms_distribution - Regional MMS distribution.
- regions_full - Full polity and region reference table
- residue_humification - Humification fraction by carbon input type.
- sjos_levels - Safe-and-just nitrogen classification levels and colours.
- smil_2001_synthetic_n_global - Smil (2001) global synthetic nitrogen production, 1913-2000
- soc_soil_cover_curve - Generic land-use soil-cover curve for the RothC/HSOC cover factor.
- soc_turnover_params - Soil organic carbon turnover parameters by model.
- soil_cn_ratios - Soil carbon-to-nitrogen ratios for organic-matter balances.
- soil_hydraulic_by_texture - Soil hydraulic properties by USDA texture class.
- som_ranges - Soil organic matter content bins.
- subsoil_no3_reduction - Subsoil nitrate reduction shares by source, climate and irrigation.
- temperature_adjustment - Temperature adjustment factors for NEm.
- uncertainty_ranges - Uncertainty ranges for emission parameters.
- urban_kgn_cap_reference - Human-population nitrogen rate per urban inhabitant.
- urban_n_reference - Historical human-population nitrogen applied to agriculture.
- whep_inputs - External inputs
agriculturebiogeochemistrybiophysical-modelingcarboncropsenvironmentfootprintsland-uselivestocknitrogennutritionphosphorusplanetary-boundariesquantitative-historysocial-metabolismwater
Last updated from:3205ff19c9. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 1286 | ||
| source / vignettes | OK | 566 | ||
| linux-release | OK | 1560 | ||
| macos-release | OK | 1347 | ||
| macos-oldrel | OK | 1290 | ||
| windows-devel | OK | 1956 | ||
| windows-release | OK | 1970 | ||
| windows-oldrel | OK | 1759 | ||
| wasm-release | OK | 359 |
Exports:add_area_codeadd_area_nameadd_footprint_product_stageadd_item_cbs_codeadd_item_cbs_nameadd_item_prod_codeadd_item_prod_nameadd_manure_beddingadd_polity_codeadmin_coverage_prototypeadmin_shares_prototypeadmin_shares_schemaaggregate_grass_to_polityaggregate_unit_extentalign_extensionallocate_grazing_to_productsallocate_level_cropsallocate_manure_to_landallocate_manure_transportapply_management_lossesassert_footprint_invariantsassert_parquet_integrityassert_table_schemaattach_provenanceattach_scopeattribute_fallow_to_cropsbackcast_admin_sharesbalance_io_flowsbalance_rasbuild_ag_land_supportbuild_allocation_layerbuild_carbon_balancebuild_carbon_inputsbuild_cbs_pricesbuild_cell_climate_zonebuild_cell_moisture_regimebuild_cell_politybuild_commodity_balancesbuild_constant_territory_seriesbuild_critical_n_bindingbuild_crop_land_extensionbuild_crop_soil_n2o_extensionbuild_crop_water_consumptionbuild_crop_water_usebuild_cropgrids_land_extensionbuild_detailed_tradebuild_energy_co2_extensionbuild_fao_arable_fallow_extensionbuild_feed_demandbuild_feed_intake_localbuild_food_supplybuild_footprintbuild_grass_availabilitybuild_grass_availability_lpjmlbuild_grass_natural_carbon_inputsbuild_grassland_intensity_classesbuild_grassland_land_extensionbuild_grazing_feed_footprintbuild_gridded_landusebuild_gridded_livestockbuild_gridded_livestock_emissionsbuild_hayr_land_extensionbuild_historical_land_areasbuild_human_nbuild_intake_dispersionbuild_io_modelbuild_land_balance_footprintbuild_level_crop_targetsbuild_livestock_ghg_extensionbuild_livestock_nutrient_flowsbuild_loss_wedgebuild_n_boundary_countrybuild_n_boundary_exceedancebuild_n_boundary_percapitabuild_n_depositionbuild_n_exceedance_extensionbuild_n_inputsbuild_n_loss_driversbuild_n_pathway_exceedancebuild_n_percapitabuild_nitrogen_balancebuild_nourishment_bandbuild_polycell_land_usesbuild_polycell_supportbuild_primary_pricesbuild_primary_productionbuild_processing_coefsbuild_protein_qualitybuild_protein_requirementbuild_protein_scorebuild_regime_yield_ratiobuild_residue_bedding_supplybuild_sjos_n_footprintbuild_sjos_nitrogenbuild_soil_carbon_inputsbuild_supply_usebuild_total_population_gridbuild_trade_pricesbuild_urban_nbuild_water_balancecalculate_bnfcalculate_cohorts_systemscalculate_critical_ncalculate_crop_bnfcalculate_crop_nppcalculate_crop_npp_componentscalculate_crop_residuescalculate_crop_rootscalculate_enteric_ch4calculate_food_ginicalculate_indirect_n2o_nh3calculate_livestock_emissionscalculate_lmdicalculate_manner_nh3calculate_manner_nh3_defaultcalculate_manure_emissionscalculate_n_leachingcalculate_n_surpluscalculate_nh3calculate_nonsymbiotic_bnfcalculate_npp_carbon_nitrogencalculate_nue_cropscalculate_nue_livestockcalculate_potential_nppcalculate_residue_destiniescalculate_soc_amgcalculate_soc_centurycalculate_soc_dynamicscalculate_soc_hsoccalculate_soc_icbmcalculate_soc_lpjmlcalculate_soc_rothccalculate_soil_n2ocalculate_system_nuecalculate_uncertainty_boundscalculate_weed_bnfcheck_arable_compositioncheck_extent_jumpscheck_fodder_land_sharecheck_footprint_conservationcheck_inputs_suppliedcheck_keys_completecheck_labels_suppliedcheck_parquet_integritycheck_series_jumpscheck_supply_use_balancecheck_table_schemaclassify_sjos_ncombine_covcombine_row_evidencecompare_footprint_methodscompute_footprintcompute_footprint_balancecompute_footprint_pathscompute_fp_product_pathscompute_leontief_inversecompute_trade_flows_rawconsolidate_sourcescorrect_n_depositioncreate_alfredos_typologiescreate_finn_indicatorcreate_grafs_plot_dfcreate_n_nat_destinycreate_n_productioncreate_n_prov_destinycreate_n_soil_inputscreate_typologies_grafs_spaincreate_typologies_of_josettecreate_typologies_whepdecompose_crop_livestock_conndecompose_cropland_surplusdecompose_destiny_mixdecompose_manure_lossesdecompose_semi_natural_surplusdecompose_specialization_covdecompose_terr_lossesdecompose_terr_losses_periodsdecompose_urban_lossesdecompose_weighted_ratiodisaggregate_ussrempty_table_from_schemaensure_admin_sharesensure_columnsestimate_energy_demandestimate_n_excretionevidence_conflictsevidence_forexpand_polycell_yearsexpand_trade_sourcesfill_linearfill_proxy_growthfill_sumfolded_reporting_areasfootprint_scopefootprint_sensitivityget_arable_permanent_landget_bilateral_tradeget_crop_land_extensionget_feed_intakeget_polity_geometriesget_primary_productionget_primary_residuesget_processing_coefsget_provenanceget_scopeget_soc_climate_driversget_wide_cbsglwd_water_fractiongrass_access_sharesgridded_fallow_weightsharmonize_interpolateharmonize_simpleinterp_veckey_lattice_gapslivestock_emissions_to_ktmake_lpjml_covariatemelt_bilateral_tradenormalize_nourishmentplot_compart_factorplot_compart_factor_periodsplot_compart_factor_rollplot_compart_factor_roll_panelplot_compart_factor_yearlyplot_crop_livestock_connplot_destiny_mixplot_finn_circularityplot_footprint_sankeyplot_input_outputplot_input_output_livestockplot_input_output_systemplot_loss_decompplot_loss_decomp_periodsplot_loss_decomp_periods_panelplot_loss_decomp_rollingplot_loss_decomp_rolling_panelplot_loss_decomp_yearlyplot_national_trade_flows_rawplot_national_trade_validationplot_specialization_covplot_typology_indicators_panelplot_typology_periods_panelpolity_anchor_driftpolity_bucket_coveragepolity_coverage_gapspolity_identity_conventionspolity_mapping_provenancepolycell_example_geometriespopulation_source_reachprepare_livestock_emissionspropagate_fp_uncertaintyread_admin_familyread_admin_sharesread_admin_stats_eurostatread_admin_stats_nassread_admin_stats_sidraread_critical_nread_cru_climateread_emep_depositionread_fbs_populationread_glaciated_areasread_glw_densityread_glwd_waterread_habitual_cvread_hwsd_topsoil_socread_hyde_populationread_level_country_gridread_lpjml_crop_coverread_lpjml_grass_productivityread_lpjml_hydrologyread_lpjml_litterfallread_lpjml_natural_coverread_lpjml_nppread_lpjml_regime_yieldread_lpjml_windread_luh2_landuseread_luh2_terrestrialread_n_depositionread_polycell_supportread_populationread_soil_hydraulicread_soil_phread_spam_yieldsread_wpp_populationreconcile_admin_allocationrecord_provenanceredistribute_feedresolve_admin_sharesresolve_admin_unitsresolve_polity_labelresolve_polity_lineagerow_evidencerow_evidence_schemarow_promotion_statusrun_spatializerun_typology_sensitivityseam_gateseam_gate_tolerancessoc_crop_groupsoc_rate_modifier_amgsoc_rate_modifier_centurysoc_rate_modifier_icbmsoc_rate_modifier_lpjmlsoc_rate_modifier_rothcspatialize_country_n_to_cropssplit_manure_managementsplit_regime_yieldstamp_inputs_suppliedsummarise_conservationsummarize_bnfunit_cropland_extentvalidate_national_tradevalidate_national_trade_rawwhep_clear_cachewhep_coef_tablewhep_list_file_versionswhep_read_filewhep_registrywrite_parquet_checkedwrite_table_checked
Dependencies:arrowaskpassassertthatbitbit64clicliprcpp11crayoncurldata.tabledeSolvedigestdplyrfarverfsgenericsgluehmshttrjsonlitelabelinglatticelifecyclemagrittrMatrixmimenanoparquetopensslpillarpinspkgconfigprettyunitsprogresspurrrR6rappdirsRColorBrewerreadrrlangscalesstringistringrsystibbletidyrtidyselecttzdbutf8vctrsviridisLitevroomwhiskerwithryamlzoo
Last update: 2026-08-07
Started: 2026-08-07
Last update: 2026-08-06
Started: 2026-06-08
Last update: 2026-07-24
Started: 2025-01-13
