Merge pull request #4 from netzbegruenung/verification

Verification
This commit is contained in:
mehlukas 2019-10-27 13:57:39 +01:00 committed by GitHub
commit f1d0ae66cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 6758 additions and 3055 deletions

View file

@ -83,26 +83,51 @@
var tbl_body = document.createElement("tbody");
$.each(data, function() {
var tbl_row = tbl_body.insertRow();
var name;
var follower;
var isVerified;
$.each(this, function(idx , v) {
var cell = tbl_row.insertCell();
txt = v.toString();
if(idx == 5 && txt != "--"){
var a = document.createElement('a');
a.appendChild(document.createTextNode(txt));
a.href = "https://www.facebook.com/" + txt;
cell.appendChild(a);
} else if (idx == 7 && txt != "--") {
var a = document.createElement('a');
a.appendChild(document.createTextNode(txt));
a.href = "https://www.twitter.com/" + txt;
cell.appendChild(a);
} else if (idx == 9 && txt != "--") {
var a = document.createElement('a');
a.appendChild(document.createTextNode(txt));
a.href = "https://www.instagram.com/" + txt;
cell.appendChild(a);
} else {
if (idx < 5){
var cell = tbl_row.insertCell();
txt = v.toString();
cell.appendChild(document.createTextNode(txt));
} else if (idx == 5 || idx == 8 || idx === 11) {
name = v.toString();
} else if (idx == 6 || idx == 9 || idx === 12) {
follower = v.toString();
} else if (idx == 7 || idx == 10 || idx === 13) {
var cell = tbl_row.insertCell();
var a = document.createElement('a');
isVerified = v;
if (isVerified)
{
verification = document.createElement("div");
icon = document.createElement("img")
icon.setAttribute("src", "verified.png")
icon.setAttribute("style", "height:19px;width:19px;float:left;margin-right:3px;");
verification.appendChild(icon)
text = document.createElement("div")
text.setAttribute("style", "float:left;text-decoration:underline;");
text.appendChild(document.createTextNode(name))
verification.appendChild(text);
a.appendChild(verification)
} else {
a.appendChild(document.createTextNode(name));
}
if (idx == 7 && name != "--") {
a.href = "https://www.facebook.com/" + name;
cell.appendChild(a);
} else if (idx == 10 && name != "--") {
a.href = "https://www.twitter.com/" + name;
cell.appendChild(a);
} else if (idx == 13 && name != "--") {
a.href = "https://www.instagram.com/" + name;
cell.appendChild(a);
} else {
cell.appendChild(document.createTextNode(name));
}
var cell2 = tbl_row.insertCell();
cell2.appendChild(document.createTextNode(follower));
}
})
})

File diff suppressed because one or more lines are too long

BIN
docs/verified.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 B

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -15,12 +15,15 @@
"level": "DE:LANDESVERBAND",
"state": "Saarland",
"fb_name": "GrueneSaar",
"fb_count": 1687,
"fb_count": 1706,
"fb_verified": true,
"tw_name": "Gruene_Saar",
"tw_count": 1623,
"tw_count": 1622,
"tw_verified": false,
"in_name": "gruene_saar",
"in_count": 67,
"fill-opacity": 0.05908103943405477,
"in_count": 42,
"in_verified": false,
"fill-opacity": 0.059759002381953204,
"fill": "#3664a2",
"stroke-width": 0
},
@ -1319,12 +1322,15 @@
"level": "DE:LANDESVERBAND",
"state": "Baden-W\u00fcrttemberg",
"fb_name": "gruenebw",
"fb_count": 11489,
"fb_count": 11557,
"fb_verified": true,
"tw_name": "GrueneBW",
"tw_count": 14753,
"tw_count": 14934,
"tw_verified": false,
"in_name": "gruenebw",
"in_count": 2136,
"fill-opacity": 0.40236043986831965,
"in_count": 2248,
"in_verified": false,
"fill-opacity": 0.4048269581056466,
"fill": "#3664a2",
"stroke-width": 0
},
@ -6959,11 +6965,14 @@
"level": "DE:LANDESVERBAND",
"state": "Nordrhein-Westfalen",
"fb_name": "gruenenrw",
"fb_count": 28554,
"fb_count": 28548,
"fb_verified": true,
"tw_name": "gruenenrw",
"tw_count": 28259,
"tw_count": 28423,
"tw_verified": true,
"in_name": "gruenenrw",
"in_count": 5370,
"in_count": 5639,
"in_verified": true,
"fill-opacity": 1.0,
"fill": "#3664a2",
"stroke-width": 0
@ -12001,12 +12010,15 @@
"level": "DE:LANDESVERBAND",
"state": "Schleswig-Holstein",
"fb_name": "gruenesh",
"fb_count": 4352,
"fb_count": 4378,
"fb_verified": true,
"tw_name": "gruene_sh",
"tw_count": 4573,
"tw_count": 4649,
"tw_verified": true,
"in_name": "gruenesh",
"in_count": 1864,
"fill-opacity": 0.15241297191286685,
"in_count": 1917,
"in_verified": true,
"fill-opacity": 0.15335575171640745,
"fill": "#3664a2",
"stroke-width": 0
},
@ -14913,12 +14925,15 @@
"level": "DE:LANDESVERBAND",
"state": "Bremen",
"fb_name": "gruenebremen",
"fb_count": 3078,
"fb_count": 3092,
"fb_verified": false,
"tw_name": "GrueneBremen",
"tw_count": 1724,
"tw_count": 1757,
"tw_verified": false,
"in_name": "gruenebremen",
"in_count": 878,
"fill-opacity": 0.1077957554108006,
"in_count": 919,
"in_verified": true,
"fill-opacity": 0.10830881322684602,
"fill": "#3664a2",
"stroke-width": 0
},
@ -15627,12 +15642,15 @@
"level": "DE:LANDESVERBAND",
"state": "Hessen",
"fb_name": "gruenehessen",
"fb_count": 4881,
"fb_count": 4918,
"fb_verified": true,
"tw_name": "gruenehessen",
"tw_count": 7080,
"tw_count": 7133,
"tw_verified": true,
"in_name": "gruenehessen",
"in_count": 2578,
"fill-opacity": 0.17093927295650346,
"in_count": 2653,
"in_verified": true,
"fill-opacity": 0.17227126243519686,
"fill": "#3664a2",
"stroke-width": 0
},
@ -20007,12 +20025,15 @@
"level": "DE:LANDESVERBAND",
"state": "Brandenburg",
"fb_name": "gruenebrandenburg",
"fb_count": 2358,
"fb_count": 2382,
"fb_verified": true,
"tw_name": "gruenebbg",
"tw_count": 2549,
"tw_count": 2602,
"tw_verified": true,
"in_name": "gruenebbg",
"in_count": 847,
"fill-opacity": 0.08258037402815717,
"in_count": 904,
"in_verified": true,
"fill-opacity": 0.08343841950399328,
"fill": "#3664a2",
"stroke-width": 0
},
@ -24815,12 +24836,15 @@
"level": "DE:LANDESVERBAND",
"state": "Niedersachsen",
"fb_name": "GRUENE.Niedersachsen",
"fb_count": 3910,
"fb_count": 3924,
"fb_verified": true,
"tw_name": "gruenelvnds",
"tw_count": 3916,
"tw_count": 3942,
"tw_verified": true,
"in_name": "gruenends",
"in_count": 1098,
"fill-opacity": 0.1369335294529663,
"in_count": 1133,
"in_verified": false,
"fill-opacity": 0.13745271122320302,
"fill": "#3664a2",
"stroke-width": 0
},
@ -31743,12 +31767,15 @@
"level": "DE:LANDESVERBAND",
"state": "Mecklenburg-Vorpommern",
"fb_name": "gruenemv",
"fb_count": 2929,
"fb_count": 2973,
"fb_verified": true,
"tw_name": "GRUENE_MV",
"tw_count": 2237,
"tw_count": 2238,
"tw_verified": false,
"in_name": "gruenemv",
"in_count": 922,
"fill-opacity": 0.10257757231911466,
"in_count": 941,
"in_verified": false,
"fill-opacity": 0.10414039512400168,
"fill": "#3664a2",
"stroke-width": 0
},
@ -40143,12 +40170,15 @@
"level": "DE:LANDESVERBAND",
"state": "Rheinland-Pfalz",
"fb_name": "gruenerlp",
"fb_count": 3556,
"fb_count": 3596,
"fb_verified": true,
"tw_name": "gruene_rlp",
"tw_count": 4109,
"tw_count": 4112,
"tw_verified": false,
"in_name": "gruene_rlp",
"in_count": 912,
"fill-opacity": 0.12453596693983329,
"in_count": 965,
"in_verified": true,
"fill-opacity": 0.12596328989771613,
"fill": "#3664a2",
"stroke-width": 0
},
@ -43911,12 +43941,15 @@
"level": "DE:LANDESVERBAND",
"state": "Berlin",
"fb_name": "Buendnis90DieGruenenBerlin",
"fb_count": 11180,
"fb_count": 11195,
"fb_verified": true,
"tw_name": "gruene_berlin",
"tw_count": 15896,
"tw_count": 16087,
"tw_verified": true,
"in_name": "gruene_berlin",
"in_count": 1958,
"fill-opacity": 0.3915388386916019,
"in_count": 2053,
"in_verified": true,
"fill-opacity": 0.39214656017934707,
"fill": "#3664a2",
"stroke-width": 0
},
@ -44651,12 +44684,15 @@
"level": "DE:LANDESVERBAND",
"state": "Bremen",
"fb_name": "gruenebremen",
"fb_count": 3078,
"fb_count": 3092,
"fb_verified": false,
"tw_name": "GrueneBremen",
"tw_count": 1724,
"tw_count": 1757,
"tw_verified": false,
"in_name": "gruenebremen",
"in_count": 878,
"fill-opacity": 0.1077957554108006,
"in_count": 919,
"in_verified": true,
"fill-opacity": 0.10830881322684602,
"fill": "#3664a2",
"stroke-width": 0
},
@ -44739,12 +44775,15 @@
"level": "DE:LANDESVERBAND",
"state": "Baden-W\u00fcrttemberg",
"fb_name": "gruenebw",
"fb_count": 11489,
"fb_count": 11557,
"fb_verified": true,
"tw_name": "GrueneBW",
"tw_count": 14753,
"tw_count": 14934,
"tw_verified": false,
"in_name": "gruenebw",
"in_count": 2136,
"fill-opacity": 0.40236043986831965,
"in_count": 2248,
"in_verified": false,
"fill-opacity": 0.4048269581056466,
"fill": "#3664a2",
"stroke-width": 0
},
@ -44985,12 +45024,15 @@
"level": "DE:LANDESVERBAND",
"state": "Baden-W\u00fcrttemberg",
"fb_name": "gruenebw",
"fb_count": 11489,
"fb_count": 11557,
"fb_verified": true,
"tw_name": "GrueneBW",
"tw_count": 14753,
"tw_count": 14934,
"tw_verified": false,
"in_name": "gruenebw",
"in_count": 2136,
"fill-opacity": 0.40236043986831965,
"in_count": 2248,
"in_verified": false,
"fill-opacity": 0.4048269581056466,
"fill": "#3664a2",
"stroke-width": 0
},
@ -45115,12 +45157,15 @@
"level": "DE:LANDESVERBAND",
"state": "Hamburg",
"fb_name": "gruene.hamburg",
"fb_count": 5320,
"fb_count": 5431,
"fb_verified": true,
"tw_name": "GRUENE_Hamburg",
"tw_count": 8528,
"tw_count": 8728,
"tw_verified": true,
"in_name": "gruene_hamburg",
"in_count": 2038,
"fill-opacity": 0.18631365132730965,
"in_count": 2154,
"in_verified": true,
"fill-opacity": 0.1902409976180468,
"fill": "#3664a2",
"stroke-width": 0
},
@ -45233,12 +45278,15 @@
"level": "DE:LANDESVERBAND",
"state": "Schleswig-Holstein",
"fb_name": "gruenesh",
"fb_count": 4352,
"fb_count": 4378,
"fb_verified": true,
"tw_name": "gruene_sh",
"tw_count": 4573,
"tw_count": 4649,
"tw_verified": true,
"in_name": "gruenesh",
"in_count": 1864,
"fill-opacity": 0.15241297191286685,
"in_count": 1917,
"in_verified": true,
"fill-opacity": 0.15335575171640745,
"fill": "#3664a2",
"stroke-width": 0
},
@ -45611,12 +45659,15 @@
"level": "DE:LANDESVERBAND",
"state": "Schleswig-Holstein",
"fb_name": "gruenesh",
"fb_count": 4352,
"fb_count": 4378,
"fb_verified": true,
"tw_name": "gruene_sh",
"tw_count": 4573,
"tw_count": 4649,
"tw_verified": true,
"in_name": "gruenesh",
"in_count": 1864,
"fill-opacity": 0.15241297191286685,
"in_count": 1917,
"in_verified": true,
"fill-opacity": 0.15335575171640745,
"fill": "#3664a2",
"stroke-width": 0
},
@ -46917,12 +46968,15 @@
"level": "DE:LANDESVERBAND",
"state": "Hamburg",
"fb_name": "gruene.hamburg",
"fb_count": 5320,
"fb_count": 5431,
"fb_verified": true,
"tw_name": "GRUENE_Hamburg",
"tw_count": 8528,
"tw_count": 8728,
"tw_verified": true,
"in_name": "gruene_hamburg",
"in_count": 2038,
"fill-opacity": 0.18631365132730965,
"in_count": 2154,
"in_verified": true,
"fill-opacity": 0.1902409976180468,
"fill": "#3664a2",
"stroke-width": 0
},
@ -47049,12 +47103,15 @@
"level": "DE:LANDESVERBAND",
"state": "Sachsen",
"fb_name": "gruene.sachsen",
"fb_count": 3204,
"fb_count": 3244,
"fb_verified": true,
"tw_name": "gruene_sachsen",
"tw_count": 4824,
"tw_count": 4932,
"tw_verified": true,
"in_name": "gruene_sachsen",
"in_count": 1380,
"fill-opacity": 0.11220844715276318,
"in_count": 1428,
"in_verified": true,
"fill-opacity": 0.1136331792069497,
"fill": "#3664a2",
"stroke-width": 0
},
@ -51553,12 +51610,15 @@
"level": "DE:LANDESVERBAND",
"state": "Sachsen-Anhalt",
"fb_name": "GRUENELSA",
"fb_count": 2153,
"fb_count": 2160,
"fb_verified": true,
"tw_name": "GRUENE_LSA",
"tw_count": 3165,
"tw_count": 3178,
"tw_verified": false,
"in_name": "gruene_lsa",
"in_count": 815,
"fill-opacity": 0.0754009946067101,
"in_count": 848,
"in_verified": true,
"fill-opacity": 0.07566204287515763,
"fill": "#3664a2",
"stroke-width": 0
},
@ -55629,12 +55689,15 @@
"level": "DE:LANDESVERBAND",
"state": "Hamburg",
"fb_name": "gruene.hamburg",
"fb_count": 5320,
"fb_count": 5431,
"fb_verified": true,
"tw_name": "GRUENE_Hamburg",
"tw_count": 8528,
"tw_count": 8728,
"tw_verified": true,
"in_name": "gruene_hamburg",
"in_count": 2038,
"fill-opacity": 0.18631365132730965,
"in_count": 2154,
"in_verified": true,
"fill-opacity": 0.1902409976180468,
"fill": "#3664a2",
"stroke-width": 0
},
@ -56515,12 +56578,15 @@
"level": "DE:LANDESVERBAND",
"state": "Mecklenburg-Vorpommern",
"fb_name": "gruenemv",
"fb_count": 2929,
"fb_count": 2973,
"fb_verified": true,
"tw_name": "GRUENE_MV",
"tw_count": 2237,
"tw_count": 2238,
"tw_verified": false,
"in_name": "gruenemv",
"in_count": 922,
"fill-opacity": 0.10257757231911466,
"in_count": 941,
"in_verified": false,
"fill-opacity": 0.10414039512400168,
"fill": "#3664a2",
"stroke-width": 0
},
@ -62181,12 +62247,15 @@
"level": "DE:LANDESVERBAND",
"state": "Niedersachsen",
"fb_name": "GRUENE.Niedersachsen",
"fb_count": 3910,
"fb_count": 3924,
"fb_verified": true,
"tw_name": "gruenelvnds",
"tw_count": 3916,
"tw_count": 3942,
"tw_verified": true,
"in_name": "gruenends",
"in_count": 1098,
"fill-opacity": 0.1369335294529663,
"in_count": 1133,
"in_verified": false,
"fill-opacity": 0.13745271122320302,
"fill": "#3664a2",
"stroke-width": 0
},
@ -62615,12 +62684,15 @@
"level": "DE:LANDESVERBAND",
"state": "Schleswig-Holstein",
"fb_name": "gruenesh",
"fb_count": 4352,
"fb_count": 4378,
"fb_verified": true,
"tw_name": "gruene_sh",
"tw_count": 4573,
"tw_count": 4649,
"tw_verified": true,
"in_name": "gruenesh",
"in_count": 1864,
"fill-opacity": 0.15241297191286685,
"in_count": 1917,
"in_verified": true,
"fill-opacity": 0.15335575171640745,
"fill": "#3664a2",
"stroke-width": 0
},
@ -67429,12 +67501,15 @@
"level": "DE:LANDESVERBAND",
"state": "Schleswig-Holstein",
"fb_name": "gruenesh",
"fb_count": 4352,
"fb_count": 4378,
"fb_verified": true,
"tw_name": "gruene_sh",
"tw_count": 4573,
"tw_count": 4649,
"tw_verified": true,
"in_name": "gruenesh",
"in_count": 1864,
"fill-opacity": 0.15241297191286685,
"in_count": 1917,
"in_verified": true,
"fill-opacity": 0.15335575171640745,
"fill": "#3664a2",
"stroke-width": 0
},
@ -69391,12 +69466,15 @@
"level": "DE:LANDESVERBAND",
"state": "Niedersachsen",
"fb_name": "GRUENE.Niedersachsen",
"fb_count": 3910,
"fb_count": 3924,
"fb_verified": true,
"tw_name": "gruenelvnds",
"tw_count": 3916,
"tw_count": 3942,
"tw_verified": true,
"in_name": "gruenends",
"in_count": 1098,
"fill-opacity": 0.1369335294529663,
"in_count": 1133,
"in_verified": false,
"fill-opacity": 0.13745271122320302,
"fill": "#3664a2",
"stroke-width": 0
},
@ -69845,12 +69923,15 @@
"level": "DE:LANDESVERBAND",
"state": "Mecklenburg-Vorpommern",
"fb_name": "gruenemv",
"fb_count": 2929,
"fb_count": 2973,
"fb_verified": true,
"tw_name": "GRUENE_MV",
"tw_count": 2237,
"tw_count": 2238,
"tw_verified": false,
"in_name": "gruenemv",
"in_count": 922,
"fill-opacity": 0.10257757231911466,
"in_count": 941,
"in_verified": false,
"fill-opacity": 0.10414039512400168,
"fill": "#3664a2",
"stroke-width": 0
},
@ -69939,12 +70020,15 @@
"level": "DE:LANDESVERBAND",
"state": "Mecklenburg-Vorpommern",
"fb_name": "gruenemv",
"fb_count": 2929,
"fb_count": 2973,
"fb_verified": true,
"tw_name": "GRUENE_MV",
"tw_count": 2237,
"tw_count": 2238,
"tw_verified": false,
"in_name": "gruenemv",
"in_count": 922,
"fill-opacity": 0.10257757231911466,
"in_count": 941,
"in_verified": false,
"fill-opacity": 0.10414039512400168,
"fill": "#3664a2",
"stroke-width": 0
},
@ -71485,12 +71569,15 @@
"level": "DE:LANDESVERBAND",
"state": "Th\u00fcringen",
"fb_name": "gruenethueringen",
"fb_count": 1570,
"fb_count": 1708,
"fb_verified": true,
"tw_name": "Gruene_TH",
"tw_count": 4130,
"tw_count": 4272,
"tw_verified": true,
"in_name": "gruene_th",
"in_count": 531,
"fill-opacity": 0.054983539959375216,
"in_count": 689,
"in_verified": true,
"fill-opacity": 0.05982905982905983,
"fill": "#3664a2",
"stroke-width": 0
},
@ -76207,12 +76294,15 @@
"level": "DE:LANDESVERBAND",
"state": "Niedersachsen",
"fb_name": "GRUENE.Niedersachsen",
"fb_count": 3910,
"fb_count": 3924,
"fb_verified": true,
"tw_name": "gruenelvnds",
"tw_count": 3916,
"tw_count": 3942,
"tw_verified": true,
"in_name": "gruenends",
"in_count": 1098,
"fill-opacity": 0.1369335294529663,
"in_count": 1133,
"in_verified": false,
"fill-opacity": 0.13745271122320302,
"fill": "#3664a2",
"stroke-width": 0
},
@ -77987,12 +78077,15 @@
"level": "DE:LANDESVERBAND",
"state": "Bayern",
"fb_name": "gruenebayern",
"fb_count": 10117,
"fb_count": 10195,
"fb_verified": true,
"tw_name": "Gruene_Bayern",
"tw_count": 12315,
"tw_count": 12464,
"tw_verified": false,
"in_name": "gruenebayern",
"in_count": 7337,
"fill-opacity": 0.3543111297891714,
"in_count": 7622,
"in_verified": true,
"fill-opacity": 0.35711783662603336,
"fill": "#3664a2",
"stroke-width": 0
},
@ -86443,12 +86536,15 @@
"level": "DE:LANDESVERBAND",
"state": "Niedersachsen",
"fb_name": "GRUENE.Niedersachsen",
"fb_count": 3910,
"fb_count": 3924,
"fb_verified": true,
"tw_name": "gruenelvnds",
"tw_count": 3916,
"tw_count": 3942,
"tw_verified": true,
"in_name": "gruenends",
"in_count": 1098,
"fill-opacity": 0.1369335294529663,
"in_count": 1133,
"in_verified": false,
"fill-opacity": 0.13745271122320302,
"fill": "#3664a2",
"stroke-width": 0
},

