MedianIncome
self, *, fix_insufficient_data=False, fix_missing=False) adrio.acs5.MedianIncome(
Loads median income data in whole dollars from the US Census ACS 5-Year Data (variable B19013_001E), which is adjusted for inflation to the year of the data. 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 N-shaped array of integers.
Parameters
fix_insufficient_data:
Fill
[np.int64] | int | Callable[[], int] | Literal[False] = False-
The method to use to fix values for which there were insufficient data to report (sentinel value: -666666666).
fix_missing:
Fill
[np.int64] | int | Callable[[], int] | Literal[False] = False-
The method to use to fix missing values.
See Also
The ACS 5-Year documentation from the US Census.
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. |