check_epidata_result: Check an API response for epidata-level errors and warnings.

View source: R/check.R

check_epidata_resultR Documentation

Check an API response for epidata-level errors and warnings.

Description

Check an API response for epidata-level errors and warnings.

Usage

check_epidata_result(response_content, allow_empty = FALSE)

Arguments

response_content

parsed JSON response with result and message fields

allow_empty

if TRUE, suppress errors for "no results" (result == -2)


epidatr documentation built on June 3, 2026, 1:06 a.m.