This function fetches the status of all available SDFI services.
The API that this package wraps is one of these. It checks this status url. The status can
also be followed on the official X-page.
Usage
status_check(return_df = FALSE, error_if_unavailable = FALSE)
Arguments
- return_df
This option makes the function return a dataframe 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.
Value
Returns a data frame object with the services and their statuses. Is
only returned if return_df = TRUE
.
Examples
status_check()
#> ✔ All systems are operational
status_check(return_df = TRUE)
#> ✔ All systems are operational
#> service status
#> 1 Adresser OK
#> 2 Arkiv kort OK
#> 3 Dataforsyningen.dk OK
#> 4 FTPS OK
#> 5 Gsearch OK
#> 6 WMS - forvaltning2 OK
#> 7 sdfekort.dk OK