Skip to contents

Get COVID rules for an ARS

Usage

nina_covid_rules(ars, safe = TRUE, refresh = FALSE)

Arguments

ars

ARS code.

safe

Logical; if TRUE (default), apply rate-limiting and cache GET responses to tools::R_user_dir("bunddev", "cache").

refresh

Logical; if TRUE, ignore cached responses and re-fetch from the API (default FALSE).

Value

A one-row tibble.

ars

The ARS code used in the request (character).

data

COVID rules response payload (list).