get_language_code: Get language code from file name

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

Occupations' labels and structure are exposed at the ESCO web portal. This function retrieves languages from the downloadable CSVs, see escopedia.

Usage

1

Arguments

string

Filepath with a language code as given by ESCO downloadable .CSVs.

Value

A character vector with two-letter language codes.

Examples

1
get_language_code("occupations_en.csv")

labourR documentation built on July 18, 2020, 5:06 p.m.