zdavatz / covid2019_ch_map Goto Github PK
View Code? Open in Web Editor NEWCreate a map of Switzerland and plot the COVID19 data on the map.
License: GNU General Public License v3.0
Create a map of Switzerland and plot the COVID19 data on the map.
License: GNU General Public License v3.0
Add Covid19 deaths to map with https://github.com/daenuprobst/covid19-cases-switzerland/blob/master/covid19_fatalities_switzerland.csv
Enter them per canton behind the /
If swiss.png is not there it is not being created
~/.software/covid2019_ch_map> node main.js
fs.js:119
throw err;
^
Error: ENOENT: no such file or directory, open 'swiss.png'
at Object.openSync (fs.js:448:3)
at Object.readFileSync (fs.js:348:35)
at Object.<anonymous> (/home/zeno/.software/covid2019_ch_map/main.js:25:35)
at Module._compile (internal/modules/cjs/loader.js:799:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:810:10)
at Module.load (internal/modules/cjs/loader.js:666:32)
at tryModuleLoad (internal/modules/cjs/loader.js:606:12)
at Function.Module._load (internal/modules/cjs/loader.js:598:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:862:12)
at internal/main/run_main_module.js:21:11
git pull
./meta_scrape.sh > current.txt
(python 3.7 required)current.txt
Do not only publish the Map to Twitter, also Publish to Linkedin.
Cleaning data for the sheet
/home/zeno/.software/covid2019_ch_map/main.js:101
if (key.canton.length === 2) {
^
TypeError: Cannot read property 'length' of undefined
at /home/zeno/.software/covid2019_ch_map/main.js:101:22
at arrayMap (/home/zeno/.software/covid2019_ch_map/node_modules/lodash/lodash.js:639:23)
at Function.map (/home/zeno/.software/covid2019_ch_map/node_modules/lodash/lodash.js:9554:14)
at Request._callback (/home/zeno/.software/covid2019_ch_map/main.js:100:22)
at Request.self.callback (/home/zeno/.software/covid2019_ch_map/node_modules/request/request.js:185:22)
at Request.emit (events.js:315:20)
at Request.<anonymous> (/home/zeno/.software/covid2019_ch_map/node_modules/request/request.js:1154:10)
at Request.emit (events.js:315:20)
at IncomingMessage.<anonymous> (/home/zeno/.software/covid2019_ch_map/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:421:28)
This is a proposal
-everytime you update the kml, map is updated
show last imported date, and total number of cases at the bottom of the map.
Build map with data from this file:
build with option BAG
Make the credentials file like here: https://github.com/sferik/t - filename is .trc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.