nevrome / covid19germany

R package - Load, visualise and analyse daily updated data on the COVID-19 outbreak in Germany
Other
46 stars 8 forks source link

Berlin Landkreise Population not existing - only for whole Bundesland #37

Closed wulms closed 3 years ago

wulms commented 3 years ago

Hello again, I am wondering about Berlin during data analysis.

In the covid19germany::ew_kreise %>% filter(str_detect(NameLandkreis, "Berlin")) only Berlin-Stadt is mentioned, containing the same values than covid19germany::ew_laender %>% filter(str_detect(Bundesland, "Berlin")).

But in the covid19germany::get_RKI_timeseries() %>% select(Bundesland, Landkreis) %>% unique() %>% filter(str_detect(Bundesland, "Berlin")) following Landkreise are included:

$Landkreis [1] "SK Berlin Mitte" "SK Berlin Neukölln" "SK Berlin Marzahn-Hellersdorf" [4] "SK Berlin Tempelhof-Schöneberg" "SK Berlin Pankow" "SK Berlin Friedrichshain-Kreuzberg" [7] "SK Berlin Reinickendorf" "SK Berlin Charlottenburg-Wilmersdorf" "SK Berlin Spandau" [10] "SK Berlin Lichtenberg" "SK Berlin Steglitz-Zehlendorf" "SK Berlin Treptow-Köpenick"

Is there data missing about the population by the RKI of these?

Best, Niklas

nevrome commented 3 years ago

Yes - covid19germany::ew_kreise does not have these subdivisions of Berlin, but I think covid19germany::get_RKI_spatial("Landkreis") has a column EWZ with the relevant information.

wulms commented 3 years ago

Okay - thank you very much! I merge that somehow :)