This app displays the current corona data, e.g. total infections, deaths, etc., of the respective areas in Germany.
In addition, the colors of the corona traffic lights are displayed in order to have clarity at a glance about possible restrictions (7-day incidence per 100,000 population <35: green ; <50: yellow ; <100: red ; <200: dark red ; >200 purple (Hotspot)).
Only the current data is displayed, no histories over several days.
- For Bavarian cities and districts the data of the LGL Bayern
- For all other cities, counties, states and Germany the data of the Robert Koch Institute
- For worldwide statistics the data from worldometers.info
The parsing of the data was extracted to a separate library, which can also parse the data from the Johns Hopkins University and additional data from worldometers.info.
Of course, it may also be used in other projects.
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add the dependency
dependencies {
implementation 'com.gitlab.asdoi:coronastats:v1.5'
}