Last active
February 22, 2022 05:26
-
-
Save Botiplz/8f26dc40810ff2d39d8bd5fba7d4925c to your computer and use it in GitHub Desktop.
Corona Inzidenz-Widget für Android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KWGT Variablen: | |
Lon: | |
$li(lon)$ | |
Lat: | |
$li(lat)$ | |
url: | |
https://services7.arcgis.com/mOBPykOjAyBO2ZKk/arcgis/rest/services/RKI_Landkreisdaten/FeatureServer/0/query?where=1%3D1&outFields=GEN,cases7_per_100k&geometry=$mu(round,gv(lon),3)$%2C$mu(round,gv(lat),3)$&geometryType=esriGeometryPoint&inSR=4326&spatialRel=esriSpatialRelWithin&returnGeometry=false&outSR=4326&f=json | |
InzGEN: | |
$wg(gv(url), json, .features[0].attributes.GEN)$ | |
InzCases: | |
$wg(gv(url), json, .features[0].attributes.cases7_per_100k)$ | |
InzNum: | |
$mu(round,gv(inzCases),1)$ | |
InzFarbe: | |
$if(gv(inznum)>50, #FFFF0000, gv(inznum)>35, #FF00F70F, #FFFCAD00)$ | |
Moin,
seit ein paar Tagen funktioniert der Abruf der Neuinfektionen in DE nicht mehr. Hat sich der Link verändert?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi zusammen,
ich würde gerne die Hospitalisierungsinzidenz in das Widget scrapen. Leider gibt es hier keine JSON-Daten zum abrufen, sondern nur im csv-format unter folgender Adresse: https://github.com/robert-koch-institut/COVID-19-Hospitalisierungen_in_Deutschland
Wie geht das denn? Gibts da ne Anleitung? Danke :-)