population library
District and tehsil population, households and urban/rural split from Pakistan's 2023 census.
Same as the pakdatakit/population entry point of the npm package.
Classes
- DataSource
- The source of the dated record a result was calculated from: which dataset, the period that record applies to, and the law or notification behind it.
- DistrictPopulation
- Result of getDistrictPopulation: a district's 2023 census counts.
- TehsilPopulation
- Result of getTehsilPopulation: a tehsil's 2023 census counts.
Functions
-
getDistrictPopulation(
String district) → DistrictPopulation? -
A district's population, households and urban/rural split from
Pakistan's 2023 census (Pakistan Bureau of Statistics), for any of the
177 districts in
getDistrictsByProvince. -
getTehsilPopulation(
String tehsil, [String? district]) → TehsilPopulation? - A tehsil's (or taluka's, sub-division's) population, households and urban/rural split from the 2023 census, for the 591 units in the census tables.