read_and_interpolate: Read raw emissions data file and interpolate to target years

Description Usage Arguments Value Author(s)

View source: R/read_and_interpolate.R

Description

Read raw emissions data file and interpolate to target years

Usage

1
2
read_and_interpolate(file, start_year = NULL, end_year = 2100,
  scale = 1, ...)

Arguments

file

Raw emissions data file

start_year

Target start year for interpolation. If NULL (default), use smallest year in input data.

end_year

Target end year for interpolation. If NULL (default), use largest year in input data.

scale

Numeric factor by which to multiply values, e.g. to convert units (default = 1; i.e. no conversion).

...

Additional arguments to readr::read_csv().

Value

data.frame containing interpolated data, with columns year and value.

Author(s)

Alexey Shiklomanov


ashiklom/hector_permafrost_emit documentation built on March 26, 2020, 12:15 a.m.