hmis-analyst / shiny-apps-oracle

Shiny apps for the Data Analyst project
4 stars 1 forks source link

[example] #4

Closed DaveTotten closed 10 years ago

DaveTotten commented 10 years ago

Bug: I think there's a bug in the application. I analyzed the data for agency "The Extension" and program "ES-SEAS-SM-emergency shelter" and got some numbers.
• After I downloaded the summary (using the button), and then changed the dates, I got all zeroes in the data - no matter what date range I used, even going back to the original date range. I tried doing this on "A Higher Calling" but couldn't reproduce it. I reloaded the application several times and this happened each time with the Extension's program. • Now when I switch from there to another program in the Extension I get zeroes again in the summary and data elements, and I didn't download the summary this time beforehand.

jrodri30 commented 10 years ago

I realized last night that I was not entering the dates in the right format. Because I didn't get an error, I didn't realize this was a problem but then I think (?) I remember you saying something about it in your demonstration. I was entering 1/1/14, which became 01/01/14 after I hit the tab key. This yields unpredictable results, but definitely not correct ones.

So it looks like it had nothing to do with a download. But it looks like a bad format in the "from" date ends up pointing to a different program record (totally incorrect numbers) and a bad format in the "to" date ends up with zeroes in everything.

So, I do think it would be good to either have an error message about the dates or actually prevent an incomplete format.