katopz / nl-covid

😷 Side project in response to covid-19

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nl-covid

😷 Side project in response to covid-19

Purpose

  • To provide, collect and reflect about covid-19 in Data Science perspective.
  • This is a POC for learning purpose, not ready for production. Please see TODO list below.

Data Studio

How to

  1. Go to Data Studio select JSON connector πŸ‘‰ https://datastudio.google.com/data?search=json

  2. Add data source from πŸ‘‰ https://covid19.th-stat.com/api/open/timeline

  3. Choose metric, dimension

  4. Share report πŸ‘‰ https://datastudio.google.com/s/o8bfzfFBkek

BigQuery

SELECT
  *,
  ROUND(100 * deaths/confirmed, 2) AS death_percent
FROM
  `nl-covid.covid19.trend`
ORDER BY
  date DESC

Dev

cd firebase/functions
# See : https://cloud.google.com/docs/authentication/getting-started
export GOOGLE_APPLICATION_CREDENTIALS=.credential.json
npm run serve
npm run dev

TODO

  • Merge data instead of manually delete.
  • Present to Data Studio.
  • Auto fetch data with Cloud Schedule via Cloud Function.
  • Made prediction with BigQuery ML.

Credit

About

😷 Side project in response to covid-19

License:MIT License


Languages

Language:TypeScript 64.8%Language:JavaScript 17.1%Language:HTML 13.5%Language:CSS 2.4%Language:Python 2.1%