Closed xinoooo closed 4 years ago
@xinoooo Any luck debugging on your end?
I played around with things a bit and it looks like there are a few issues related to how it's actually ingesting the data - e.g. setting the source to use the uploaded xlsx file from /opt/sca/sphdata resulted in different errors because the column names in the R code do not match the column names in the spreadsheet.
The application is definitely able to read from the correct folder, but we may have to do some more work to ensure the data is formatted correctly and the R code is looking for the correct columns etc.
@xinoooo
I did a couple quick tests. By copying the data from the "static" application Stephanie published and adjusting app.R to use All_Daily.csv
instead of All_Daily.utf8.csv
it does appear to work and plot correctly. You may want to doublecheck the character encoding for your input file(s) and make sure you're calling the correct column names.
Does the app you published last week work correctly on your laptop using the same dataset?
@xinoooo Been almost 2 weeks since we made progress with this. How can we help further?!
@rperigo @agopu Thanks for following up! I am quite busy this month and probably will be for the next two weeks for other projects, can we resume afterward?
Hi Xiwei,
We previously extended the length of this pilot until the and of April. We can discuss this with Arvind, Stephanie, et al to see if we can extend it further, but I can't make any guarantees as we're booked up quite fully on our side as well, and also dealing with the uncertainty around COVID-19.
Stephanie clarified in an email that her team does not have the cycles to focus on this at this time, we are going to shut down the prototype for now. Therefore, we will close this ticket. We can always repen it in the future if/when needed.
(relates: https://github.com/IUSCA/sca-issues/issues/35)
As initial message was empty, some context: It appears the files themselves are accessible to RStudio Connect Shiny apps, however when attempting to actually plot the data, something fails due to missing / possibly malformed data:
Relevant quote (from me): To elucidate on that - I added some print statements to log the contents of the
fitbit_var
andstudy_id
variables taken from the data files. This resulted in the following log additions:It does appear the files are at least accessible to the application. However, the garbage characters above and the lines:
lead me to believe there may be an encoding issue. It could be something else, but it definitely appears to be in the way R is ingesting the data. The cause for the error message onscreen appears to be that the plot function cannot get proper values for X axis.