setup_swiid: Get data from SWIID 9 database

Description Usage Arguments See Also

View source: R/get_solt_functions.R

Description

Gets pre and post tax Ginis from the standardized world income inequality database provided by Solt. Since names of data files change whenever the data is updated one must download the raw data manualle. The '.rda' file from the zip should be used as an input to this functino.

Usage

1
2
3
4
5
6
7
setup_swiid(
  download_data,
  file_name,
  countries_considered,
  first_year,
  last_year
)

Arguments

download_data

If TRUE, data will be downloaded from the internet

file_name

The name of the '.rda' file containing the data.

countries_considered

Vector of iso3c codes of the countries for which data should be assembled.

first_year

First year for which data is to be collected (numeric).

last_year

Last year for which data is to be collected (numeric).

See Also

Other download_helpers: get_oecd_data(), get_worldbank()


graebnerc/competitivenessData documentation built on June 7, 2021, 2:28 a.m.