Students & academic research

A thesis on Pakistan's economy usually starts with weeks of copying numbers out of PDFs. With PakDataHub it starts with a CSV. A free account downloads 5 files a day - each one series, every observation back to its first release, as CSV or Excel - from the chart on its page. For a thesis that needs more in a hurry, take a month of Developer ($19, cancel any time): unlimited downloads and the API over the full history.

Long-run series for time-series work

Topic Series From
Exchange rate fx.rate.avg.usd 1947
FX reserves reserves.total_sbp_reserves 1948
GDP (constant factor cost) gdp.gross_domestic_product_total_gross_value_add_3 1950 (to 2000)
GDP, current base gdp.gross_domestic_product_total_gross_value_add_2 2000
CPI inflation industry.general_cpi_inflation_measure_year_year_2 1964 (to 2020)
SBP reverse-repo rate rates.reverse_repo 1956
Remittances remittances.total_inflow_workers_remittances 1972
Health facilities health.total_number_hospitals 1947
Population by age (census) population.b_w_10_39_years 1951

The downloads carry the full history on every plan. Through the API, the free plan returns the last 5 years; paid plans return every year.

Load it in your tool

R

# a downloaded file: skip the citation line
x <- read.csv("pakdatahub_fx.rate.avg.usd_20261120.csv", comment.char = "#")
# or the API (the last 5 years on the free plan)
x <- read.csv("https://api.pakdatahub.com/v1/series/fx.rate.avg.usd?format=csv&sort=asc&limit=1000&api_key=pk_live_xxx")

Stata

import delimited "https://api.pakdatahub.com/v1/series/inflation.cpi.national.yoy?format=csv&sort=asc&api_key=pk_live_xxx", clear

Python

import pandas as pd
df = pd.read_csv("https://api.pakdatahub.com/v1/series/remittances.total?format=csv&sort=asc&api_key=pk_live_xxx",
                 parse_dates=["date"])

Cite it properly

Cite the official publisher (e.g. "State Bank of Pakistan, Average Exchange Rate of Pak Rupees per U.S. Dollar"), accessed via PakDataHub (pakdatahub.com) on the date you downloaded it - every downloaded file starts with a ready-made citation line. meta.source and the catalog's source_url tell you the publisher and the exact official dataset.

·

Also as Markdown: use-case-students-academics.md · All docs