This is fantastic work Jesse! You wouldn't have to be a #codenewbie to be proud of this.
One thing I noticed - the data for Australia is missing on the graphs page. I've been following the COVID data pretty closely, and would like to use your site regularly.
Well done, and keep up the good work!
Hi Mary-Anne,
This was a much easier fix than I originally thought. The data for Australia (and China, and likely a few others) was actually missing in the API endpoint that I originally used, and I thought I would need to aggregate the province data all together. Instead, I found a different endpoint that had the country totals, and I just needed to filter out the early days for each country before there were any confirmed cases. Thank you for pointing this out so I could fix it.
The updates are up on the site now - let me know if anything looks amiss in Australia! COVID-19 World Tracker
Thank you for the positive feedback, and for pointing out the bug with Australia. With 248 countries, I haven't tested all of them!
When I look at the API for Australia, I can now see the cause of the issue. It looks like there is a separate object for each province for each day, while virtually all of the others are reporting aggregate data for the entire country (one object per day). Check back in a few days - I should be able to include a function to aggregate that data.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This is fantastic work Jesse! You wouldn't have to be a #codenewbie to be proud of this.
One thing I noticed - the data for Australia is missing on the graphs page. I've been following the COVID data pretty closely, and would like to use your site regularly.
Well done, and keep up the good work!
--Mary-Anne, Senior Ruby Developer, Envato Australia.
Hi Mary-Anne,
This was a much easier fix than I originally thought. The data for Australia (and China, and likely a few others) was actually missing in the API endpoint that I originally used, and I thought I would need to aggregate the province data all together. Instead, I found a different endpoint that had the country totals, and I just needed to filter out the early days for each country before there were any confirmed cases. Thank you for pointing this out so I could fix it.
The updates are up on the site now - let me know if anything looks amiss in Australia!
COVID-19 World Tracker
Thank you for the positive feedback, and for pointing out the bug with Australia. With 248 countries, I haven't tested all of them!
When I look at the API for Australia, I can now see the cause of the issue. It looks like there is a separate object for each province for each day, while virtually all of the others are reporting aggregate data for the entire country (one object per day). Check back in a few days - I should be able to include a function to aggregate that data.