#' @export
get_upstream <- function(flines) {
dplyr::select(flines, COMID) %>%
dplyr::left_join(
dplyr::select(flines, COMID, toCOMID),
by = c("COMID" = "toCOMID")
) %>%
dplyr::rename(fromCOMID = COMID.y)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.