Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

population-tn

Rebaiahmed12MIT1.0.0

This module provides open data on the Tunisia population census in order to assist Tunisian developers in their projects.

tunisia, tn, tunis, open-data, opendata, population, peoples, governorates, municipalities, 2019

readme

Tunisian - Population & Municipalites 🇹🇳🪐


population-tn-logo

Build Status

Coverage Status

Population-Tn allow you to get all tunisian cities populations for the date January 2019.

Link of the dataset OpenGov.

Installation


  • NPM :
    $ npm install population-tn

Usage


Step 1 : Import the module in this way.

$ const populations = require('population-tn');

Step 2 :

  • Get Population_Municipalites :
$ populations.getPopulations();
  • Get Governorate by Governorate Code :
$ populations.getByCode_Gouvernorat(gov_code);
  • Get Governorate by Municiaplity Code :
$ populations.getByCode_Municipalite(muni_code);

Contributing


Keep it simple. Keep it minimal. Don't put every single feature just because you can.

Authors / Contributors / Acknowledgments


License


MIT