I've added a new option: 'groupby', values: country or item.

Grouping by country may be more interesting for countries in particular.


Example:

http://www.wikilovesmonuments.org.pt/tools/stats-eu/index.php?format=graph&item[]=name_pct&item[]=address_pct&item[]=municipality_pct&item[]=coordinates_pct&item[]=image_pct&width=1000&height=700&filter[]=pt&filter[]=es&filter[]=es-vc&filter[]=es-ct&groupby=country


PS: By the way, graph for 'pt' looks pretty ugly, we really should
update our database :P


-- 
Nuno Tavares
Wikimedia Portugal
http://www.wikimedia.pt

Imagine um mundo onde é dada a qualquer pessoa a possibilidade de ter
livre acesso ao somatório de todo o conhecimento humano. É isso o que
estamos a fazer.

Participe também: http://www.wikimedia.pt

Em 11-08-2011 03:24, Nuno Tavares escreveu:
> Maarten and all,
> 
> I've done already the most part for the statistics. I'll have to recall
> how to get in to the toolserver to merge it into the API, but here is a
> preview (based on an old DB dump):
> 
> http://www.wikilovesmonuments.org.pt/tools/stats-eu/index.php
> 
> Here is a graph example:
> 
> http://www.wikilovesmonuments.org.pt/tools/stats-eu/index.php?format=graph&item[]=name_pct&item[]=address_pct&item[]=municipality_pct&item[]=coordinates_pct&item[]=image_pct&width=1000&height=700&filter[]=pt&filter[]=es&filter[]=es-vc&filter[]=es-ct
> 
> Here is a table example:
> 
> http://www.wikilovesmonuments.org.pt/tools/stats-eu/index.php?format=table&item[]=name_pct&item[]=address_pct&item[]=municipality_pct&item[]=coordinates_pct&item[]=image_pct&width=1000&height=700&filter[]=pt&filter[]=es&filter[]=es-vc&filter[]=es-ct
> 
> Not sure what else would be usefull, though.
> 

_______________________________________________
Wiki Loves Monuments mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
http://www.wikilovesmonuments.eu

Reply via email to