Coder Social home page Coder Social logo

Comments (4)

Sikerdebaard avatar Sikerdebaard commented on June 12, 2024

Yup, the dashboard has changed formats. The new data is now in this file https://github.com/Sikerdebaard/netherlands-vaccinations-scraper/blob/main/vaccine_administered_total.csv

Alternatively you can pull the data from the dashboard's JSON directly
https://coronadashboard.rijksoverheid.nl/json/NL.json

vaccine_administered_total or any of the vaccine_administered_* keys for specific instances.

from netherlands-vaccinations-scraper.

wbijster avatar wbijster commented on June 12, 2024

Many thanks once again!! Somehow the date seems to be one day off: the max date as reported below the data at the dashboard is currently the 19th ("Waarde van vrijdag 19 februari" ) and it is the 18th in the CSV (but the values for reported and estimated vaccinations are in sink with the latest values at the dashboard). It is probably wrong in the source json but I did not convert the Unix date myself (sorry, I also notice the text "Laatste waardes verkregen op donderdag 18 februari. " somewhere else at the dashboard).

from netherlands-vaccinations-scraper.

Sikerdebaard avatar Sikerdebaard commented on June 12, 2024

There's two different ways to look at the dashboard data. Technically the doses administered describes the value of the previous day. But the dashboard shows a date on when the number was published as well. This shifts everything by one day. Does that make sense?

from netherlands-vaccinations-scraper.

wbijster avatar wbijster commented on June 12, 2024

Yes, I understand. I guess that they changed the date reported with the data while moving the data to the json. It felt like loosing a day but it is the same thing. I now processed the Unix dates btw, using the pd.to_datetime with unit='s', I did not expect that it would be that easy to process the data, many thanks for the example!

from netherlands-vaccinations-scraper.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.