Setup datasets loaded from the living conditions survey

Description

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

Usage

1
2
setupDataset(dataset, country = "ES", region = "all", s = "OECD",
  deflac = NULL, ppp = FALSE)

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 string specifying the region of the country whose data will be considered.

s

either a character string or a numeric value between 0 and 1 specifying the equivalence scale to be used to obtain the equivalized disposable income. The default ("OECD") considers the standar modified OECD scale.

deflac

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

ppp

a logical; if it is TRUE the purchasing power parity (PPP) exchange rate will be used.

Details

We obtain the equivalized 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)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.