powered by
nhd_dl_state
nhd_dl_state( state, state_exists, yes_dl, file_ext, dsn = NA, wkt_filter = NA, temporary = FALSE, ... )
state abbreviation
1 for file exists on disk
1 for downloading the state gdb file
file extension ("gdb", etc)
name of gdb layer
a text string of coordinates see sf::st_read
logical set FALSE to save data to a persistent rappdirs location
other arguments passed to sf::st_read
if (FALSE) { nhd_dl_state("RI", 1, 0, NA, "NHDWaterbody") }
Run the code above in your browser using DataLab