leppott / ContDataQC

Quality control checks on continuous data. Example data is from a HOBO data logger with 30 minute intervals.
https://leppott.github.io/ContDataQC/
MIT License
20 stars 10 forks source link

Shiny - Download Gage Data not working #98

Closed leppott closed 3 years ago

leppott commented 3 years ago

Describe the bug The USGS gage download data is not working in Shiny.

To Reproduce Go to the "gage" section of Shiny and select a site and date range. myData.SiteID <- "03460000" myData.DateRange.Start <- "2013-01-01" myData.DateRange.End <- "2014-12-31"

Expected behavior Should get a zip file of info.

Screenshots image

Additional context Works in the console but fails in Shiny both on PC and on shinyapps.io.

This is a current site so not an issue with lack of data.

image

leppott commented 3 years ago

When moved files to "data" folder the reference for the zip file was not changed. The contents were modified but not the zip file name itself.

server.R

image

leppott commented 3 years ago

Original screenshot above was not typical. In most cases the USGS data was downloaded but the zip file was not able to be downloaded when clicked the "download" button.

image