cenpy.products.ACS¶
-
class
cenpy.products.
ACS
(year='latest')[source]¶ The American Community Survey (5-year vintages) from the Census Bueau
- Attributes
crosstab_tables
All of the crosstab table codes in the Census API for this product.
tables
All of the main table codes in the Census API for this product.
variables
All variables, including columns and search predictates,
Methods
check_match
(self, name, level[, …])A helper function to verify the match used by the product API.
filter_tables
(self[, pattern, by, engine])Filter tables by a given pattern.
filter_variables
(self[, pattern, by, engine])Grabs columns that match a particular search pattern.
from_county
(self, county[, variables, level])Query the Census for the given county.
from_csa
(self, csa[, variables, level])Query the Census for the given CSA.
from_msa
(self, msa[, variables, level])Query the Census for the given MSA.
from_place
(self, place[, variables, level, …])Query the Census for the given place.
from_state
(self, state[, variables, level])Query the Census for the given state.
-
__init__
(self, year='latest')[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(self[, year])Initialize self.
check_match
(self, name, level[, …])A helper function to verify the match used by the product API.
filter_tables
(self[, pattern, by, engine])Filter tables by a given pattern.
filter_variables
(self[, pattern, by, engine])Grabs columns that match a particular search pattern.
from_county
(self, county[, variables, level])Query the Census for the given county.
from_csa
(self, csa[, variables, level])Query the Census for the given CSA.
from_msa
(self, msa[, variables, level])Query the Census for the given MSA.
from_place
(self, place[, variables, level, …])Query the Census for the given place.
from_state
(self, state[, variables, level])Query the Census for the given state.
Attributes
All of the crosstab table codes in the Census API for this product.
All of the main table codes in the Census API for this product.
All variables, including columns and search predictates, available from the API