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