Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • CPS Contingent Work Supplement Conversion from ASCII to Stata format

    Hey everyone!

    Would anyone be able to help me convert (or does anyone have the state file already) the CPS Contingent Work Supplement datasets for 1995, 1997, and 1999 from ASCII to .dta format?

    A link to the 1995 data can be found here: https://www.icpsr.umich.edu/icpsrweb/ICPSR/studies/6736.

    Thank you!
    Jacob

  • #2
    There is a message on that website that says the data is only available to ICPSR affiliated institutions--so I can't actually get the download or see a preview of it.

    In any case, either the data are in a fixed-width format, or they are in a delimited file (where variables are separated by some delimiter character, usually tab, comma, or pipe). You can open the data in any text editor and you will be able to see which it is. If it's fixed-width, then you need to use the -infix- command, which will also require you to write a dictionary telling Stata which columns of the file hold which variables. If it's delimited, then you will need to use -import delimited-.

    See -help infix- or -help input delimited- as the case may be for the necessary details.

    Comment


    • #3
      Okay, I wil try. Thank you!

      Comment


      • #4
        I contacted ICPSR and they said that it would be necessary to use the codebook to reconstruct the syntax. I'm not exactly sure what this means.

        Does anyone have access to ICPSR who might be able to do this?

        Thank you!

        Comment


        • #5
          Note: This topic has now migrated to ASCII data to Stata format without a do-file

          Comment

          Working...
          X