agEmployment: agEmployment

View source: R/agEmployment.R

agEmploymentR Documentation

agEmployment

Description

returns employment in crop+livestock production from MAgPIE results

Usage

agEmployment(
  gdx,
  type = "absolute",
  detail = TRUE,
  level = "reg",
  file = NULL,
  dir = "."
)

Arguments

gdx

GDX file

type

"absolute" for total number of people employed, "share" for share out of working age population

detail

if TRUE, employment is disaggregated to crop products, livestock products and (if available) mitigation measures, if FALSE only aggregated employment is reported

level

spatial aggregation to report employment ("iso", "reg", "glo" or "regglo", if type is "absolute" also "grid")

file

a file name the output should be written to using write.magpie

dir

for gridded outputs: magpie output directory which contains a mapping file (rds) for disaggregation

Value

employment in agriculture as absolute value or as percentage of working age population

Author(s)

Debbora Leip

Examples

## Not run: 
x <- agEmployment(gdx)

## End(Not run)

pik-piam/magpie4 documentation built on Dec. 20, 2024, 1:59 p.m.