Skip to contents

This function loads and processes UN Estimate data from a specified file path. It performs data cleaning, and renaming.

Usage

load_un_estimates(path, country_iso, start_year, end_year)

Arguments

path

Character. File path to the UN Estimates data file (DTA format).

country_iso

Character. ISO code of the country.

start_year

Integer. The year to start filtering the data

end_year

Integer. The year to start filtering the data

Value

A tibble of class cd_un_estimates containing cleaned and processed UN Estimate data.