applied-science / covid19-clj-viz

REPL notebook for COVID19 visualization article – example code to produce maps in Vega from Clojure
http://www.appliedscience.studio/articles/covid19.html
MIT License
44 stars 13 forks source link

Italy #2

Closed schmudde closed 4 years ago

schmudde commented 4 years ago

Italy province and region data. A few notes:

  1. I didn't change much on italia.clj, I just added a few functions. I can clean up the unused parts if you prefer.
  2. I don't like the solution of pulling yet another repository. Maybe you just want to leave this as a branch and not merge it? I went with the data closest to the source rather than Johns Hopkins.
  3. I don't like the non-DRY code in viz.clj. I just didn't want to change much of what was already there. I'm happy to abstract a more general solution.

I can take screen grabs and add them to the README if you would like. Note that this shows interesting data on both regions or provinces, depending on what the user wants.

daveliepmann commented 4 years ago

I'm going to merge then do some clean-up. A second PR with a screen capture or downloaded PNG from the Vega-embed UI would be welcome.