Download employment data from Eurostat (dataset lfsq_egan22d) and arrange it to match 64 × 64 symmetric input–output tables (SIOTs).
Usage
employment_get(
geo,
year = "2010",
sex = "Total",
age = "Y_GE15",
labelling = "iotables",
data_directory = NULL,
force_download = FALSE
)Source
Eurostat dataset lfsq_egan22d
Arguments
- geo
A two-letter country code (Eurostat style).
"GB"and"GR"are automatically converted to"UK"and"EL".- year
Year of employment data (>= 2008, when NACE Rev. 2 was introduced).
- sex
Employment by sex. Defaults to
"Total". Alternatives are"Female"/"F","Male"/"M". Case-insensitive.- age
Eurostat age code. Defaults to
"Y_GE15". Any valid Eurostat code may be supplied (see Eurostat metadata).- labelling
Controls output row/column labelling:
"iotables": iotables manual-style labels"prod_na": product × product (CPA codes)"induse": industry × industry (NACE codes)
- data_directory
Optional path to save/load pre-processed employment data (
.rdsfiles). IfNULL, only downloads are used.- force_download
Logical. If
TRUE, forces a fresh Eurostat download even if local cache files exist.
Value
A one-row data.frame containing employment input values aligned
with the chosen SIOT labelling, including an imputed rent column set to 0.
Details
Currently implemented only for product × product tables.
Country codes are harmonized:
"GB"→"UK","GR"→"EL".Sex is normalized internally to Eurostat codes
"T","F","M".Results are cached as
.rdsfiles indata_directoryif supplied.An imputed rent column (
L68A/CPA_L68A) with zero is always added.
See also
Other import functions:
airpol_get(),
iotables_download(),
iotables_metadata_get(),
iotables_read_tempdir()
