russell-pollari / ontario-covid19 Goto Github PK
View Code? Open in Web Editor NEWSimple dashboard that fetches official Covid-19 data from the Ontario government and visualizes it
Home Page: https://russell-pollari.github.io/ontario-covid19/
Simple dashboard that fetches official Covid-19 data from the Ontario government and visualizes it
Home Page: https://russell-pollari.github.io/ontario-covid19/
https://ontario-covid-dash-metabaase.herokuapp.com/public/dashboard/0ae903a6-a86d-4f9e-8166-a638d3fcaea0 the link to the data on this page is missing ending "o" in ontario.
FYI - We've been walking a similar path https://github.com/Consensas/covid
Hi Russel,
in https://russell-pollari.github.io/ontario-covid19/canada
Total cases in Canada (and each province)
BC, QC and AB not updating
also looks like Mar 26 and 27 is the same for all
Thank you
Graphs like Total cases
and Total deaths
might make more sense as area graphs, instead of bar graphs, since they display cumulative data rather than data points that change day to day.
If you're interested in making such a change it's available in this branch. These are less bugfix-y, and more a matter of personal preference, but I can make a PR if you would like.
Command in scrape.sh out of date. This is a tricky one, since numbers are being reported in an embedded tableau frame
in Table Confirmed Cases in Ontario
change status instution > institution
Steps to repro:
visit https://russell-pollari.github.io/ontario-covid19/
click PHUs
Browser reloads to PHUs page with javascript.
url bar is changed to https://russell-pollari.github.io/phu
Now refresh, or copy/paste the url to a new window.
https://russell-pollari.github.io/phu doesn't work.
It should be https://russell-pollari.github.io/ontario-covid19/phu
Thank you for providing this nice data representation!
Both of these records display repeating 7-day trends, so it might make sense to add a rolling average for both.
In the case of new tests it might make sense to drop Pending tests
in favor of a 7-day rolling average, since Ontario seems to be getting all tests done within 1-2 days fairly consistently.
These are less bugfix-y, and more a matter of personal preference, but I can make a PR if you would like. Branch available here.
Add header + menu + summary table
Hi,
Thanks for providing this site, it's very useful!
I noticed today that the about link when you click on "About this dashboard" shows a 404 page.
Also, how does the data update? At 10am EST on January 27th, there's already data for January 27th, and it doesn't update later in the day as far as I can tell. Do the underlying datasets get updated with preliminary numbers or something?
command in scrape.sh
is out of date
Metabase has been a great tool so far but has limited features for customizing plots and adding interactivity. It also puts the data visualization and plotting outside of version control and consumes a lot of memory.
I looked at a few libraries and having a good experience with Recharts https://recharts.org/en-US/ and will be migrating all my visualizations to there for the next version of this dashboard.
Is there a reason get_latest_news.py isn't in the src/ directory?
Need to run npm run build
every time I make a change to make sure the static pages in docs/
get updated.
Sometimes I forget.
This could be automated with a CI/CD tool like CircleCi or Github actions
Hi,
The stats tab doesn't seem to load. There's a JS error in the console:
Uncaught SyntaxError: expected expression, got '&'
ontario-covid19:4:12
Ontario.ca is now showing resolved cases count here: https://www.ontario.ca/page/2019-novel-coronavirus#section-0
It would be helpful to see a graph showing total number of confirmed cases along with resolved and deceased numbers.
Ontario is publishing a dataset showing the percent positivity broken down by age group and date. Worth adding a plot to the Stats page
https://data.ontario.ca/dataset/ontario-covid-19-testing-metrics-by-public-health-unit-phu
Command in scrape.sh is out of date
Takes a while to load and compile. Maybe cache/save the compiled data? Or fetch and load earlier?
bash scraper in scrape.sh
is outdated for Lambton PHU
Ontario is publishing data for testing ph PHU. Should add the the PHU page
https://data.ontario.ca/dataset/ontario-covid-19-testing-metrics-by-public-health-unit-phu
Ontario is maintaining a CSV of confirmed cases here (seems to be a few days behind). But no longer need to scrape historical webpages
https://data.ontario.ca/en/dataset/confirmed-positive-cases-of-covid-19-in-ontario
Would be nice to summarize Vaccine stats in a pretty table like the case stats are
I think the & in KINGSTON, FRONTENAC, LENNOX & ADDINGTON is breaking the query
Hi Russel,
It seems that ontario.ca changed their website which broke the scraper. https://russell-pollari.github.io/ontario-covid19/ no longer seems to be updating.
Also, the data on https://www.ontario.ca/page/2019-novel-coronavirus#section-0 does not seem to tally with the old data for some reason. As of March 30, 2020 at 10:30 AM, total tests conducted according to the new data are 48,461 as opposed to the current reading on https://russell-pollari.github.io/ontario-covid19/ which lists total tests as 49,190 as or March 29, 2020 at 5:30 PM.
The ResponsiveContainer component from ReCharts does not react well to a shrinking screen. It's very slow.
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.