knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

TODO Write this vignette

#load needed libraries
library(StrmAnlyzeR)

# Do the analysis
#output_data <- StrmAnlyzeR::analyze_streams()

# save out the output data as a csv and OGR shape file
#StrmAnlyzeR::write_data(output_data, 'output/Downstream_and_Upstream_Sample.csv', 'output/Sample_Shape_Files')

Finally, we can get all the relevant segment data for the up and down stream segments of the first gage station segment

#first_up_down_data <- StrmAnlyzeR::get_segment_data(output_data$COMID[1], output_data, segment_data)


samyag1/StrmAnlyzeR documentation built on July 3, 2019, 4:52 p.m.