Skip to contents

CanLII legislation databases

Usage

morie_ingest_canlii_legislation_databases(
  language = c("en", "fr"),
  api_key = NULL,
  timeout = .MORIE_CANLII_DEFAULT_TIMEOUT,
  user_agent = .MORIE_CANLII_DEFAULT_UA
)

Arguments

language

"en" (default) or "fr".

api_key

CanLII API key; defaults to the CANLII_API_KEY environment variable.

timeout

HTTP timeout in seconds.

user_agent

User-Agent header sent with the request.

Value

A data.frame with databaseId, type, jurisdiction and name.

Examples

if (FALSE) { # \dontrun{
morie_ingest_canlii_legislation_databases()
} # }