R/convenience.R

Defines functions list_countries

Documented in list_countries

#' List available countries
#'
#' @return A character vector of country codes (e.g. ISO 3166-1 alpha-2) for which
#'   at least one provider is available.
#' @export
list_countries <- function() {
  dplyr::distinct(hydro_services(), country) |>
    dplyr::arrange(country)
}

Try the hydrodownloadR package in your browser

Any scripts or data that you put into this service are public.

hydrodownloadR documentation built on Feb. 25, 2026, 5:08 p.m.