Downloads USGS river and waterbody data for a given extent, processes that data, and makes a map of the rivers where the width of the river is proportional to the area of land it drains.
Find a file
2023-10-18 14:11:35 -05:00
.gitignore added initial R scripts 2023-10-18 14:11:35 -05:00
01_download_data.R made data and figure directories easier to change 2023-10-18 14:11:35 -05:00
02_process_data.R made data and figure directories easier to change 2023-10-18 14:11:35 -05:00
03_make_figures.R made data and figure directories easier to change 2023-10-18 14:11:35 -05:00
extent.csv overwrite geopackage when combining data 2023-10-18 14:11:35 -05:00
LICENSE Initial commit 2023-10-15 21:12:27 -05:00
pretty_rivers.Rproj initial commit 2023-10-18 14:11:35 -05:00
README.md added formats to 03_make_figures.R 2023-10-18 14:11:35 -05:00

pretty_rivers

Downloads USGS data for a given location and makes a pretty map of the rivers. The width of the rivers is proportional to the area of land that the section of river drains.

To run :

  1. Clone the repository
  2. Edit the extent of the map you want to produce in extent.csv. Include lat/long coordinates of two opposite corners (i.e. top-left and bottom-right).
  3. Run the scripts. Downloading the data and loading the data will take the longest. The whole of Wisconsin downloads ~12GB of data

Example figure

example figure