View file

@ -15,12 +15,15 @@
"level": "DE:LANDESVERBAND",
"state": "Saarland",
"fb_name": "GrueneSaar",
"fb_count": 1687,
"fb_count": 1706,
"fb_verified": true,
"tw_name": "Gruene_Saar",
"tw_count": 1623,
"tw_count": 1622,
"tw_verified": false,
"in_name": "gruene_saar",
"in_count": 67,
"fill-opacity": 0.009131797737494889,
"in_count": 42,
"in_verified": false,
"fill-opacity": 0.005510364733665705,
"fill": "#d02e92",
"stroke-width": 0
},
@ -1319,12 +1322,15 @@
"level": "DE:LANDESVERBAND",
"state": "Baden-W\u00fcrttemberg",
"fb_name": "gruenebw",
"fb_count": 11489,
"fb_count": 11557,
"fb_verified": true,
"tw_name": "GrueneBW",
"tw_count": 14753,
"tw_count": 14934,
"tw_verified": false,
"in_name": "gruenebw",
"in_count": 2136,
"fill-opacity": 0.2911271636908818,
"in_count": 2248,
"in_verified": false,
"fill-opacity": 0.29493571241144056,
"fill": "#d02e92",
"stroke-width": 0
},
@ -6959,12 +6965,15 @@
"level": "DE:LANDESVERBAND",
"state": "Nordrhein-Westfalen",
"fb_name": "gruenenrw",
"fb_count": 28554,
"fb_count": 28548,
"fb_verified": true,
"tw_name": "gruenenrw",
"tw_count": 28259,
"tw_count": 28423,
"tw_verified": true,
"in_name": "gruenenrw",
"in_count": 5370,
"fill-opacity": 0.7319067738857844,
"in_count": 5639,
"in_verified": true,
"fill-opacity": 0.7398320650747835,
"fill": "#d02e92",
"stroke-width": 0
},
@ -12001,12 +12010,15 @@
"level": "DE:LANDESVERBAND",
"state": "Schleswig-Holstein",
"fb_name": "gruenesh",
"fb_count": 4352,
"fb_count": 4378,
"fb_verified": true,
"tw_name": "gruene_sh",
"tw_count": 4573,
"tw_count": 4649,
"tw_verified": true,
"in_name": "gruenesh",
"in_count": 1864,
"fill-opacity": 0.25405479078642496,
"in_count": 1917,
"in_verified": true,
"fill-opacity": 0.2515087903437418,
"fill": "#d02e92",
"stroke-width": 0
},
@ -14913,12 +14925,15 @@
"level": "DE:LANDESVERBAND",
"state": "Bremen",
"fb_name": "gruenebremen",
"fb_count": 3078,
"fb_count": 3092,
"fb_verified": false,
"tw_name": "GrueneBremen",
"tw_count": 1724,
"tw_count": 1757,
"tw_verified": false,
"in_name": "gruenebremen",
"in_count": 878,
"fill-opacity": 0.11966743900776884,
"in_count": 919,
"in_verified": true,
"fill-opacity": 0.12057202833901863,
"fill": "#d02e92",
"stroke-width": 0
},
@ -15627,12 +15642,15 @@
"level": "DE:LANDESVERBAND",
"state": "Hessen",
"fb_name": "gruenehessen",
"fb_count": 4881,
"fb_count": 4918,
"fb_verified": true,
"tw_name": "gruenehessen",
"tw_count": 7080,
"tw_count": 7133,
"tw_verified": true,
"in_name": "gruenehessen",
"in_count": 2578,
"fill-opacity": 0.3513697696606242,
"in_count": 2653,
"in_verified": true,
"fill-opacity": 0.348071372343217,
"fill": "#d02e92",
"stroke-width": 0
},
@ -20007,12 +20025,15 @@
"level": "DE:LANDESVERBAND",
"state": "Brandenburg",
"fb_name": "gruenebrandenburg",
"fb_count": 2358,
"fb_count": 2382,
"fb_verified": true,
"tw_name": "gruenebbg",
"tw_count": 2549,
"tw_count": 2602,
"tw_verified": true,
"in_name": "gruenebbg",
"in_count": 847,
"fill-opacity": 0.11544227886056972,
"in_count": 904,
"in_verified": true,
"fill-opacity": 0.11860404093413802,
"fill": "#d02e92",
"stroke-width": 0
},
@ -24815,12 +24836,15 @@
"level": "DE:LANDESVERBAND",
"state": "Niedersachsen",
"fb_name": "GRUENE.Niedersachsen",
"fb_count": 3910,
"fb_count": 3924,
"fb_verified": true,
"tw_name": "gruenelvnds",
"tw_count": 3916,
"tw_count": 3942,
"tw_verified": true,
"in_name": "gruenends",
"in_count": 1098,
"fill-opacity": 0.1496524465040207,
"in_count": 1133,
"in_verified": false,
"fill-opacity": 0.14864864864864866,
"fill": "#d02e92",
"stroke-width": 0
},
@ -31743,12 +31767,15 @@
"level": "DE:LANDESVERBAND",
"state": "Mecklenburg-Vorpommern",
"fb_name": "gruenemv",
"fb_count": 2929,
"fb_count": 2973,
"fb_verified": true,
"tw_name": "GRUENE_MV",
"tw_count": 2237,
"tw_count": 2238,
"tw_verified": false,
"in_name": "gruenemv",
"in_count": 922,
"fill-opacity": 0.12566444050701922,
"in_count": 941,
"in_verified": false,
"fill-opacity": 0.12345840986617686,
"fill": "#d02e92",
"stroke-width": 0
},
@ -40143,12 +40170,15 @@
"level": "DE:LANDESVERBAND",
"state": "Rheinland-Pfalz",
"fb_name": "gruenerlp",
"fb_count": 3556,
"fb_count": 3596,
"fb_verified": true,
"tw_name": "gruene_rlp",
"tw_count": 4109,
"tw_count": 4112,
"tw_verified": false,
"in_name": "gruene_rlp",
"in_count": 912,
"fill-opacity": 0.12430148562082595,
"in_count": 965,
"in_verified": true,
"fill-opacity": 0.12660718971398582,
"fill": "#d02e92",
"stroke-width": 0
},
@ -43911,12 +43941,15 @@
"level": "DE:LANDESVERBAND",
"state": "Berlin",
"fb_name": "Buendnis90DieGruenenBerlin",
"fb_count": 11180,
"fb_count": 11195,
"fb_verified": true,
"tw_name": "gruene_berlin",
"tw_count": 15896,
"tw_count": 16087,
"tw_verified": true,
"in_name": "gruene_berlin",
"in_count": 1958,
"fill-opacity": 0.26686656671664166,
"in_count": 2053,
"in_verified": true,
"fill-opacity": 0.26935187614799266,
"fill": "#d02e92",
"stroke-width": 0
},
@ -44651,12 +44684,15 @@
"level": "DE:LANDESVERBAND",
"state": "Bremen",
"fb_name": "gruenebremen",
"fb_count": 3078,
"fb_count": 3092,
"fb_verified": false,
"tw_name": "GrueneBremen",
"tw_count": 1724,
"tw_count": 1757,
"tw_verified": false,
"in_name": "gruenebremen",
"in_count": 878,
"fill-opacity": 0.11966743900776884,
"in_count": 919,
"in_verified": true,
"fill-opacity": 0.12057202833901863,
"fill": "#d02e92",
"stroke-width": 0
},
@ -44739,12 +44775,15 @@
"level": "DE:LANDESVERBAND",
"state": "Baden-W\u00fcrttemberg",
"fb_name": "gruenebw",
"fb_count": 11489,
"fb_count": 11557,
"fb_verified": true,
"tw_name": "GrueneBW",
"tw_count": 14753,
"tw_count": 14934,
"tw_verified": false,
"in_name": "gruenebw",
"in_count": 2136,
"fill-opacity": 0.2911271636908818,
"in_count": 2248,
"in_verified": false,
"fill-opacity": 0.29493571241144056,
"fill": "#d02e92",
"stroke-width": 0
},
@ -44985,12 +45024,15 @@
"level": "DE:LANDESVERBAND",
"state": "Baden-W\u00fcrttemberg",
"fb_name": "gruenebw",
"fb_count": 11489,
"fb_count": 11557,
"fb_verified": true,
"tw_name": "GrueneBW",
"tw_count": 14753,
"tw_count": 14934,
"tw_verified": false,
"in_name": "gruenebw",
"in_count": 2136,
"fill-opacity": 0.2911271636908818,
"in_count": 2248,
"in_verified": false,
"fill-opacity": 0.29493571241144056,
"fill": "#d02e92",
"stroke-width": 0
},
@ -45115,12 +45157,15 @@
"level": "DE:LANDESVERBAND",
"state": "Hamburg",
"fb_name": "gruene.hamburg",
"fb_count": 5320,
"fb_count": 5431,
"fb_verified": true,
"tw_name": "GRUENE_Hamburg",
"tw_count": 8528,
"tw_count": 8728,
"tw_verified": true,
"in_name": "gruene_hamburg",
"in_count": 2038,
"fill-opacity": 0.27777020580618783,
"in_count": 2154,
"in_verified": true,
"fill-opacity": 0.2826029913408554,
"fill": "#d02e92",
"stroke-width": 0
},
@ -45233,12 +45278,15 @@
"level": "DE:LANDESVERBAND",
"state": "Schleswig-Holstein",
"fb_name": "gruenesh",
"fb_count": 4352,
"fb_count": 4378,
"fb_verified": true,
"tw_name": "gruene_sh",
"tw_count": 4573,
"tw_count": 4649,
"tw_verified": true,
"in_name": "gruenesh",
"in_count": 1864,
"fill-opacity": 0.25405479078642496,
"in_count": 1917,
"in_verified": true,
"fill-opacity": 0.2515087903437418,
"fill": "#d02e92",
"stroke-width": 0
},
@ -45611,12 +45659,15 @@
"level": "DE:LANDESVERBAND",
"state": "Schleswig-Holstein",
"fb_name": "gruenesh",
"fb_count": 4352,
"fb_count": 4378,
"fb_verified": true,
"tw_name": "gruene_sh",
"tw_count": 4573,
"tw_count": 4649,
"tw_verified": true,
"in_name": "gruenesh",
"in_count": 1864,
"fill-opacity": 0.25405479078642496,
"in_count": 1917,
"in_verified": true,
"fill-opacity": 0.2515087903437418,
"fill": "#d02e92",
"stroke-width": 0
},
@ -46917,12 +46968,15 @@
"level": "DE:LANDESVERBAND",
"state": "Hamburg",
"fb_name": "gruene.hamburg",
"fb_count": 5320,
"fb_count": 5431,
"fb_verified": true,
"tw_name": "GRUENE_Hamburg",
"tw_count": 8528,
"tw_count": 8728,
"tw_verified": true,
"in_name": "gruene_hamburg",
"in_count": 2038,
"fill-opacity": 0.27777020580618783,
"in_count": 2154,
"in_verified": true,
"fill-opacity": 0.2826029913408554,
"fill": "#d02e92",
"stroke-width": 0
},
@ -47049,12 +47103,15 @@
"level": "DE:LANDESVERBAND",
"state": "Sachsen",
"fb_name": "gruene.sachsen",
"fb_count": 3204,
"fb_count": 3244,
"fb_verified": true,
"tw_name": "gruene_sachsen",
"tw_count": 4824,
"tw_count": 4932,
"tw_verified": true,
"in_name": "gruene_sachsen",
"in_count": 1380,
"fill-opacity": 0.18808777429467086,
"in_count": 1428,
"in_verified": true,
"fill-opacity": 0.18735240094463396,
"fill": "#d02e92",
"stroke-width": 0
},
@ -51553,12 +51610,15 @@
"level": "DE:LANDESVERBAND",
"state": "Sachsen-Anhalt",
"fb_name": "GRUENELSA",
"fb_count": 2153,
"fb_count": 2160,
"fb_verified": true,
"tw_name": "GRUENE_LSA",
"tw_count": 3165,
"tw_count": 3178,
"tw_verified": false,
"in_name": "gruene_lsa",
"in_count": 815,
"fill-opacity": 0.11108082322475125,
"in_count": 848,
"in_verified": true,
"fill-opacity": 0.11125688795591708,
"fill": "#d02e92",
"stroke-width": 0
},
@ -55629,12 +55689,15 @@
"level": "DE:LANDESVERBAND",
"state": "Hamburg",
"fb_name": "gruene.hamburg",
"fb_count": 5320,
"fb_count": 5431,
"fb_verified": true,
"tw_name": "GRUENE_Hamburg",
"tw_count": 8528,
"tw_count": 8728,
"tw_verified": true,
"in_name": "gruene_hamburg",
"in_count": 2038,
"fill-opacity": 0.27777020580618783,
"in_count": 2154,
"in_verified": true,
"fill-opacity": 0.2826029913408554,
"fill": "#d02e92",
"stroke-width": 0
},
@ -56515,12 +56578,15 @@
"level": "DE:LANDESVERBAND",
"state": "Mecklenburg-Vorpommern",
"fb_name": "gruenemv",
"fb_count": 2929,
"fb_count": 2973,
"fb_verified": true,
"tw_name": "GRUENE_MV",
"tw_count": 2237,
"tw_count": 2238,
"tw_verified": false,
"in_name": "gruenemv",
"in_count": 922,
"fill-opacity": 0.12566444050701922,
"in_count": 941,
"in_verified": false,
"fill-opacity": 0.12345840986617686,
"fill": "#d02e92",
"stroke-width": 0
},
@ -62181,12 +62247,15 @@
"level": "DE:LANDESVERBAND",
"state": "Niedersachsen",
"fb_name": "GRUENE.Niedersachsen",
"fb_count": 3910,
"fb_count": 3924,
"fb_verified": true,
"tw_name": "gruenelvnds",
"tw_count": 3916,
"tw_count": 3942,
"tw_verified": true,
"in_name": "gruenends",
"in_count": 1098,
"fill-opacity": 0.1496524465040207,
"in_count": 1133,
"in_verified": false,
"fill-opacity": 0.14864864864864866,
"fill": "#d02e92",
"stroke-width": 0
},
@ -62615,12 +62684,15 @@
"level": "DE:LANDESVERBAND",
"state": "Schleswig-Holstein",
"fb_name": "gruenesh",
"fb_count": 4352,
"fb_count": 4378,
"fb_verified": true,
"tw_name": "gruene_sh",
"tw_count": 4573,
"tw_count": 4649,
"tw_verified": true,
"in_name": "gruenesh",
"in_count": 1864,
"fill-opacity": 0.25405479078642496,
"in_count": 1917,
"in_verified": true,
"fill-opacity": 0.2515087903437418,
"fill": "#d02e92",
"stroke-width": 0
},
@ -67429,12 +67501,15 @@
"level": "DE:LANDESVERBAND",
"state": "Schleswig-Holstein",
"fb_name": "gruenesh",
"fb_count": 4352,
"fb_count": 4378,
"fb_verified": true,
"tw_name": "gruene_sh",
"tw_count": 4573,
"tw_count": 4649,
"tw_verified": true,
"in_name": "gruenesh",
"in_count": 1864,
"fill-opacity": 0.25405479078642496,
"in_count": 1917,
"in_verified": true,
"fill-opacity": 0.2515087903437418,
"fill": "#d02e92",
"stroke-width": 0
},
@ -69391,12 +69466,15 @@
"level": "DE:LANDESVERBAND",
"state": "Niedersachsen",
"fb_name": "GRUENE.Niedersachsen",
"fb_count": 3910,
"fb_count": 3924,
"fb_verified": true,
"tw_name": "gruenelvnds",
"tw_count": 3916,
"tw_count": 3942,
"tw_verified": true,
"in_name": "gruenends",
"in_count": 1098,
"fill-opacity": 0.1496524465040207,
"in_count": 1133,
"in_verified": false,
"fill-opacity": 0.14864864864864866,
"fill": "#d02e92",
"stroke-width": 0
},
@ -69845,12 +69923,15 @@
"level": "DE:LANDESVERBAND",
"state": "Mecklenburg-Vorpommern",
"fb_name": "gruenemv",
"fb_count": 2929,
"fb_count": 2973,
"fb_verified": true,
"tw_name": "GRUENE_MV",
"tw_count": 2237,
"tw_count": 2238,
"tw_verified": false,
"in_name": "gruenemv",
"in_count": 922,
"fill-opacity": 0.12566444050701922,
"in_count": 941,
"in_verified": false,
"fill-opacity": 0.12345840986617686,
"fill": "#d02e92",
"stroke-width": 0
},
@ -69939,12 +70020,15 @@
"level": "DE:LANDESVERBAND",
"state": "Mecklenburg-Vorpommern",
"fb_name": "gruenemv",
"fb_count": 2929,
"fb_count": 2973,
"fb_verified": true,
"tw_name": "GRUENE_MV",
"tw_count": 2237,
"tw_count": 2238,
"tw_verified": false,
"in_name": "gruenemv",
"in_count": 922,
"fill-opacity": 0.12566444050701922,
"in_count": 941,
"in_verified": false,
"fill-opacity": 0.12345840986617686,
"fill": "#d02e92",
"stroke-width": 0
},
@ -71485,12 +71569,15 @@
"level": "DE:LANDESVERBAND",
"state": "Th\u00fcringen",
"fb_name": "gruenethueringen",
"fb_count": 1570,
"fb_count": 1708,
"fb_verified": true,
"tw_name": "Gruene_TH",
"tw_count": 4130,
"tw_count": 4272,
"tw_verified": true,
"in_name": "gruene_th",
"in_count": 531,
"fill-opacity": 0.07237290445686248,
"in_count": 689,
"in_verified": true,
"fill-opacity": 0.09039622146418264,
"fill": "#d02e92",
"stroke-width": 0
},
@ -76207,12 +76294,15 @@
"level": "DE:LANDESVERBAND",
"state": "Niedersachsen",
"fb_name": "GRUENE.Niedersachsen",
"fb_count": 3910,
"fb_count": 3924,
"fb_verified": true,
"tw_name": "gruenelvnds",
"tw_count": 3916,
"tw_count": 3942,
"tw_verified": true,
"in_name": "gruenends",
"in_count": 1098,
"fill-opacity": 0.1496524465040207,
"in_count": 1133,
"in_verified": false,
"fill-opacity": 0.14864864864864866,
"fill": "#d02e92",
"stroke-width": 0
},
@ -77987,11 +78077,14 @@
"level": "DE:LANDESVERBAND",
"state": "Bayern",
"fb_name": "gruenebayern",
"fb_count": 10117,
"fb_count": 10195,
"fb_verified": true,
"tw_name": "Gruene_Bayern",
"tw_count": 12315,
"tw_count": 12464,
"tw_verified": false,
"in_name": "gruenebayern",
"in_count": 7337,
"in_count": 7622,
"in_verified": true,
"fill-opacity": 1.0,
"fill": "#d02e92",
"stroke-width": 0
@ -86443,12 +86536,15 @@
"level": "DE:LANDESVERBAND",
"state": "Niedersachsen",
"fb_name": "GRUENE.Niedersachsen",
"fb_count": 3910,
"fb_count": 3924,
"fb_verified": true,
"tw_name": "gruenelvnds",
"tw_count": 3916,
"tw_count": 3942,
"tw_verified": true,
"in_name": "gruenends",
"in_count": 1098,
"fill-opacity": 0.1496524465040207,
"in_count": 1133,
"in_verified": false,
"fill-opacity": 0.14864864864864866,
"fill": "#d02e92",
"stroke-width": 0
},

