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)
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.
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