ipumspy.api.UsaExtract.__init__

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

Defining an IPUMS USA extract.

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

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

  • description (str) – short description of your extract

  • data_format (str) – fixed_width and csv supported