Title: | Emission Factors For IMPACT |
---|---|
Description: | Emission Factors FOR impacT. |
Authors: | Abhijeet Mishra [aut, cre] |
Maintainer: | Abhijeet Mishra <[email protected]> |
License: | GPL (>= 3) |
Version: | 1.2.3 |
Built: | 2024-11-04 04:51:31 UTC |
Source: | https://github.com/IFPRI/EFFORT |
Calculate Emission Intensities
calcEmissionIntensities(source_folder = NULL)
calcEmissionIntensities(source_folder = NULL)
source_folder |
Folder where FAOSTAT data (unzipped) is saved |
Emission intensities for IMPACT activities
Abhijeet Mishra
## Not run: calcEmissionIntensities(source_folder) ## End(Not run)
## Not run: calcEmissionIntensities(source_folder) ## End(Not run)
Calculate emissions from an IMPACT run
calcImpactEmissions( gdx = NULL, source_folder = NULL, ef_db = NULL, efficiency_improvement = 0.02 )
calcImpactEmissions( gdx = NULL, source_folder = NULL, ef_db = NULL, efficiency_improvement = 0.02 )
gdx |
path to an IMPACT run GDX |
source_folder |
Folder where FAOSTAT data (unzipped) is saved |
ef_db |
name of the object in environment which contains the output of calcEmissionIntensities(). If this is not provided the function calcEmissionIntensities() will be called. This is time consuming process and it is adviced that you run calcEmissionIntensities() before running this function and feed the output of that function in "ef_db" parameter of this function. |
efficiency_improvement |
Improvement in Emission intensities annually (defaults to 2 percent i.e., 0.02) |
Emissions from an IMPACT run
Abhijeet Mishra
## Not run: calcImpactEmissions() ## End(Not run)
## Not run: calcImpactEmissions() ## End(Not run)
Cleanup fao data
clean_fao(f)
clean_fao(f)
f |
Name of file downloaded from FAOSTAT |
Cleaned FAO data
Abhijeet Mishra
## Not run: clean_fao(f = "Emissions_crops_E_All_Data_(Normalized).csv") ## End(Not run)
## Not run: clean_fao(f = "Emissions_crops_E_All_Data_(Normalized).csv") ## End(Not run)
Function to return mapping for IMPACT results
mapping(type = "j")
mapping(type = "j")
type |
which mapping to return (j or c or cty to region) |
Mapping set (activity, commodity etc,)
Abhijeet Mishra
## Not run: mapping(type = "j") ## End(Not run)
## Not run: mapping(type = "j") ## End(Not run)
Read Emission data from FAO
readEmissions(indicator = "crops", source_folder = NULL)
readEmissions(indicator = "crops", source_folder = NULL)
indicator |
Options are "crop" emissions (reads file "Emissions_crops_E_All_Data_(Normalized).csv"), "livestock" emissions (reads file "Emissions_livestock_E_All_Data_(Normalized).csv")), and "total" emissions (reads file "Emissions_Totals_E_All_Data_(Normalized).csv"). These files are all part of the bulk download from FAOSTAT. |
source_folder |
Folder where FAOSTAT data (unzipped) is saved |
Emissions from FAO
Abhijeet Mishra
## Not run: readEmissions(indicator = "crops") ## End(Not run)
## Not run: readEmissions(indicator = "crops") ## End(Not run)
Read Production data from FAO
readProduction(source_folder = NULL)
readProduction(source_folder = NULL)
source_folder |
Folder where FAOSTAT data (unzipped) is saved |
Emissions from FAO
Abhijeet Mishra
## Not run: readProduction(indicator = "crops") ## End(Not run)
## Not run: readProduction(indicator = "crops") ## End(Not run)