All packages

Data coverage and limitations

Data coverage and limitations

  • The package bundles province, district, local-body, local-body-type, and city-wise postal-code datasets.

  • It does not include ward-level data or a getWards() method.

  • The package returns IDs and data as supplied by the bundled JSON files. Validate relationships in your own application when saving an address, such as confirming that a selected district belongs to the selected province.

  • Postal-code validation checks exact values present in the bundled dataset. Update the package data when authoritative postal-code information changes.