This is a general note for accessing data using python.
The best starting place is to use pandas.datareader but it is relatively slow to update and isn't always the most convenient way to access data. Sometimes it can be beneficial to use a custom library that is more tightly integrated with the api that is offered such as for the WDI.
If we can use datareader it will simplify dependencies
This is a general note for accessing
data
usingpython
.The best starting place is to use pandas.datareader but it is relatively slow to update and isn't always the most convenient way to access data. Sometimes it can be beneficial to use a custom library that is more tightly integrated with the
api
that is offered such as for theWDI
.If we can use
datareader
it will simplify dependenciesIt supports data from these sources
Some other avenues are:
Fred
Penn World Tables
The PWT dataset is only ~6Mb so I typically download it as an Excel file and then use
pandas
to read in the information I needWorld Development Indicators (WDI) by World Bank