Giter Site home page Giter Site logo

bls's People

Contributors

m0nhawk avatar

Watchers

 avatar  avatar

bls's Issues

"Packagize" existing code

I'd like to turn all of this into an R package. I've found this to be a surprisingly useful way to structure things, as it handles all the dependencies and it makes it very clear how others can use it. Here's an example of one I've been making:

https://github.com/johnjosephhorton/techbios

The basic structure:

  • Put your data and any loading/cleaning scripts in /data-raw
    -- Use the devtools "use_data" function to create R objects for your "IO" functions to use
  • Use the /R functions to write tables/images etc.

Let me know if this makes sense. Please ping me on Upwork messenger when you get a chance.

Obtain and filter R&L data

Find the source data for R&L article.

The table presents summary statistics from the March Annual Demographic Survey files of the Census Bureau’s CPS for the work years 1994 through 2010, for prime age workers (25 through 55 years old), excluding people living within group quarters, with missing data on relevant demographics, with allocated earnings, and those working in agriculture or the military. The CPS classifies all workers in each year as either salaried or self-employed, and among the self-employed, they indicate whether the person is incorporated or unincorporated self-employed.

Employment Transitions

Calculate the percent of employments transition based on:

  • Empoyment type
  • Earnings
  • Education type

The table presents information on the characteristics of individuals transiting across employment
types each year. The data include prime age (25-55) white males, over the work years from 1994 through 2010, and exclude the same individuals defined in the notes to Table 1. Panel A provides information on the percentage of workers of a particular employment type last and their employment type this year. Thus, 0.8% of salaried workers transit from salaried to incorporated self-employment in an average year. Panel B provides information on median hourly earnings last year for each of these transitions. Thus, the median hourly earnings last year of those that transited from salaried to incorporated self-employment was 26.8. Panel C provides information on the median years of education last year for each of these transition cells. Thus, the median years of education last year of those that transited from salaried to incorporated self-employment was 14.7.

Displaced worker survey

Hello Mr. Horton,

Thank you for your interest in Displaced Worker Supplement to Current Population Survey (CPS).

  1.   Yes, the Displaced Workers Supplement provides variables such as lost job industry and class of worker (PES1ICD & PESCOW1) and current job industry and class of worker (PEIO1ICD & PEIO1COW)
    
  2.   Yes, data and documentation for recent years is available at:
    

    http://thedataweb.rm.census.gov/ftp/cps_ftp.html#cpssupps

Microdata is also available from NBER, including SAS, STATA, and SPSS programs to read the microdata:
http://data.nber.org/data/current-population-survey-data.html
http://data.nber.org/data/cps_progs.html

  1.   The published tables were generated using TPL code.  We do not currently have SAS or STATA code to generate the published tables. Please let me know if you would like to see the TPL code or if you have any other questions.
    

Thanks,

Gaim

Gaim Medhin
Bureau of labor Statistics
202-691-5452

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.