Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Daten updaten nicht #2

Closed
christophbaur opened this issue Mar 26, 2022 · 0 comments · Fixed by #3
Closed

Google Daten updaten nicht #2

christophbaur opened this issue Mar 26, 2022 · 0 comments · Fixed by #3
Labels
bug Something isn't working

Comments

@christophbaur
Copy link
Owner

Skript Google_Mobilitaet_rollend.R

Problem

Google hat den Report umgestellt bzw. gerade Probleme mit den Daten GoogleCloudPlatform/covid-19-open-data#542.

Das führt dazu, dass hier keine aktuellen Daten mehr kommen

#Daten von Google beziehen (Komplett)
google_mobility <- read.csv("https://storage.googleapis.com/covid19-open-data/v2/CH_ZH/main.csv",
                            encoding = "UTF-8")

Lösungsansatz

Umbau auf diesen Link
read.csv("https://storage.googleapis.com/covid19-open-data/v3/mobility.csv")
siehe auch https://github.com/GoogleCloudPlatform/covid-19-open-data/blob/main/docs/table-mobility.md

Allerdings funktioniert der Filterkey CH_ZH dort nicht, d.h. alle Daten laden und dann im Skript selbst filtern. Nicht sehr Dateneffizient, aber kein Problem.

@christophbaur christophbaur added the bug Something isn't working label Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant