MedianAge

adrio.acs5.MedianAge(self, *, fix_insufficient_data=False, fix_missing=False)

Loads median age data from the US Census ACS 5-Year Data (variable B01002_001E). 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 floats.

Parameters

fix_insufficient_data: Fill[np.float64] | 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.float64] | 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.float64]

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.