Your licence should be more precise because you cannot put a CC licence on the legal texts, just on your ReadMe file.
French civil code now on GitHub
91–100 of 126 posts
Re: French civil code now on GitHub
#92Earlier quoted context omitted.
How does it feed the data to the repo? Is it parsing reports from the parliament? If yes, how smooth did the process go?
It goes on each article on Legifrance, creates a JSON file with all the articles, which book/section they belong to, and for each article, tracks it's versions (they are dates). The crawler is in Go. Then there is a python script that takes that JSON file, creates the .md files and runs the git commands in the shell. Ultimately the sad thing is that I had to scrape this information. There were lots of pitfalls due to…
Re: French civil code now on GitHub
#93I just woke up and wow. Well, I'd be happy to answer any questions you might have of course.
Re: French civil code now on GitHub
#94I just woke up and wow. Well, I'd be happy to answer any questions you might have of course.
So how do you go about creating the commits like the example given? Even though I live in France I've not much looked at French law - the only exception being a few articles relating to immigration. In those examples, there are modifications made to preceding laws, and it seems to me that it would require strong AI to correctly update the original laws as required by the new law. The example in the README gives the i…
So for earch article, the codes tracks "when" the article changed, stores it in a hashtable, and replays the "time" (date) for each snapshot, and creates a commit each time.
Re: French civil code now on GitHub
#95Re: French civil code now on GitHub
#96Your licence should be more precise because you cannot put a CC licence on the legal texts, just on your ReadMe file.
How does French law work? Do the texts of laws have droit d'auteur?
Re: French civil code now on GitHub
#97Earlier quoted context omitted.
It goes on each article on Legifrance, creates a JSON file with all the articles, which book/section they belong to, and for each article, tracks it's versions (they are dates). The crawler is in Go. Then there is a python script that takes that JSON file, creates the .md files and runs the git commands in the shell. Ultimately the sad thing is that I had to scrape this information. There were lots of pitfalls due to…
It might not be necessary to scrap anything since this data was finally released as OpenData last year: https://www.data.gouv.fr/fr/datasets/legi-codes-lois-et-regl...
Re: French civil code now on GitHub
#98Re: French civil code now on GitHub
#99Your licence should be more precise because you cannot put a CC licence on the legal texts, just on your ReadMe file.
How does French law work? Do the texts of laws have droit d'auteur?
Re: French civil code now on GitHub
#100So I'm curious: how do legal scholars and practising lawyers track changes to legal systems over time? Do they use trees, DAGs, or something else? Do they have concepts similar to change dependencies and regressions? What special concepts or techniques does the domain require?
The UK has legislation.gov.uk [1], which seems to treat acts of the UK parliament as some kind of structured objects. Amendments can be accessed, and there is a timeline feature (for example [2]) that shows changes over time. It does have the feeling of being incomplete, though, and lagging behind changes as they happen. So is there some other, canonical, data source that this site tracks? What is it?
Anyone knowledgeable care to comment?
[1] http://www.legislation.gov.uk/
[2] http://www.legislation.gov.uk/ukpga/1974/39/section/21?timel...