Skip to content

bralat/gh_admin_divisions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ghana Administrative Divisions

This repo contains some data on the administrative levels of Ghana (Regions, MMDA and Towns) in a sqlite database, csv and json formats. Please note that not all towns are captured in the data and there may be repitions in towns

Get started

To install

npm install

For easy download, the csv and json data are provided. To regenerate the data, you can make use of the following commands

  1. To export all tables into csv and json
node main.js
  1. To return only a single table, add the table option in the command. For example, if you want to retrieve the list of regions
node main.js --table=regions
  1. if you want the table in a particular format(csv, json)
node main.js --table=regions --format=csv

SQLite

To make changes to the sqlite db, you can use any of the available sqlite editors out there. The one that worked well for me was SQLiteStudio

Contribution

Calling all volunteers to help maintain this repo in the following ways

  1. Updating information in a timely manner
  2. adding necessary features to make it more user and dev friendly

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published