PEVS Forestry production

Loads quantity produced and yield value of forestry extraction, by type of product, from 1986 to 2019

load_pevs_silvprod(
  years,
  aggregation_level = "country",
  language = "pt",
  long = FALSE
)

Arguments

years

A vector indicating what years will the data be loaded

aggregation_level

A string that defines the geographic level of the data. Defaults to National level, but can be one of "country", "region", "state", "mesoregion", "microregion" and "city"

language

A string that indicates in which language the data will be returned. The default is "pt", so your data will be returned in Portuguese. Currently, only Portuguese and English are supported.

long

A boolean that sets the format of the returned data. long = TRUE will return a list where each data frame represents a variable and products are transformed to columns so each geographical aggregation level/year will only have a single line. Default value is FALSE.

Value

A data frame or a list of data frames if long is set to TRUE.

Author

DataZoom, Department of Economics, Pontifical Catholic University of Rio de Janeiro

Examples

if (FALSE) datazoom.amazonia::load_pevs_silvprod(2013, aggregation_level = "country")