ipumspy.api.CpsExtract.__init__

CpsExtract.__init__(samples, variables, description='My IPUMS CPS extract', data_format='fixed_width', **kwargs)[source]

Defining an IPUMS CPS extract.

Parameters
  • samples (List[str]) – list of IPUMS CPS sample IDs

  • variables (List[str]) – list of IPUMS CPS variable names

  • description (str) – short description of your extract

  • data_format (str) – fixed_width and csv supported