get_total_pop#

class get_total_pop(location=None, pop_datafile=None)[source]#

Load total population for a given country or countries.

Parameters:

location (str or list) – name of the country to load the total population for

Returns:

Dataframe of year and pop_size columns

Return type:

pop_data (dataframe)