leaf_engine.etl.geocode.shapefile_lookup

Attributes

CAN_PROVINCE_FILE

CAN_SHAPES_FILE

S3_ROOT

USA_SHAPES_FILE

USA_STATES_FILE

Functions

_get_ca_province_shapes_df(→ geopandas.GeoDataFrame)

_get_ca_shapes_df(→ geopandas.GeoDataFrame)

_get_us_shapes_df(→ geopandas.GeoDataFrame)

_get_us_states_shapes_df(→ geopandas.GeoDataFrame)

get_shapefile_geometry(→ Union[str, None])

get_shapefile_geometry_state(→ Union[str, None])

Module Contents

leaf_engine.etl.geocode.shapefile_lookup._get_ca_province_shapes_df() geopandas.GeoDataFrame
Return type:

geopandas.GeoDataFrame

leaf_engine.etl.geocode.shapefile_lookup._get_ca_shapes_df() geopandas.GeoDataFrame
Return type:

geopandas.GeoDataFrame

leaf_engine.etl.geocode.shapefile_lookup._get_us_shapes_df() geopandas.GeoDataFrame
Return type:

geopandas.GeoDataFrame

leaf_engine.etl.geocode.shapefile_lookup._get_us_states_shapes_df() geopandas.GeoDataFrame
Return type:

geopandas.GeoDataFrame

leaf_engine.etl.geocode.shapefile_lookup.get_shapefile_geometry(zip, country) str | None
Return type:

Union[str, None]

leaf_engine.etl.geocode.shapefile_lookup.get_shapefile_geometry_state(state, country) str | None
Return type:

Union[str, None]

leaf_engine.etl.geocode.shapefile_lookup.CAN_PROVINCE_FILE
leaf_engine.etl.geocode.shapefile_lookup.CAN_SHAPES_FILE
leaf_engine.etl.geocode.shapefile_lookup.S3_ROOT
leaf_engine.etl.geocode.shapefile_lookup.USA_SHAPES_FILE
leaf_engine.etl.geocode.shapefile_lookup.USA_STATES_FILE