ipumspy.api.NhgisDataset#
- class ipumspy.api.NhgisDataset(name, data_tables, geog_levels, years=<factory>, breakdown_values=<factory>)[source]#
IPUMS dataset object to include in an
AggregateDataExtractobject.- Parameters:
name (
str) – IPUMS dataset namedata_tables (
List[str]) – IPUMS data tables to extract from this datasetgeog_levels (
List[str]) – Geographic level(s) at which to obtain data for this datasetyears (
Optional[List[str]]) – Years for which to obtain data for this dataset (use['*']to select all years)breakdown_values (
Optional[List[str]]) – Breakdown values to apply to this dataset
Attributes
nameIPUMS dataset name
data_tablesIPUMS data tables to extract from this dataset
geog_levelsGeographic level(s) at which to obtain data for this dataset
yearsYears for which to obtain data for this dataset (use
['*']to select all years)breakdown_valuesBreakdown values to apply to this dataset
Methods