CoolFace
Datasetpublic

jswizzle3737/ontario_laws_and_regs

##Ontario Laws & Regulations Dataset ⚖️Ontario Laws & Regs⚖️ The Ontario Laws & Regs dataset contains 5,096 Ontario laws and regulations. The laws and regulations consist of the most recent version of all current and revoked laws and regs. The dataset is distributed under the MIT license and is intended to facilitate ML and data tasks involving Ontario legislation. In addition, a scraper is provided which is capable of capturing different configurations of the data directly… See the full description on the dataset page: https://huggingface.co/datasets/jswizzle3737/ontario_laws_and_regs.

sourceHugging Facemitupdated 6mo agoView on Hugging Face
0likes213downloads
Dataset Card

##Ontario Laws & Regulations Dataset

⚖️Ontario Laws & Regs⚖️

The Ontario Laws & Regs dataset contains 5,096 Ontario laws and regulations.

The laws and regulations consist of the most recent version of all current and revoked laws and regs.

The dataset is distributed under the MIT license and is intended to facilitate ML and data tasks involving Ontario legislation.

In addition, a scraper is provided which is capable of capturing different configurations of the data directly from the Ontario eLaws website, found here.

Structure🏛️

Each law and regulation is stored in its own json file which contains the following fields & sub-fields:

  1. 1.actinfo/reginfo: Act/Reg Info, includes: -- fulltitle: Full Title -- actnametext/regnametext: Act/Reg Name Text -- citation: Citation -- actunder: For regulations only, the parent act. -- url: URL -- date_scraped: Date Scraped
  2. 2.copyright: Crown copyright blurb -- Copyright: As required by eLaws TOS
  3. 3.versions: Versions, includes a list of versions containing: -- ahref: URL slug for given version -- validfrom: Valid from -- valid_to: Valid to
  4. 4.currentregs: Current Regs (for Statutes), being a list of associated regulations, containing: -- ahref: URL slug for given regulation -- Citation: Citation -- title: Title
  5. 5.revokedregs: Revoked Regs (for Statutes), being a list of associated revoked regulations, containing: -- revokedregahref: URL slug for given revoked regulation -- revokedregcitation: Citation -- revokedregtitle: Title
  6. 6.content: Contents of the act or regulation, being a list of sections, containing: -- id: Section # -- section: Section title -- content: Section content, as utf-8 text -- raw_html: raw html of section content, containing extra features

Collection 📥

Documents were sourced from the Ontario eLaws Website.

`eLaws Scraper` was used to extract the documents and parse them to jsons.

Licence 📜

Both the dataset and its associated scraper are distributed under MIT license.