extract_region_type_async#

async static FredHelpers.extract_region_type_async(response)[source]#

Helper method to extract the region type from a GeoFred response dictionary asynchronously.

Parameters:

response (Dict) – FRED GeoFred response dictionary.

Returns:

Extracted region type.

Return type:

str

Raises:

ValueError – If no meta data or region type is found in the response.