Package: flowcam 0.1.0.9000

flowcam: Download and Animate USGS Stream-Gage Camera Images

A tidy interface to the U.S. Geological Survey (USGS) National Imagery Management System (NIMS) API (<https://api.waterdata.usgs.gov/docs/nims/overview/>), which stores and serves images collected by stream-gage cameras at monitoring locations across the United States. Provides functions to discover cameras by NWIS site number or camera ID, list and filter available images by date and time, download images at multiple resolutions, and assemble downloaded frames into animated GIFs or MP4 videos. Integrates with the 'dataRetrieval' package (<https://doi-usgs.github.io/dataRetrieval/>) to enrich camera records with watershed metadata (drainage area, hydrologic unit code, state, county) and to retrieve co-located streamflow, stage, or water-quality time series — enabling direct comparison of visual stream conditions with measured observations. API authentication uses the 'API_USGS_PAT' environment variable shared with 'dataRetrieval', so a single key covers both packages.

Authors:Connor Brown [aut, cre]

flowcam_0.1.0.9000.tar.gz
flowcam_0.1.0.9000.zip(r-4.7-any)flowcam_0.1.0.9000.zip(r-4.6-any)flowcam_0.1.0.9000.zip(r-4.5-any)
flowcam_0.1.0.9000.tgz(r-4.6-any)flowcam_0.1.0.9000.tgz(r-4.5-any)
flowcam_0.1.0.9000.tar.gz(r-4.7-any)flowcam_0.1.0.9000.tar.gz(r-4.6-any)
flowcam_0.1.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
flowcam/json (API)

# Install 'flowcam' in R:
install.packages('flowcam', repos = c('https://connorb.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/connorb/flowcam/issues

Pkgdown/docs site:https://connorb.github.io

On CRAN:

Conda:

usgsstream gagestreamgagehydrologywater datariver camerasnimsnwistimelapseflood monitoringcamera imagesflood-monitoringgifmp4streamflowusgs-apiusgs-datawater-dataquarto

3.78 score 2 stars 5 scripts 15 exports 17 dependencies

Last updated from:fcf70e185a. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK129
source / vignettesOK341
linux-releaseOK159
macos-releaseOK149
macos-oldrelOK186
windows-develOK119
windows-releaseOK118
windows-oldrelOK124
wasm-releaseOK127

Exports:build_image_urldownload_imagesfind_camerasfind_gage_camerasget_flow_statisticsget_network_camerasget_site_data_availabilityget_site_field_measurementsget_site_streamflowget_timelapse_urllist_imagesmake_gifmake_videoset_nims_keyset_usgs_api_key

Dependencies:askpassclicurlgluehttr2lifecyclemagrittropensslpillarpkgconfigR6rlangsystibbleutf8vctrswithr

Getting started with flowcam
Authentication | Finding cameras | Listing available images | Filtering by time | Chronological order | Pagination | Downloading images | Image sizes | Time filtering | Resuming partial downloads | Making a GIF | One frame per day | Making a video | Next steps

Last update: 2026-05-08
Started: 2026-05-05

Comparing two Pecos River gages with flowcam
Camera discovery with gage metadata | Listing images from both cameras | Downloading images from both sites | GIF of the Roswell camera | Video of the Acme camera | Tips

Last update: 2026-05-07
Started: 2026-05-05