Power BI: Connecting to the World Bank Data using API (WBGAPI)
DescriptionThe World Bank Group has a lot of economic and social data on their servers, which is available for free. You can download and use the data too, but today we will show you how to connect power bi directly to their data, through API, and create dashboards using that data. World Bank API is a combination of url, and query string. You can select countries, by entering their alpha codes, separated by semicolon, or use "all" to include all countries. You can use indicator codes to include information. If more than one indicator is used, they must be separated by a semicolon, and "source=2" must be added to the query string. URL and the query string are separated by a question mark "?". As mentioned earlier, if more than one indicators are used, "source=2", must be added to the query string. You can define date parameter, to extract information for a pacific period. You can also define a range, using a colon between two years. By default large information is split between pages, however, you can also define how much information you want to display on one page, define larger number than the total items, and you can get all information on one page.
Following query was used in the demo:
#powerbi #worldbank #wbgapi #worldbankapi #dashboard #visualization