to_gpd_gdf_async#

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

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

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.