Skip to contents

Returns the data availability. Response: DataAvailabilityID - ID of the resource as found in the database DataAvailabilityName - explanation for the data availability IsAvailable - Y for data is available, N for data is unavailable, and NULL for unknown data

Usage

cvd_data_availability(
  time_period_id,
  system_level_id,
  indicator_id = NULL,
  metric_category_type_id = NULL
)

Arguments

time_period_id

integer - the time period to return data for (compulsory)

system_level_id

integer - the system level to return data for (compulsory)

indicator_id

integer - the indicator to return data for (optional)

metric_category_type_id

integer - the metric category to return data for (optional)

Value

Tibble of data availability

Details

CVD Prevent API documentation: Data availability

Note

This function may take longer than 5 seconds to complete due to API response time.

Examples

if (FALSE) { # \dontrun{
cvd_data_availability(time_period_id = 3, system_level_id = 5)
} # }