Learn R Programming

labourR (version 1.0.0)

get_language_code: Get language code from file name

Description

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

Usage

get_language_code(string)

Arguments

string

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

Value

A character vector with two-letter language codes.

Examples

Run this code
# NOT RUN {
get_language_code("occupations_en.csv")

# }

Run the code above in your browser using DataLab