Skip to content

ngmarchant/shiw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pre-processing script: Survey of Household Income and Wealth (Bank of Italy)

The Bank of Italy makes anonymised microdata available from its Survey of Household Income and Wealth. Further information about the data and conditions for use is available here.

For many applications, it is useful to have a unique identifier for individuals across waves of the survey (from 1989 and onwards). Unique identifiers are not provided in the original data, however they can be inferred somewhat reliably using Stata code developed by Simona Baldi and Michele Pellizzari.

This repository contains an R script which is inspired by the Stata code referenced above. It downloads the historical database from the Bank of Italy's website, extracts the "Components" data set, infers unique identifiers and saves the result to disk as a CSV file. Further information about the "Components" data set is available in the documentation (p. 14-19) published by the Bank of Italy.

To run the script, download generate-comp-fixed.R and run the following in a terminal:

$ Rscript generate-comp-fixed.R

About

Pre-processing script for data from the Survey of Household Income and Wealth

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages