Giter Club home page Giter Club logo

hces_2022's Introduction

Household Consumption and Expenditure Survey 2022-23

This repository consists of the clean data dump generated from the latest household consumption and expenditure survey (HCES), by the NSS. The raw microdata is publicly accessible and can be downloaded here.

Repo Structure

The repository consists of the following files:

  1. 01_docs: This consists of all the survey documentation, including questionnaire, file structure, caveats, state codes etc
  2. 02_code: This has Stata do files which generate clean data files
  3. 03_raw: This consists of all the raw files, taken from the NSS site
  4. 04_clean: This has all the level-wise cleaned dta files

Code

The folder 02_code has the following files

  1. 0_master.do: Sets root directory, folder names etc
  2. 1_clean.do: Extracts all variables from raw txt files, by each level and preliminary cleaning

Replication

To generate the files in 04_output, do the following

  1. Download and unzip the repo
  2. Open the state project hces.stpr. From within the project, open the two files in 02_code
  3. Run both files.

Important Note

This is just the level wise data dump. Further cleaning is still needed. For instance, certain dummy variables need to be recoded, variables need to be labelled, and categorical variables need to be encoded. I will be working on this over the next few days, so stay tuned!

hces_2022's People

Contributors

advaitmoharir avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.