Skip to content

pakdatakit/geo

Function Description
getProvince Returns the province for a given Pakistani city name.
searchCities Searches cities by partial, case-insensitive name match.
getDistrictProvince Returns the province for a given Pakistani district name.
searchDistricts Searches districts by partial, case-insensitive name match.
getDistrictsByProvince Returns all districts for a given province (case-insensitive).
getDivisions Returns the administrative divisions of Pakistan, or of one province.
getDivisionOfDistrict Returns the division a district belonged to in the 2023 census.
getTehsils Returns the tehsils (talukas, sub-divisions) of a district.
getTehsilDistrict Returns the district a tehsil was in at the 2023 census.