geovizir.data#

Module Contents#

Functions#

get_data(→ pandas.DataFrame)

Get data from the World Bank API

get_data_most_recent(→ pandas.DataFrame)

Get the data from the World Bank API with the most

geovizir.data.get_data(indicator: str, year: int) pandas.DataFrame[source]#

Get data from the World Bank API

Parameters:
  • indicator (str) – Indicator code

  • year (int) – Year

Returns:

Dataframe with the data

Return type:

pandas.DataFrame

geovizir.data.get_data_most_recent(indicator: str) pandas.DataFrame[source]#

Get the data from the World Bank API with the most recent year available

Parameters:

indicator (str) – Indicator code

Returns:

Dataframe with the data

Return type:

pandas.DataFrame