View file

@ -15,12 +15,15 @@
"level": "DE:LANDESVERBAND",
"state": "Saarland",
"fb_name": "GrueneSaar",
"fb_count": 1687,
"fb_count": 1706,
"fb_verified": true,
"tw_name": "Gruene_Saar",
"tw_count": 1623,
"tw_count": 1622,
"tw_verified": false,
"in_name": "gruene_saar",
"in_count": 67,
"fill-opacity": 0.05743303018507378,
"in_count": 42,
"in_verified": false,
"fill-opacity": 0.05706646026105619,
"fill": "#55acee",
"stroke-width": 0
},
@ -1319,12 +1322,15 @@
"level": "DE:LANDESVERBAND",
"state": "Baden-W\u00fcrttemberg",
"fb_name": "gruenebw",
"fb_count": 11489,
"fb_count": 11557,
"fb_verified": true,
"tw_name": "GrueneBW",
"tw_count": 14753,
"tw_count": 14934,
"tw_verified": false,
"in_name": "gruenebw",
"in_count": 2136,
"fill-opacity": 0.522063767295375,
"in_count": 2248,
"in_verified": false,
"fill-opacity": 0.5254195545860747,
"fill": "#55acee",
"stroke-width": 0
},
@ -6959,11 +6965,14 @@
"level": "DE:LANDESVERBAND",
"state": "Nordrhein-Westfalen",
"fb_name": "gruenenrw",
"fb_count": 28554,
"fb_count": 28548,
"fb_verified": true,
"tw_name": "gruenenrw",
"tw_count": 28259,
"tw_count": 28423,
"tw_verified": true,
"in_name": "gruenenrw",
"in_count": 5370,
"in_count": 5639,
"in_verified": true,
"fill-opacity": 1.0,
"fill": "#55acee",
"stroke-width": 0
@ -12001,12 +12010,15 @@
"level": "DE:LANDESVERBAND",
"state": "Schleswig-Holstein",
"fb_name": "gruenesh",
"fb_count": 4352,
"fb_count": 4378,
"fb_verified": true,
"tw_name": "gruene_sh",
"tw_count": 4573,
"tw_count": 4649,
"tw_verified": true,
"in_name": "gruenesh",
"in_count": 1864,
"fill-opacity": 0.16182455147032804,
"in_count": 1917,
"in_verified": true,
"fill-opacity": 0.16356471871371778,
"fill": "#55acee",
"stroke-width": 0
},
@ -14913,12 +14925,15 @@
"level": "DE:LANDESVERBAND",
"state": "Bremen",
"fb_name": "gruenebremen",
"fb_count": 3078,
"fb_count": 3092,
"fb_verified": false,
"tw_name": "GrueneBremen",
"tw_count": 1724,
"tw_count": 1757,
"tw_verified": false,
"in_name": "gruenebremen",
"in_count": 878,
"fill-opacity": 0.06100711277822994,
"in_count": 919,
"in_verified": true,
"fill-opacity": 0.06181613482039194,
"fill": "#55acee",
"stroke-width": 0
},
@ -15627,12 +15642,15 @@
"level": "DE:LANDESVERBAND",
"state": "Hessen",
"fb_name": "gruenehessen",
"fb_count": 4881,
"fb_count": 4918,
"fb_verified": true,
"tw_name": "gruenehessen",
"tw_count": 7080,
"tw_count": 7133,
"tw_verified": true,
"in_name": "gruenehessen",
"in_count": 2578,
"fill-opacity": 0.25053965108461024,
"in_count": 2653,
"in_verified": true,
"fill-opacity": 0.25095873060549556,
"fill": "#55acee",
"stroke-width": 0
},
@ -20007,12 +20025,15 @@
"level": "DE:LANDESVERBAND",
"state": "Brandenburg",
"fb_name": "gruenebrandenburg",
"fb_count": 2358,
"fb_count": 2382,
"fb_verified": true,
"tw_name": "gruenebbg",
"tw_count": 2549,
"tw_count": 2602,
"tw_verified": true,
"in_name": "gruenebbg",
"in_count": 847,
"fill-opacity": 0.09020135178173325,
"in_count": 904,
"in_verified": true,
"fill-opacity": 0.09154557928438237,
"fill": "#55acee",
"stroke-width": 0
},
@ -24815,12 +24836,15 @@
"level": "DE:LANDESVERBAND",
"state": "Niedersachsen",
"fb_name": "GRUENE.Niedersachsen",
"fb_count": 3910,
"fb_count": 3924,
"fb_verified": true,
"tw_name": "gruenelvnds",
"tw_count": 3916,
"tw_count": 3942,
"tw_verified": true,
"in_name": "gruenends",
"in_count": 1098,
"fill-opacity": 0.13857532113662904,
"in_count": 1133,
"in_verified": false,
"fill-opacity": 0.13869049713260387,
"fill": "#55acee",
"stroke-width": 0
},
@ -31743,12 +31767,15 @@
"level": "DE:LANDESVERBAND",
"state": "Mecklenburg-Vorpommern",
"fb_name": "gruenemv",
"fb_count": 2929,
"fb_count": 2973,
"fb_verified": true,
"tw_name": "GRUENE_MV",
"tw_count": 2237,
"tw_count": 2238,
"tw_verified": false,
"in_name": "gruenemv",
"in_count": 922,
"fill-opacity": 0.07916062139495382,
"in_count": 941,
"in_verified": false,
"fill-opacity": 0.07873904936143264,
"fill": "#55acee",
"stroke-width": 0
},
@ -40143,12 +40170,15 @@
"level": "DE:LANDESVERBAND",
"state": "Rheinland-Pfalz",
"fb_name": "gruenerlp",
"fb_count": 3556,
"fb_count": 3596,
"fb_verified": true,
"tw_name": "gruene_rlp",
"tw_count": 4109,
"tw_count": 4112,
"tw_verified": false,
"in_name": "gruene_rlp",
"in_count": 912,
"fill-opacity": 0.14540500371563042,
"in_count": 965,
"in_verified": true,
"fill-opacity": 0.14467156879991555,
"fill": "#55acee",
"stroke-width": 0
},
@ -43911,12 +43941,15 @@
"level": "DE:LANDESVERBAND",
"state": "Berlin",
"fb_name": "Buendnis90DieGruenenBerlin",
"fb_count": 11180,
"fb_count": 11195,
"fb_verified": true,
"tw_name": "gruene_berlin",
"tw_count": 15896,
"tw_count": 16087,
"tw_verified": true,
"in_name": "gruene_berlin",
"in_count": 1958,
"fill-opacity": 0.562511058423865,
"in_count": 2053,
"in_verified": true,
"fill-opacity": 0.5659852936002533,
"fill": "#55acee",
"stroke-width": 0
},
@ -44651,12 +44684,15 @@
"level": "DE:LANDESVERBAND",
"state": "Bremen",
"fb_name": "gruenebremen",
"fb_count": 3078,
"fb_count": 3092,
"fb_verified": false,
"tw_name": "GrueneBremen",
"tw_count": 1724,
"tw_count": 1757,
"tw_verified": false,
"in_name": "gruenebremen",
"in_count": 878,
"fill-opacity": 0.06100711277822994,
"in_count": 919,
"in_verified": true,
"fill-opacity": 0.06181613482039194,
"fill": "#55acee",
"stroke-width": 0
},
@ -44739,12 +44775,15 @@
"level": "DE:LANDESVERBAND",
"state": "Baden-W\u00fcrttemberg",
"fb_name": "gruenebw",
"fb_count": 11489,
"fb_count": 11557,
"fb_verified": true,
"tw_name": "GrueneBW",
"tw_count": 14753,
"tw_count": 14934,
"tw_verified": false,
"in_name": "gruenebw",
"in_count": 2136,
"fill-opacity": 0.522063767295375,
"in_count": 2248,
"in_verified": false,
"fill-opacity": 0.5254195545860747,
"fill": "#55acee",
"stroke-width": 0
},
@ -44985,12 +45024,15 @@
"level": "DE:LANDESVERBAND",
"state": "Baden-W\u00fcrttemberg",
"fb_name": "gruenebw",
"fb_count": 11489,
"fb_count": 11557,
"fb_verified": true,
"tw_name": "GrueneBW",
"tw_count": 14753,
"tw_count": 14934,
"tw_verified": false,
"in_name": "gruenebw",
"in_count": 2136,
"fill-opacity": 0.522063767295375,
"in_count": 2248,
"in_verified": false,
"fill-opacity": 0.5254195545860747,
"fill": "#55acee",
"stroke-width": 0
},
@ -45115,12 +45157,15 @@
"level": "DE:LANDESVERBAND",
"state": "Hamburg",
"fb_name": "gruene.hamburg",
"fb_count": 5320,
"fb_count": 5431,
"fb_verified": true,
"tw_name": "GRUENE_Hamburg",
"tw_count": 8528,
"tw_count": 8728,
"tw_verified": true,
"in_name": "gruene_hamburg",
"in_count": 2038,
"fill-opacity": 0.3017799639053045,
"in_count": 2154,
"in_verified": true,
"fill-opacity": 0.3070752559546846,
"fill": "#55acee",
"stroke-width": 0
},
@ -45233,12 +45278,15 @@
"level": "DE:LANDESVERBAND",
"state": "Schleswig-Holstein",
"fb_name": "gruenesh",
"fb_count": 4352,
"fb_count": 4378,
"fb_verified": true,
"tw_name": "gruene_sh",
"tw_count": 4573,
"tw_count": 4649,
"tw_verified": true,
"in_name": "gruenesh",
"in_count": 1864,
"fill-opacity": 0.16182455147032804,
"in_count": 1917,
"in_verified": true,
"fill-opacity": 0.16356471871371778,
"fill": "#55acee",
"stroke-width": 0
},
@ -45611,12 +45659,15 @@
"level": "DE:LANDESVERBAND",
"state": "Schleswig-Holstein",
"fb_name": "gruenesh",
"fb_count": 4352,
"fb_count": 4378,
"fb_verified": true,
"tw_name": "gruene_sh",
"tw_count": 4573,
"tw_count": 4649,
"tw_verified": true,
"in_name": "gruenesh",
"in_count": 1864,
"fill-opacity": 0.16182455147032804,
"in_count": 1917,
"in_verified": true,
"fill-opacity": 0.16356471871371778,
"fill": "#55acee",
"stroke-width": 0
},
@ -46917,12 +46968,15 @@
"level": "DE:LANDESVERBAND",
"state": "Hamburg",
"fb_name": "gruene.hamburg",
"fb_count": 5320,
"fb_count": 5431,
"fb_verified": true,
"tw_name": "GRUENE_Hamburg",
"tw_count": 8528,
"tw_count": 8728,
"tw_verified": true,
"in_name": "gruene_hamburg",
"in_count": 2038,
"fill-opacity": 0.3017799639053045,
"in_count": 2154,
"in_verified": true,
"fill-opacity": 0.3070752559546846,
"fill": "#55acee",
"stroke-width": 0
},
@ -47049,12 +47103,15 @@
"level": "DE:LANDESVERBAND",
"state": "Sachsen",
"fb_name": "gruene.sachsen",
"fb_count": 3204,
"fb_count": 3244,
"fb_verified": true,
"tw_name": "gruene_sachsen",
"tw_count": 4824,
"tw_count": 4932,
"tw_verified": true,
"in_name": "gruene_sachsen",
"in_count": 1380,
"fill-opacity": 0.1707066775186666,
"in_count": 1428,
"in_verified": true,
"fill-opacity": 0.17352144390106602,
"fill": "#55acee",
"stroke-width": 0
},
@ -51553,12 +51610,15 @@
"level": "DE:LANDESVERBAND",
"state": "Sachsen-Anhalt",
"fb_name": "GRUENELSA",
"fb_count": 2153,
"fb_count": 2160,
"fb_verified": true,
"tw_name": "GRUENE_LSA",
"tw_count": 3165,
"tw_count": 3178,
"tw_verified": false,
"in_name": "gruene_lsa",
"in_count": 815,
"fill-opacity": 0.11199971690434905,
"in_count": 848,
"in_verified": true,
"fill-opacity": 0.1118108574042149,
"fill": "#55acee",
"stroke-width": 0
},
@ -55629,12 +55689,15 @@
"level": "DE:LANDESVERBAND",
"state": "Hamburg",
"fb_name": "gruene.hamburg",
"fb_count": 5320,
"fb_count": 5431,
"fb_verified": true,
"tw_name": "GRUENE_Hamburg",
"tw_count": 8528,
"tw_count": 8728,
"tw_verified": true,
"in_name": "gruene_hamburg",
"in_count": 2038,
"fill-opacity": 0.3017799639053045,
"in_count": 2154,
"in_verified": true,
"fill-opacity": 0.3070752559546846,
"fill": "#55acee",
"stroke-width": 0
},
@ -56515,12 +56578,15 @@
"level": "DE:LANDESVERBAND",
"state": "Mecklenburg-Vorpommern",
"fb_name": "gruenemv",
"fb_count": 2929,
"fb_count": 2973,
"fb_verified": true,
"tw_name": "GRUENE_MV",
"tw_count": 2237,
"tw_count": 2238,
"tw_verified": false,
"in_name": "gruenemv",
"in_count": 922,
"fill-opacity": 0.07916062139495382,
"in_count": 941,
"in_verified": false,
"fill-opacity": 0.07873904936143264,
"fill": "#55acee",
"stroke-width": 0
},
@ -62181,12 +62247,15 @@
"level": "DE:LANDESVERBAND",
"state": "Niedersachsen",
"fb_name": "GRUENE.Niedersachsen",
"fb_count": 3910,
"fb_count": 3924,
"fb_verified": true,
"tw_name": "gruenelvnds",
"tw_count": 3916,
"tw_count": 3942,
"tw_verified": true,
"in_name": "gruenends",
"in_count": 1098,
"fill-opacity": 0.13857532113662904,
"in_count": 1133,
"in_verified": false,
"fill-opacity": 0.13869049713260387,
"fill": "#55acee",
"stroke-width": 0
},
@ -62615,12 +62684,15 @@
"level": "DE:LANDESVERBAND",
"state": "Schleswig-Holstein",
"fb_name": "gruenesh",
"fb_count": 4352,
"fb_count": 4378,
"fb_verified": true,
"tw_name": "gruene_sh",
"tw_count": 4573,
"tw_count": 4649,
"tw_verified": true,
"in_name": "gruenesh",
"in_count": 1864,
"fill-opacity": 0.16182455147032804,
"in_count": 1917,
"in_verified": true,
"fill-opacity": 0.16356471871371778,
"fill": "#55acee",
"stroke-width": 0
},
@ -67429,12 +67501,15 @@
"level": "DE:LANDESVERBAND",
"state": "Schleswig-Holstein",
"fb_name": "gruenesh",
"fb_count": 4352,
"fb_count": 4378,
"fb_verified": true,
"tw_name": "gruene_sh",
"tw_count": 4573,
"tw_count": 4649,
"tw_verified": true,
"in_name": "gruenesh",
"in_count": 1864,
"fill-opacity": 0.16182455147032804,
"in_count": 1917,
"in_verified": true,
"fill-opacity": 0.16356471871371778,
"fill": "#55acee",
"stroke-width": 0
},
@ -69391,12 +69466,15 @@
"level": "DE:LANDESVERBAND",
"state": "Niedersachsen",
"fb_name": "GRUENE.Niedersachsen",
"fb_count": 3910,
"fb_count": 3924,
"fb_verified": true,
"tw_name": "gruenelvnds",
"tw_count": 3916,
"tw_count": 3942,
"tw_verified": true,
"in_name": "gruenends",
"in_count": 1098,
"fill-opacity": 0.13857532113662904,
"in_count": 1133,
"in_verified": false,
"fill-opacity": 0.13869049713260387,
"fill": "#55acee",
"stroke-width": 0
},
@ -69845,12 +69923,15 @@
"level": "DE:LANDESVERBAND",
"state": "Mecklenburg-Vorpommern",
"fb_name": "gruenemv",
"fb_count": 2929,
"fb_count": 2973,
"fb_verified": true,
"tw_name": "GRUENE_MV",
"tw_count": 2237,
"tw_count": 2238,
"tw_verified": false,
"in_name": "gruenemv",
"in_count": 922,
"fill-opacity": 0.07916062139495382,
"in_count": 941,
"in_verified": false,
"fill-opacity": 0.07873904936143264,
"fill": "#55acee",
"stroke-width": 0
},
@ -69939,12 +70020,15 @@
"level": "DE:LANDESVERBAND",
"state": "Mecklenburg-Vorpommern",
"fb_name": "gruenemv",
"fb_count": 2929,
"fb_count": 2973,
"fb_verified": true,
"tw_name": "GRUENE_MV",
"tw_count": 2237,
"tw_count": 2238,
"tw_verified": false,
"in_name": "gruenemv",
"in_count": 922,
"fill-opacity": 0.07916062139495382,
"in_count": 941,
"in_verified": false,
"fill-opacity": 0.07873904936143264,
"fill": "#55acee",
"stroke-width": 0
},
@ -71485,12 +71569,15 @@
"level": "DE:LANDESVERBAND",
"state": "Th\u00fcringen",
"fb_name": "gruenethueringen",
"fb_count": 1570,
"fb_count": 1708,
"fb_verified": true,
"tw_name": "Gruene_TH",
"tw_count": 4130,
"tw_count": 4272,
"tw_verified": true,
"in_name": "gruene_th",
"in_count": 531,
"fill-opacity": 0.14614812979935596,
"in_count": 689,
"in_verified": true,
"fill-opacity": 0.15030081272209125,
"fill": "#55acee",
"stroke-width": 0
},
@ -76207,12 +76294,15 @@
"level": "DE:LANDESVERBAND",
"state": "Niedersachsen",
"fb_name": "GRUENE.Niedersachsen",
"fb_count": 3910,
"fb_count": 3924,
"fb_verified": true,
"tw_name": "gruenelvnds",
"tw_count": 3916,
"tw_count": 3942,
"tw_verified": true,
"in_name": "gruenends",
"in_count": 1098,
"fill-opacity": 0.13857532113662904,
"in_count": 1133,
"in_verified": false,
"fill-opacity": 0.13869049713260387,
"fill": "#55acee",
"stroke-width": 0
},
@ -77987,12 +78077,15 @@
"level": "DE:LANDESVERBAND",
"state": "Bayern",
"fb_name": "gruenebayern",
"fb_count": 10117,
"fb_count": 10195,
"fb_verified": true,
"tw_name": "Gruene_Bayern",
"tw_count": 12315,
"tw_count": 12464,
"tw_verified": false,
"in_name": "gruenebayern",
"in_count": 7337,
"fill-opacity": 0.4357903676704767,
"in_count": 7622,
"in_verified": true,
"fill-opacity": 0.43851810153748727,
"fill": "#55acee",
"stroke-width": 0
},
@ -86443,12 +86536,15 @@
"level": "DE:LANDESVERBAND",
"state": "Niedersachsen",
"fb_name": "GRUENE.Niedersachsen",
"fb_count": 3910,
"fb_count": 3924,
"fb_verified": true,
"tw_name": "gruenelvnds",
"tw_count": 3916,
"tw_count": 3942,
"tw_verified": true,
"in_name": "gruenends",
"in_count": 1098,
"fill-opacity": 0.13857532113662904,
"in_count": 1133,
"in_verified": false,
"fill-opacity": 0.13869049713260387,
"fill": "#55acee",
"stroke-width": 0
},

View file

@ -20,37 +20,39 @@ def scrapeInstagramData(username):
decoded = decode(result[1])
data = json.loads(decoded)
data["entry_data"]["ProfilePage"][0]["graphql"]["user"]["edge_owner_to_timeline_media"]["edges"] = "----"
return data["entry_data"]["ProfilePage"][0]["graphql"]["user"]
return data["entry_data"]["ProfilePage"][0]["graphql"]["user"]["edge_followed_by"]["count"], data["entry_data"]["ProfilePage"][0]["graphql"]["user"]["is_verified"]
else:
print("No data found for", username, file=sys.stderr)
def scrapeFacebookLikes(username):
def scrapeFacebookData(username):
url = "https://www.facebook.com/" + username
r = requests.get(url)
s = str(r.content)
pattern = "Gef&#xe4;llt ([\d\.]+) Mal"
verified = "Das blaue Verifizierungsabzeichen" in s
pattern = r"Gef&#xe4;llt ([\d\.]+) Mal"
result = re.search(pattern, s)
if result:
return int(result[1].replace(".", ""))
return int(result[1].replace(".", "")), verified
else:
print("No data found for", username, file=sys.stderr)
return 0
return 0, verified
def scrapeTwitterFollowers(username):
def scrapeTwitterData(username):
url = "https://www.twitter.com/" + username
r = requests.get(url)
s = str(r.content)
verified = "ProfileHeaderCard-badges" in s
pattern = r' title="([\d\.]+) Follower"'
result = re.search(pattern, s)
if result:
return int(result[1].replace(".", ""))
return int(result[1].replace(".", "")), verified
else:
print("No data found for", username, file=sys.stderr)
return 0
return 0, verified
if __name__ == '__main__':
print(scrapeFacebookLikes("B90DieGruenen"))
print(scrapeTwitterFollowers("Die_Gruenen"))
print(scrapeInstagramData("die_gruenen")["edge_followed_by"]["count"])
print(scrapeFacebookData("B90DieGruenen"))
print(scrapeTwitterData("Die_Gruenen"))
print(scrapeInstagramData("die_gruenen"))

