PopulationByAgeTable
adrio.acs5.PopulationByAgeTable(self,
*,
=None,
fix_insufficient_data=None,
fix_missing )
Loads a table of population categorized by Census-defined age brackets from the US Census ACS 5-Year Data (group B01001). This table is most useful as the source data for one or more PopulationByAge
ADRIOs, which knows how to select, group, and aggregate the data for simulations. ACS5 data is compiled from surveys taken during a rolling five year period, and as such are estimates.
Data is available using CensusScope geographies, from StateScope down to BlockGroupScope (aggregates are computed by the Census Bureau). Data is loaded according to the scope’s year, from 2009 to 2023.
The result is an NxA-shaped array of integers where A is the number of variables included in the table. For example, in 2023 there are 49 variables: 23 age brackets for male, 23 age brackets for female, the male all-ages total, the female all-ages total, and a grand total.
See Also
The ACS 5-Year documentation from the US Census, and an example of this table for 2023.
Attributes
result_format: ResultFormat[np.int64]
-
Information about the format of the ADRIO’s resulting data.
This is an abstract method.
Methods
Name | Description |
---|---|
estimate_data |
Estimate the data usage for this ADRIO in a RUME. |
with_context |
Constructs a clone of this instance which has access to the given context. |
inspect |
Produce an inspection of the ADRIO’s data for the current context. |
evaluate |
Evaluates the ADRIO in the current context. |