ipumspy.api.CpsExtract¶
- class ipumspy.api.CpsExtract(samples, variables, description='My IPUMS CPS extract', data_format='fixed_width', **kwargs)[source]¶
Defining an IPUMS CPS extract.
- Parameters
Attributes
collection
Name of an IPUMS data collection
extract_id
The extract id associated with this extract, assigned by the
IpumsApiClient
extract_info
The API response recieved by the
IpumsApiClient
Methods
Defining an IPUMS CPS extract.
Convert the object into a dictionary to be passed to the IPUMS API as a JSON string
- rtype