to_dd_gpd_gdf#

static FredHelpers.to_dd_gpd_gdf(shapefile, meta_data)[source]#

Helper method to convert a FRED observation dictionary to a Dask GeoPandas GeoDataFrame.

Parameters:
  • shapefile (gpd.GeoDataFrame) – FRED shapefile GeoDataFrame.

  • meta_data (Dict) – FRED response metadata dictionary.

Returns:

Converted Dask GeoPandas GeoDataFrame.

Return type:

dask_geopandas.GeoDataFrame

Raises:
  • ImportError – If Dask GeoPandas is not installed.

  • ValueError – If no data section is found in the response.