Pages through the decisions of a court or tribunal, newest first,
optionally within publication, modification or decision-date
windows. CanLII returns at most 10,000 rows per call; use
offset to page.
Usage
morie_ingest_canlii_cases(
database_id,
offset = 0L,
result_count = 100L,
published_before = NULL,
published_after = NULL,
modified_before = NULL,
modified_after = NULL,
changed_before = NULL,
changed_after = NULL,
decision_date_before = NULL,
decision_date_after = NULL,
language = c("en", "fr"),
api_key = NULL,
timeout = .MORIE_CANLII_DEFAULT_TIMEOUT,
user_agent = .MORIE_CANLII_DEFAULT_UA
)Arguments
- database_id
CanLII database id, for example
"onhrt"(Human Rights Tribunal of Ontario) or"bcsc"; seemorie_ingest_canlii_databasesandmorie_ingest_a2aj_gaps.- offset
Zero-based offset into the result list.
- result_count
Rows to return, at most 10,000.
- published_before, published_after, modified_before, modified_after, changed_before, changed_after, decision_date_before, decision_date_after
Optional
"YYYY-MM-DD"filters.- language
"en"(default) or"fr".- api_key
CanLII API key; defaults to the
CANLII_API_KEYenvironment variable.- timeout
HTTP timeout in seconds.
- user_agent
User-Agent header sent with the request.
