Skip to content

lgelauff/svgmaps

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

svgmaps

The code consists largely of three notebooks to create COVID-maps for US states colored by district from blank maps and csv-datafiles. The csv's are drawn from Johns Hopkins' COVID-19 dataset.

First, there's a notebook states_mapcleaner.ipynb to cast the blank maps in the format we want. This notebook is especially messy, and may need some tweaking to get it to work (re-running chunks etc). Second, there's a notebook covid_mapmaker.ipynb to create the colored maps. Third, there's a notebook uploadfile.ipynb to upload the maps to Wikimedia Commons.

states_svg_albers contains the albers projection original maps that serve as input for mapcleaner. Blankmaps contains the result of mapcleaner and input for mapmaker. Data is the folder for data files. mapmaker will collect more up to date csv for the covid data, but you may want to manually update the rest. Finally, the files will be stored in output. This code was originally developed by @balling .

The mapmaker is built on code originally developed by Sukolsak Sakshuwong.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published