Open LisaKatharina opened 8 years ago
Hm, it looks like what is going on is that the map is being generated on the server from some XML object. The code next set of code you give is basically just the instructions for how to draw the map.
One approach might be to try to scrape the content of the tool-tips (the boxes that appear when you hover your mouse of the plot). Though, this might be difficult. As the tool-tip-content tag only includes information for the currently selected region. Hm.
This is going to be a tricky one to scrape.
Dear everyone,
for one of our variables we would like to scrape data from a map (http://www.zeit.de/gesellschaft/zeitgeschehen/2015-08/fluechtlinge-verteilung-quote#comments, "Asylbewerber pro 1000 Einwohner"). When reading the source code, however, the only code (we think) describing the map looks like this:
When inspecting the object itself, however, we see all the information we need (rgb color code and county ID):
We suspect that it has something to do with python, but googleing the problem was not successful.
Ideas, anyone? Thanks for your help!!