ipumspy.api.UsaExtract¶
- class ipumspy.api.UsaExtract(samples, variables, description='My IPUMS USA extract', data_format='fixed_width', **kwargs)[source]¶
Defining an IPUMS USA 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 USA extract.
Convert the object into a dictionary to be passed to the IPUMS API as a JSON string
- rtype