You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bug where the .data$MeasureQualifierCode 'NA' values are created as 'logicals' rather than 'character'. I am struggling with that in the Upload dataset and Upload Progress File functionality. Data imported into TADAShiny via the Run Query is successful, but from either Upload path it crashing around the handling of the 'MeasureQualifierCode'.
I think it is caused by the values being 'logicals' using the Upload paths, but 'character' using the Run Query path.
Then the 'strsplit()' function crashes because there is no way to 'split' a logical.
Here is my console showing the difference
>TADAShiny::run_app()
Listeningonhttp://127.0.0.1:4811
[1] "Loading user excel data file: C:\\Users\\JAMES~1.BIS\\AppData\\Local\\Temp\\RtmpekUeWE/05a406c9a22e3b45742b867f/0.xlsx"Calledfrom:EPATADA::TADA_AutoClean(tadat$uploaded_excel_df)
Browse[1]> typeof(.data$MeasureQualifierCode)
[1] "logical"Browse[1]>Q>TADAShiny::run_app()
Listeningonhttp://127.0.0.1:4811
[1] "Downloading WQP query results. This may take some time depending upon the query size."$statecode
[1] "US:01"$startDate
[1] "2024-09-26"$sampleMedia
[1] "Water""water"$providers
[1] "STORET"$endDate
[1] "2024-10-26"GET:https://www.waterqualitydata.us/data/Result/search?statecode=US%3A01&startDateLo=09-26-2024&sampleMedia=Water%3Bwater&providers=STORET&startDateHi=10-26-2024&dataProfile=resultPhysChem&mimeType=csvNEWS:DatadoesnotincludeUSGSdatanewerthanMarch11, 2024.Moredetails:https://doi-usgs.github.io/dataRetrieval/articles/Status.htmlGET:https://www.waterqualitydata.us/data/Station/search?statecode=US%3A01&startDateLo=09-26-2024&sampleMedia=Water%3Bwater&providers=STORET&startDateHi=10-26-2024&mimeType=csvGET:https://www.waterqualitydata.us/data/Project/search?statecode=US%3A01&startDateLo=09-26-2024&sampleMedia=Water%3Bwater&providers=STORET&startDateHi=10-26-2024&mimeType=csvNEWS:DatadoesnotincludeUSGSdatanewerthanMarch11, 2024.Moredetails:https://doi-usgs.github.io/dataRetrieval/articles/Status.html
[1] "Data successfully downloaded. Running TADA_AutoClean function."Calledfrom: TADA_AutoClean(TADAprofile)
Browse[1]> typeof(.data$MeasureQualifierCode)
[1] "character"Browse[1]>
The text was updated successfully, but these errors were encountered:
Click on button 'Run Tests'. Screen is frozen and application dies
Error: (converted from warning) Error in dplyr::mutate: ℹ In argument: `TADA.MultipleOrgDuplicate = ifelse(is.na(TADA.MultipleOrgDupGroupID), "N", "Y")`.
Caused by error:
! object 'TADA.MultipleOrgDupGroupID' not found
Test if this is now resolved by USEPA/EPATADA#548
There is a bug where the .data$MeasureQualifierCode 'NA' values are created as 'logicals' rather than 'character'. I am struggling with that in the Upload dataset and Upload Progress File functionality. Data imported into TADAShiny via the Run Query is successful, but from either Upload path it crashing around the handling of the 'MeasureQualifierCode'.
I think it is caused by the values being 'logicals' using the Upload paths, but 'character' using the Run Query path.
Then the 'strsplit()' function crashes because there is no way to 'split' a logical.
Here is my console showing the difference
The text was updated successfully, but these errors were encountered: