ef_emfac reads path to ef EMFAC. You must download the emission factors from EMFAC website.

ef_emfac(
  efpath,
  dg = 750,
  dd = 850,
  dhy = 750,
  dcng = 0.8,
  fill_missing = TRUE,
  verbose = TRUE
)

Arguments

efpath

Character path to EMFAC ef (g/miles)

dg

Numeric density of gasoline, default 750 kg/m3

dd

Numeric density of diesel, default 850 kg/m3

dhy

Numeric density of hybrids, default 750 kg/m3

dcng

Numeric density of CNG, default 0.8 kg/m3

fill_missing

Logical to fill and correct ef = 0

verbose

Logical, to show more information

Value

data.table with emission estimation in long format

Note

Fuel consumption must be present

Examples

if (FALSE) {
# do not run
}