Closed Uwe-B closed 3 years ago
"Bundesland" | "Landkreis"
is not correct syntax. Same holds true for Bundesland | Landkreis | Gender | Age
. Maybe our example code is a bit confusing.
You can call either covid19germany::get_RKI_spatial("Bundesland")
or covid19germany::get_RKI_spatial("Landkreis")
. And either covid19germany::group_RKI_timeseries(data, Bundesland)
or covid19germany::group_RKI_timeseries(rki, Age)
, ...
I used the readme examples.
Thank You, now I understand, sorry my fault. Still got this error:
covid19germany::group_RKItimeseries(data, Bundesland) Fehler in UseMethod("select") : nicht anwendbare Methode für 'select_' auf Objekt der Klasse "function" angewendet
I made the example code more clear now. Please try this:
rki <- covid19germany::get_RKI_timeseries()
covid19germany::group_RKI_timeseries(rki, Bundesland)
Thanks You, it is working! I see my problem now. Willt try to work with it now without bothering you.
Good luck!
New to R, running R 4.0.3 on Win7. Not sure what went wrong. Several errors, help is much appretiated: