openpolis / op_api

Api access to openpolis projects free data
1 stars 0 forks source link

historical_city_mayor #8

Closed guglielmo closed 12 years ago

guglielmo commented 12 years ago

 url

historical_city_mayor/ID_TYPE/CITY_ID/YEAR

parameters

the CITY_ID parameter can span cities, only YEAR must be before current year and after 2000

output

 1:
    sindaco: 
       nome sindaco, cognome sindaco, gruppo, link_openpolis
    pdl: 35
    pd: 33
    udc: 10
    sel: 4
    altri: 14
2:
    sindaco: 
       nome sindaco, cognome sindaco, gruppo, link_openpolis
    pdl: 33
    pd: 31
    udc: 12
    sel: 6
    altri: 14
guglielmo commented 12 years ago

Percentages of groups are complicated and, for most of the cities, groups are civic lists, and percentages have little meaning.