Learn R Programming

dawaR (version 0.3.0)

status_check: Check that all DAWA services are operational

Description

This function fetches the status of all available SDFI services. This package depends on at least one of these. It checks the official status page. The status can also be followed on their official X-page @DriftDataforsyn.

Usage

status_check(return_df = FALSE, error_if_unavailable = FALSE)

Value

Returns a data frame object with the services and their statuses. Is only returned if return_df = TRUE.

Arguments

return_df

This option makes the function return a data.frame object with the services and their statuses listed

error_if_unavailable

This option forces the function to throw an error in the event that one or more services are unreachable.

See Also

Other Connection checks: connection_check()

Examples

Run this code
if (connection_check()) {
  status_check()

  status_check(return_df = TRUE)
}

Run the code above in your browser using DataLab