regardscitoyens / the-law-factory

Track the french law-making process
https://www.lafabriquedelaloi.fr
GNU Affero General Public License v3.0
76 stars 15 forks source link

First version of module 0 #37

Closed boogheta closed 10 years ago

boogheta commented 10 years ago

Display all the steps of all bills based on http://www.lafabriquedelaloi.fr/api/dossiers_promulgues.csv

RouxRC commented 10 years ago

Data is now available as 50 elements paginated json files providing all needed info on a bill and its steps merged from dossiers_promulgues.csv and the procedure.json files, completed with desired metrics (total_amendemnts, total_days and total_words for each bill, and number of amendments per step of each bill): http://www.lafabriquedelaloi.fr/api/dossiers_0_49.json http://www.lafabriquedelaloi.fr/api/dossiers_50_99.json ... The metadata in each file gives the name of the next page file, the total number of values, the total in the file and the number of the page.

The file stats_dossiers.json provides as extra the number of texts having total_days within ranges multiple of 30: http://www.lafabriquedelaloi.fr/api/stats_dossiers.json

fenicento commented 10 years ago

Laws files are loaded and displayed one after the other in order to handle large numbers of items. Laws stats are further aggregated into 3 months time spans.

To include in the first data file:

boogheta commented 10 years ago

forgot to ask whether you did find the appropriate fields you asked for in the data, it was added last week-end.