Dataset Viewer
Auto-converted to Parquet Duplicate
citation_en
stringlengths
7
35
citation2_en
stringclasses
966 values
dataset
stringclasses
26 values
name_en
stringlengths
4
1.43k
document_date_en
timestamp[us, tz=UTC]date
1870-05-12 00:00:00
2027-03-01 00:00:00
source_url_en
stringlengths
38
197
scraped_timestamp_en
timestamp[us, tz=UTC]date
2026-07-20 13:29:10
2026-08-15 13:39:16
unofficial_text_en
stringlengths
68
10.1M
unofficial_sections_en
stringlengths
2
10.1M
num_sections_en
int64
0
9.76k
citation_fr
stringlengths
7
37
citation2_fr
stringclasses
966 values
name_fr
stringlengths
4
555
document_date_fr
timestamp[us, tz=UTC]date
1870-05-12 00:00:00
2027-03-01 00:00:00
source_url_fr
stringlengths
38
188
scraped_timestamp_fr
timestamp[us, tz=UTC]date
2026-07-20 13:29:10
2026-08-15 12:58:49
unofficial_text_fr
stringlengths
106
10.7M
unofficial_sections_fr
stringlengths
2
10.7M
num_sections_fr
int64
0
9.76k
upstream_license
stringclasses
23 values
RSA 2000, c A-1
null
LEGISLATION-AB
ABC Benefits Corporation Act
2006-01-17T00:00:00
https://kings-printer.alberta.ca/1266.cfm?page=A01.cfm&leg_type=Acts&isbncln=0779743326&display=html
2026-08-15T11:01:02.579000
# ABC Benefits Corporation Act RSA 2000, c A-1 HER MAJESTY, by and with the advice and consent of the Legislative Assembly of Alberta, enacts as follows: ### Definitions 1 In this Act, (a) “Alberta Blue Cross Plan” means the Alberta Blue Cross Plan operated by the Corporation in accordance with this Act and the reg...
{"1": "In this Act,\n(a) “Alberta Blue Cross Plan” means the Alberta Blue Cross Plan operated by the Corporation in accordance with this Act and the regulations;\n(a.1) “board” means the board of directors of the Corporation;\n(b) “Corporation” means the ABC Benefits Corporation continued under section 2;\n(c) “Ministe...
18
null
null
null
null
null
null
null
null
0
See upstream license: https://perma.cc/7GUJ-2NNL © Alberta King's Printer. Reproduced from the Alberta King's Printer Laws Online catalogue (https://kings-printer.alberta.ca), which permits reproduction of Alberta's statutes and regulations without permission provided due diligence is exercised to ensure the accuracy o...
SA 2024, c A-1.4
null
LEGISLATION-AB
Access to Information Act
2025-12-18T00:00:00
https://kings-printer.alberta.ca/1266.cfm?page=a01p4.cfm&leg_type=Acts&isbncln=9780779860791&display=html
2026-08-15T11:01:12.471000
"# Access to Information Act\n\nSA 2024, c A-1.4\n\nHIS MAJESTY, by and with the advice and consent (...TRUNCATED)
"{\"1\": \"In this Act,\\n(a) “applicant” means a person who makes a request for access to a rec(...TRUNCATED)
103
null
null
null
null
null
null
null
null
0
"See upstream license: https://perma.cc/7GUJ-2NNL © Alberta King's Printer. Reproduced from the Alb(...TRUNCATED)
RSA 2000, c A-3
null
LEGISLATION-AB
Administrative Procedures and Jurisdiction Act
2023-04-01T00:00:00
https://kings-printer.alberta.ca/1266.cfm?page=A03.cfm&leg_type=Acts&isbncln=9780779842599&display=html
2026-08-15T11:01:56.544000
"# Administrative Procedures and Jurisdiction Act\n\nRSA 2000, c A-3\n\nHER MAJESTY, by and with the(...TRUNCATED)
"{\"1\": \"In this Act,\\n(a) “authority” means a person authorized to exercise a statutory powe(...TRUNCATED)
16
null
null
null
null
null
null
null
null
0
"See upstream license: https://perma.cc/7GUJ-2NNL © Alberta King's Printer. Reproduced from the Alb(...TRUNCATED)
RSA 2000, c A-4
null
LEGISLATION-AB
Adult Adoption Act
2022-11-16T00:00:00
https://kings-printer.alberta.ca/1266.cfm?page=A04.cfm&leg_type=Acts&isbncln=9780779834822&display=html
2026-08-15T11:02:10.055000
"# Adult Adoption Act\n\nRSA 2000, c A-4\n\nHER MAJESTY, by and with the advice and consent of the L(...TRUNCATED)
"{\"1\": \"In this Act, “Court” means the Court of King’s Bench.\", \"2\": \"This Act applies (...TRUNCATED)
13
null
null
null
null
null
null
null
null
0
"See upstream license: https://perma.cc/7GUJ-2NNL © Alberta King's Printer. Reproduced from the Alb(...TRUNCATED)
SA 2008, c A-4.2
null
LEGISLATION-AB
Adult Guardianship and Trusteeship Act
2026-04-01T00:00:00
https://kings-printer.alberta.ca/1266.cfm?page=A04P2.cfm&leg_type=Acts&isbncln=9780779861439&display=html
2026-08-15T11:02:24.443000
"# Adult Guardianship and Trusteeship Act\n\nSA 2008, c A-4.2\n\nHER MAJESTY, by and with the advice(...TRUNCATED)
"{\"1\": \"In this Act,\\n(a) “agent” means an agent as defined in the Personal Directives Act ;(...TRUNCATED)
163
null
null
null
null
null
null
null
null
0
"See upstream license: https://perma.cc/7GUJ-2NNL © Alberta King's Printer. Reproduced from the Alb(...TRUNCATED)
SA 2002, c A-4.5
null
LEGISLATION-AB
Adult Interdependent Relationships Act
2019-09-01T00:00:00
https://kings-printer.alberta.ca/1266.cfm?page=A04P5.cfm&leg_type=Acts&isbncln=9780779811595&display=html
2026-08-15T11:02:40.767000
"# Adult Interdependent Relationships Act\n\nSA 2002, c A-4.5\n\n### Preamble\n\nWHEREAS marriage is(...TRUNCATED)
"{\"1\": \"(1) In this Act,\\n(a) “adult interdependent partner” means an adult interdependent p(...TRUNCATED)
83
null
null
null
null
null
null
null
null
0
"See upstream license: https://perma.cc/7GUJ-2NNL © Alberta King's Printer. Reproduced from the Alb(...TRUNCATED)
SA 2017, c A-5.5
null
LEGISLATION-AB
Advocate for Persons with Disabilities Act
2018-10-30T00:00:00
https://kings-printer.alberta.ca/1266.cfm?page=a05p5.cfm&leg_type=Acts&isbncln=9780779806751&display=html
2026-08-15T11:02:49.500000
"# Advocate for Persons with Disabilities Act\n\nSA 2017, c A-5.5\n\nHER MAJESTY, by and with the ad(...TRUNCATED)
"{\"1\": \"In this Act,\\n(a) “Advocate” means the Advocate for Persons with Disabilities appoin(...TRUNCATED)
7
null
null
null
null
null
null
null
null
0
"See upstream license: https://perma.cc/7GUJ-2NNL © Alberta King's Printer. Reproduced from the Alb(...TRUNCATED)
RSA 2000, c A-6
null
LEGISLATION-AB
Age of Majority Act
2002-01-01T00:00:00
https://kings-printer.alberta.ca/1266.cfm?page=A06.cfm&leg_type=Acts&isbncln=0779700015&display=html
2026-08-15T11:02:58.272000
"# Age of Majority Act\n\nRSA 2000, c A-6\n\nHER MAJESTY, by and with the advice and consent of the (...TRUNCATED)
"{\"1\": \"Every person attains the age of majority and ceases to be a minor on attaining the age of(...TRUNCATED)
12
null
null
null
null
null
null
null
null
0
"See upstream license: https://perma.cc/7GUJ-2NNL © Alberta King's Printer. Reproduced from the Alb(...TRUNCATED)
RSA 2000, c A-9
null
LEGISLATION-AB
Agricultural and Recreational Land Ownership Act
2002-01-01T00:00:00
https://kings-printer.alberta.ca/1266.cfm?page=A09.cfm&leg_type=Acts&isbncln=0779700023&display=html
2026-08-15T11:03:07.026000
"# Agricultural and Recreational Land Ownership Act\n\nRSA 2000, c A-9\n\nHER MAJESTY, by and with t(...TRUNCATED)
"{\"1\": \"In this Act,\\n(a) “controlled land” means land in Alberta but does not include\\n(i)(...TRUNCATED)
5
null
null
null
null
null
null
null
null
0
"See upstream license: https://perma.cc/7GUJ-2NNL © Alberta King's Printer. Reproduced from the Alb(...TRUNCATED)
RSA 2000, c A-7
null
LEGISLATION-AB
Agricultural Operation Practices Act
2025-06-23T00:00:00
https://kings-printer.alberta.ca/1266.cfm?page=A07.cfm&leg_type=Acts&isbncln=9780779853854&display=html
2026-08-15T11:03:11.556000
"# Agricultural Operation Practices Act\n\nRSA 2000, c A-7\n\nHER MAJESTY, by and with the advice an(...TRUNCATED)
"{\"1\": \"In this Act,\\n(a) “affected person” means, in Part 2, a person or municipality deter(...TRUNCATED)
54
null
null
null
null
null
null
null
null
0
"See upstream license: https://perma.cc/7GUJ-2NNL © Alberta King's Printer. Reproduced from the Alb(...TRUNCATED)
End of preview. Expand in Data Studio

A2AJ Canadian Laws

Last updated: 2026-08-15 Maintainer: Access to Algorithmic Justice (A2AJ)


Dataset Summary

The A2AJ Canadian Laws dataset provides bulk, open-access full-text legislation and regulations from Canada, covering the federal jurisdiction and twelve provinces and territories. Each row corresponds to a single law or regulation and contains the English and French versions where both are publicly available. The project builds on an earlier version that was maintained by the Refugee Law Lab (RLL) and is now maintained by A2AJ, a research project co-hosted by York University's Osgoode Hall Law School and Toronto Metropolitan University's Lincoln Alexander School of Law. The dataset is intended to support empirical legal research, legal-tech prototyping, and language-model pre-training in the public interest—especially work that advances access to justice for marginalised and low-income communities.


Dataset Structure (~ 26k documents)

Code Type First document – Last document Rows
LEGISLATION-FED Federal Statutes 1870-05-12 – 2026-06-15 965
REGULATIONS-FED Federal Regulations 1945-12-21 – 2026-06-17 4,876
LEGISLATION-ON Ontario Legislation 1986-07-28 – 2026-07-16 856
REGULATIONS-ON Ontario Regulations 1990-12-31 – 2026-08-14 2,211
LEGISLATION-BC British Columbia Legislation 1924-12-19 – 2026-05-28 574
REGULATIONS-BC British Columbia Regulations 1968-01-01 – 2026-08-05 1,472
LEGISLATION-AB Alberta Legislation 2002-01-01 – 2026-07-31 442
REGULATIONS-AB Alberta Regulations 1969-02-11 – 2026-08-05 922
LEGISLATION-NS Nova Scotia Legislation 1900-01-01 – 2026-08-05 625
REGULATIONS-NS Nova Scotia Regulations 1913-09-08 – 2026-07-14 1,504
LEGISLATION-YT Yukon Legislation 2000-01-01 – 2026-01-01 278
REGULATIONS-YT Yukon Regulations 1957-08-01 – 2027-03-01 1,355
LEGISLATION-MB Manitoba Legislation 1985-06-26 – 2026-06-01 515
REGULATIONS-MB Manitoba Regulations 1972-09-27 – 2026-07-14 1,093
LEGISLATION-NB New Brunswick Legislation 1973-01-01 – 2026-06-12 422
REGULATIONS-NB New Brunswick Regulations 1980-10-30 – 2026-06-24 675
LEGISLATION-NL Newfoundland and Labrador Legislation 1957-06-12 – 2025-03-18 403
REGULATIONS-NL Newfoundland and Labrador Regulations 1986-01-01 – 2026-08-07 1,663
LEGISLATION-NT Northwest Territories Legislation 1988-01-01 – 2024-01-01 239
REGULATIONS-NT Northwest Territories Regulations 1990-01-01 – 2026-08-01 563
LEGISLATION-SK Saskatchewan Legislation 1954-12-20 – 2026-06-30 505
REGULATIONS-SK Saskatchewan Regulations 1943-12-06 – 2026-07-15 665
LEGISLATION-PE Prince Edward Island Legislation 2003-11-01 – 2026-07-11 341
REGULATIONS-PE Prince Edward Island Regulations 2002-12-31 – 2026-08-08 396
LEGISLATION-QC Quebec Legislation 1992-06-23 – 2026-04-02 542
REGULATIONS-QC Quebec Regulations 2012-09-01 – 2026-07-01 2,538

Note: Counts are approximate and will drift as the dataset is updated.

Data Fields

Field Type Description
dataset string Type identifier (eg. LEGISLATION-FED, REGULATIONS-ON)
citation_en / citation_fr string Primary citation in English / French
citation2_en / citation2_fr string Secondary citation(s) where available
name_en / name_fr string Title of the law or regulation
document_date_en / document_date_fr datetime64[us, UTC] Date of the document (assent / registration; consolidation currency date for Quebec)
source_url_en / source_url_fr string URL of the official source document
scraped_timestamp_en / scraped_timestamp_fr datetime64[us, UTC] Timestamp when the source was scraped
unofficial_text_en / unofficial_text_fr string Full unofficial text of the law/regulation (Markdown)
unofficial_sections_en / unofficial_sections_fr string JSON string mapping section numbers to section text
num_sections_en / num_sections_fr int64 Number of sections (key count of unofficial_sections)
upstream_license string License of the upstream source

Missing values are null (federal regulations use an empty string "" for citation2_en / citation2_fr by convention).

Data Languages

Where available, rows include both English and French texts. Federal, Quebec, Manitoba, New Brunswick, Northwest Territories and Yukon instruments are generally fully bilingual (a minority of Quebec regulations are published in French only); Ontario is partially bilingual; the remaining jurisdictions publish mostly in English. Where only one language is published, the fields for the other language are empty.

Data Splits

All rows are provided in a single train split.


Data Loading

from datasets import load_dataset
import pandas as pd

# load specific type of laws (e.g. Federal Legislation)
laws = load_dataset("a2aj/canadian-laws", data_dir = "LEGISLATION-FED", split="train")

## ALTERNATIVELY
## load the entire corpus
# laws = load_dataset("a2aj/canadian-laws", split="train")

# convert to df
df = laws.to_pandas()
df.head(5)

The dataset is also offered in Parquet format for fast local use. Files are in subfolders with the dataset type names.


Dataset Creation

Curation Rationale

Building on open government initiatives, A2AJ is collecting and sharing Canadian legal data to:

  • democratise access to Canadian legislation and regulations;
  • enable large-scale empirical legal studies; and
  • support responsible AI development for the justice sector.

Source Data & Normalisation

Documents are collected from official government sources for each jurisdiction:

Source documents (XML, HTML or PDF depending on the jurisdiction) are parsed and normalised into a common structure with minimal processing: conversion to Markdown text, cleanup, and section parsing.

Personal & Sensitive Information

Legislation and regulations are public documents that do not typically include personal or sensitive information.

Non-Official Versions & Disclaimer

The texts here are unofficial copies derived from online sources. For authoritative versions, consult the URLs in source_url_en / source_url_fr.

Non-Affiliation / Endorsement

A2AJ and this dataset are not affiliated with, nor endorsed by, the Government of Canada, Justice Canada or any provincial or territorial government.


Considerations for Using the Data

  • Social Impact. Open legal data can reduce information asymmetries but should be used responsibly to ensure that derivative tools advance—rather than undermine—access to justice.
  • Currency. Laws and regulations are living documents that change over time. This dataset represents a snapshot and may not reflect the most current versions. Always verify against official sources for legal purposes.
  • Completeness. The dataset covers the federal jurisdiction plus Ontario, Quebec, British Columbia, Alberta, Nova Scotia, Yukon, Manitoba, New Brunswick, Newfoundland and Labrador, Saskatchewan, the Northwest Territories and Prince Edward Island. Quebec is reproduced from the provincial open-data XML under CC BY-NC-ND 4.0 — note the non-commercial and no-derivatives terms passed through in upstream_license; A2AJ is advocating with the source maintainers for a more permissive licence. Quebec coverage is current consolidations only (repealed/revoked instruments in the source corpus are excluded). Nunavut is not yet included because it imposes copyright / licensing limitations on its legislation; A2AJ plans to seek permission to add it.

Licensing Information

The code used to create the dataset by the A2AJ and any work on the dataset undertaken by the A2AJ is subject to an open source MIT license.

Users must also comply with upstream licenses found in the upstream_license field in the dataset for each document, which reflects the licenses through which the A2AJ obtained the document. These upstream licenses may include limits on commercial use, as well as other limitations.

The A2AJ is committed to open source methodologies, and we are actively working to obtain more permissive licenses for all data we collect.


Warranties / Representations

While we make best efforts to ensure the completeness and accuracy of our datasets, we provide no warranties regarding completeness or accuracy. The data were collected through automated processes and may contain errors. Always verify documents against the official source.


Dataset Curators


Citation

Sean Rehaag, Simon Wallace & Clifford McCarten, "A2AJ Canadian Laws" (2025), online: Hugging Face Datasets https://huggingface.co/datasets/a2aj/canadian-laws (updated 2026).


Acknowledgements

This research output is supported in part by funding from the Law Foundation of Ontario and the Social Sciences and Humanities Research Council of Canada, by in-kind compute from the Digital Research Alliance of Canada and by administrative support from the Centre for Refugee Studies, the Refugee Law Lab, and Osgoode Hall Law School. We also thank Justice Canada and the provincial and territorial publishers for maintaining open access to legislative source documents.

Downloads last month
516