Skip to contents

Lists every court, tribunal or law collection in the A2AJ Canadian Legal Data corpus with its date range and document count. This is the same table the project's README carries, fetched live.

Usage

morie_ingest_a2aj_coverage(
  doc_type = c("cases", "laws"),
  timeout = .MORIE_A2AJ_DEFAULT_TIMEOUT,
  user_agent = .MORIE_A2AJ_DEFAULT_UA
)

Arguments

doc_type

"cases" (default) or "laws".

timeout

HTTP timeout in seconds.

user_agent

User-Agent header sent with the request.

Value

A data.frame with dataset, description_en, description_fr, earliest_document_date, latest_document_date (both Date) and number_of_documents.

References

Rehaag S, Wallace S, McCarten C (2025). A2AJ Canadian Legal Data. https://github.com/a2aj-ca/canadian-legal-data.

See also

morie_ingest_a2aj_gaps for the courts the corpus does not carry.

Examples

# \donttest{
cov <- try(morie_ingest_a2aj_coverage("cases"))
if (!inherits(cov, "try-error")) head(cov)
#>   dataset                        description_en
#> 1    BCCA      British Columbia Court of Appeal
#> 2    BCSC     Supreme Court of British Columbia
#> 3    CART   Canada Agricultural Review Tribunal
#> 4    CHRT        Canadian Human Rights Tribunal
#> 5    CIRB     Canada Industrial Relations Board
#> 6    CITT Canadian International Trade Tribunal
#>                                 description_fr earliest_document_date
#> 1      Cour d'appel de la Colombie-Britannique             1999-01-04
#> 2      Cour suprême de la Colombie-Britannique             2000-01-04
#> 3    Commission de révision agricole du Canada             2010-01-15
#> 4  Tribunal canadien des droits de la personne             2003-01-10
#> 5 Conseil canadien des relations industrielles             1995-12-08
#> 6      Tribunal canadien du commerce extérieur             1984-11-07
#>   latest_document_date number_of_documents
#> 1           2026-10-13               14732
#> 2           2026-10-09               52476
#> 3           2026-09-21                 533
#> 4           2026-09-28                1201
#> 5           2026-06-29                1197
#> 6           2026-10-13                5365
# }