Skip to contents

This function downloads HydroRIVERS data for a specified region from the HydroSHEDS database.

Usage

download_hydrorivers(region = "global", base_dir = getwd())

Arguments

region

Character string specifying the region. Valid options are "global", "af", "ar", "as", "au", "eu", "na", "sa".

base_dir

Directory where the data will be downloaded. Defaults to the current working directory.

Value

An `sf` object containing the river data.

Examples

if (FALSE) { # \dontrun{
rivers <- download_hydrorivers(region = "eu")
} # }