setupDataset: Setup datasets loaded from the living conditions survey

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Extracts and transforms variables taken directly from the EU-SILC survey.

Usage

1
2
setupDataset(dataset, country = "ES", region = NULL, s = NULL,
  deflator = NULL, pppr = NULL)

Arguments

dataset

a data.frame containing variables in the EU-SILC microdata format.

country

a character string specifying the country whose data will be considered.

region

a character/vector string specifying the region(s) of the country whose data will be considered. The default (NULL) considers all regions in the country.

s

a numeric value between 0 and 1 specifying the equivalence scale to be used to obtain the equivalised disposable income. The default (NULL) considers the standard modified OECD scale.

deflator

numeric; a number to be used as a deflator. The default (NULL) will not apply any deflation.

pppr

the purchasing power parity rate (PPPR) will be used. Default is NULL.

Details

We obtain the equivalised disposable income with the equivalence scale of Buhmann et al. (1988) by assigning a numeric value between 0 and 1 to argument s. The parameter s is called elasticity of equivalence.

The purchasing power parity exchange rate is useful for making comparisons between countries.

Value

A data.frame with the following variables:

Author(s)

A. Berihuete, C.D. Ramos and M.A. Sordo

References

B. Buhmann et al. (1988) Equivalence scales, well-being, inequality and poverty: sensitivity estimates across ten countries using the Luxembourg Income Study (LIS) database, Review of Income and Wealth, 34, 115–142.

See Also

loadEUSILC, loadLCS

Examples

1
2
3
data(eusilc2)
ATdataset <- setupDataset(eusilc2, country = "AT")
str(ATdataset)

rtip documentation built on May 2, 2019, 7:55 a.m.