pudl.output.censusdp1tract module¶
Functions for reading data out of the Census DP1 SQLite Database.
-
pudl.output.censusdp1tract.
get_layer
(layer: Literal[state, county, tract], pudl_settings=None) → geopandas.geodataframe.GeoDataFrame[source]¶ Select one layer from the Census DP1 database.
Uses information within the Census DP1 database to set the coordinate reference system and to identify the column containing the geometry. The geometry column is renamed to “geom” as that’s the default withing Geopandas. No other column names or types are altered.
- Parameters
- Returns
geopandas.GeoDataFrame