to_gpd_gdf#
- static FredHelpers.to_gpd_gdf(shapefile, meta_data)[source]#
Helper method to convert a fred observation dictionary to a GeoPandas GeoDataFrame.
- Parameters:
shapefile (gpd.GeoDataFrame) – FRED shapefile GeoDataFrame.
meta_data (Dict) – FRED response metadata dictionary.
- Returns:
Converted GeoPandas GeoDataFrame.
- Return type:
gpd.GeoDataFrame
- Raises:
ValueError – If no data section is found in the response.