5
$\begingroup$

I would like to process an image from this Wikipedia page to get the structured data out

electoral map

Like so

<| "New York" -> 28, ... |>

Not sure where to start.

$\endgroup$

closed as too broad by Kuba, István Zachar, Mr.Wizard Jul 15 '16 at 8:45

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ You can start with CountryData. guess projection and highlight image for each state, text recognize on what is left. Mask whole country and try to text recognize rest. $\endgroup$ – Kuba Jul 14 '16 at 18:44
  • 1
    $\begingroup$ This is an interesting question, and Kuba's approach is very promising as well, but if all you need is the data, then you could extract it more easily from a tabular form from e.g. here. Alternatively, an equivalent map from Adam Carr's site have a zoomed in version for New England that may make it easier to extract those states' values. $\endgroup$ – MarcoB Jul 14 '16 at 21:55
  • 1
    $\begingroup$ @MarcoB the wikipedia page has that data, you just have to scroll a little bit. But, I think your version of the data is far easier to parse. $\endgroup$ – rcollyer Jul 15 '16 at 2:04
  • $\begingroup$ I have joined two others in voting to close this as too broad. As always if someone has an answer they wish to post please flag the post for moderator attention and let me know. M.R. I hope this can be narrowed somewhat as I find it interesting. $\endgroup$ – Mr.Wizard Jul 15 '16 at 8:46