The Tocqueville Civic Library

Data and questions

The whole library is free to download, and anyone can ask the project a question or suggest a change.

Download the library

The project keeps a copy of the library on Hugging Face, a public website where people share data for AI. Anyone can download it without an account. It holds:

Other ways to get the law

Ask a question or suggest a change

To find out what the law says about something, ask Chat. It reads the law and answers with the sections quoted. Questions and suggestions about the library itself go on Hugging Face: a section that is missing or reads wrong, a code you would like added, a place on the map with a wrong address, or an idea for the website.

The dataset's Community tab is where people start discussions. Posts are public, so others can read them and add to them. Reading is open to all, and posting takes a free Hugging Face account.

What makes a post useful

Posts are public, so leave out personal details, yours and anyone else's.

Let your AI write it

An AI assistant can do most of this for you. Plug in your AI, ask it to compare a section here with the government's official page, and have it write up anything that differs, with both links. Then paste what it wrote into a new discussion.

Filling gaps on the map

Map a place hands you or your AI a set of cities, counties and towns to fill in, with the steps to follow. Handing the results back goes through GitHub, so that step opens when GitHub does. Until then, post what you find on Hugging Face.

GitHub, opening later

The project's working files are on GitHub: the scripts that build each code from the government's official files, the website, the connector that AI assistants use, and the files behind the map. A correction to the law usually belongs in those scripts rather than in the data, because the library is rebuilt from the official sources.

That GitHub repository is private for now. When it opens to everyone, this page will link to it, and you or your AI will be able to send a fix there directly, as what GitHub calls a pull request. Until then, post questions and ideas about the code on Hugging Face as well.