View file

@ -6,7 +6,7 @@ from pprint import pprint
import sys
import re
import json
from scraper import scrapeFacebookLikes, scrapeInstagramData, scrapeTwitterFollowers
from scraper import scrapeFacebookData, scrapeInstagramData, scrapeTwitterData
from time import sleep
# Git repo for our data
@ -107,11 +107,14 @@ def main():
for entry in dir_entries():
fbname = "--"
fbLikes = 0
fbVerified = False
twtname = "--"
twtFollower = 0
twtVerified = False
instaName = "--"
instaFollower = 0
instaVerified = False
if not entry.get("urls"):
continue
for url in entry["urls"]:
@ -119,40 +122,38 @@ def main():
fbname = getFacebookName(url["url"])
if fbname:
try:
fbLikes = scrapeFacebookLikes(fbname)
fbLikes, fbVerified = scrapeFacebookData(fbname)
sleep(0.1)
except Exception as e:
print("FACEBOOK ERROR for", url["url"], "--", fbname, file=sys.stderr)
print(e, file=sys.stderr)
continue
print(" FB", fbname, fbLikes)
print(" FB", fbname, fbLikes, fbVerified)
fbcount += 1
elif url["type"] == "TWITTER":
twtname = getTwitterName(url["url"])
try:
twtFollower = scrapeTwitterFollowers(twtname)
twtFollower, twtVerified = scrapeTwitterData(twtname)
sleep(0.1)
except Exception as e:
print("TWITTER ERROR for", url["url"], "--", twtname, file=sys.stderr)
print(e, file=sys.stderr)
continue
twtcount += 1
print(" TWITTER", twtname, twtFollower)
print(" TWITTER", twtname, twtFollower, twtVerified)
elif url["type"] == "INSTAGRAM":
instaName = getInstagramName(url["url"])
try:
instaData = scrapeInstagramData(instaName)
if instaData:
instaFollower = instaData["edge_followed_by"]["count"]
instaFollower, instaVerified = scrapeInstagramData(instaName)
sleep(0.1)
except Exception as e:
print("INSTAGRAM ERROR for", url["url"], "--", instaName, file=sys.stderr)
print(e, file=sys.stderr)
continue
instacount += 1
print(" INSTA", instaName, instaFollower)
print(" INSTA", instaName, instaFollower, instaVerified)
typ = entry.get("type")
level = entry.get("level", "")
@ -163,7 +164,7 @@ def main():
fbname = "--"
if fbLikes + twtFollower + instaFollower > 0:
key = "//".join([typ, level, land, kreis, stadt])
result.update({key: [typ, level, land, kreis, stadt, fbname, fbLikes, twtname, twtFollower, instaName, instaFollower]})
result.update({key: [typ, level, land, kreis, stadt, fbname, fbLikes, fbVerified, twtname, twtFollower, twtVerified, instaName, instaFollower, instaVerified]})
idx += 1
with open("docs/result.json", "w") as f:

View file

@ -18,7 +18,7 @@ def updateMaps(level="lv"):
social_data = {}
if result:
_, _, _ , _, _, fb_name, fb_count, tw_name, tw_count, in_name, in_count = result
_, _, _ , _, _, fb_name, fb_count, fb_verified, tw_name, tw_count, tw_verified, in_name, in_count, in_verified = result
if fb_count > fb_max:
fb_max = fb_count
if tw_count > tw_max:
@ -27,10 +27,13 @@ def updateMaps(level="lv"):
in_max = in_count
social_data["fb_name"] = fb_name
social_data["fb_count"] = fb_count
social_data["fb_verified"] = fb_verified
social_data["tw_name"] = tw_name
social_data["tw_count"] = tw_count
social_data["tw_verified"] = tw_verified
social_data["in_name"] = in_name
social_data["in_count"] = in_count
social_data["in_verified"] = in_verified
feature["properties"].update(social_data)
print(fb_max, tw_max, in_max)