Package 'EFFORT'

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

Help Index


Calculate Emission Intensities

Description

Calculate Emission Intensities

Usage

calcEmissionIntensities(source_folder = NULL)

Arguments

source_folder

Folder where FAOSTAT data (unzipped) is saved

Value

Emission intensities for IMPACT activities

Author(s)

Abhijeet Mishra

Examples

## Not run: 
calcEmissionIntensities(source_folder)

## End(Not run)

Calculate emissions from an IMPACT run

Description

Calculate emissions from an IMPACT run

Usage

calcImpactEmissions(
  gdx = NULL,
  source_folder = NULL,
  ef_db = NULL,
  efficiency_improvement = 0.02
)

Arguments

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)

Value

Emissions from an IMPACT run

Author(s)

Abhijeet Mishra

Examples

## Not run: 
calcImpactEmissions()

## End(Not run)

Cleanup fao data

Description

Cleanup fao data

Usage

clean_fao(f)

Arguments

f

Name of file downloaded from FAOSTAT

Value

Cleaned FAO data

Author(s)

Abhijeet Mishra

Examples

## Not run: 
clean_fao(f = "Emissions_crops_E_All_Data_(Normalized).csv")

## End(Not run)

Function to return mapping for IMPACT results

Description

Function to return mapping for IMPACT results

Usage

mapping(type = "j")

Arguments

type

which mapping to return (j or c or cty to region)

Value

Mapping set (activity, commodity etc,)

Author(s)

Abhijeet Mishra

Examples

## Not run: 
mapping(type = "j")

## End(Not run)

Read Emission data from FAO

Description

Read Emission data from FAO

Usage

readEmissions(indicator = "crops", source_folder = NULL)

Arguments

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

Value

Emissions from FAO

Author(s)

Abhijeet Mishra

Examples

## Not run: 
readEmissions(indicator = "crops")

## End(Not run)

Read Production data from FAO

Description

Read Production data from FAO

Usage

readProduction(source_folder = NULL)

Arguments

source_folder

Folder where FAOSTAT data (unzipped) is saved

Value

Emissions from FAO

Author(s)

Abhijeet Mishra

Examples

## Not run: 
readProduction(indicator = "crops")

## End(Not run)