Logo Lanfrica

stevesong/old-afterfibre

Domaine:

digital infrastructuregeospatial

Type de record:

dataset
Créateur:
ste
Hôte:
Scripts and visulization for Steve Song's African Terrestrial Fibre Optic Cables dataset Geodata showing African terrestrial fibre optic cable projects. Data is available as CSV or JSON (+ GeoJSON) via the DataStore API. ### Data Primary data file is the CSV resource: However, this data needed to be cleaned up and converted to geojson for storing in the DataHub DataStore and visualization. Details of this below. #### Cleaning Use data package manager (dpm) to clone the DataHub dataset. # say yes to downloading of data files dpm clone thedatahub.org . You will now have an afterfibre directory containing the dataset. cd afterfibre Grab scripts from the code repository git clone github.com . Now run cleanup - note you will need to install geojson (pip install geojson) python convert.py Now you have json version of data in data/AfTerFibre_21nov2011.json. We will upload this to the DataHub DataStore for the original CSV. Note: you will need the DataStore client from gist.github.com ckan-datastore.py upload thedatahub.org data/AfTerFibre_21nov2011.json Let's check the result: thedatahub.org Now the data's ready for easy visualization in javascript! (Check ou the visualization resource).