Skip to content

Commit

Permalink
add media to plot
Browse files Browse the repository at this point in the history
  • Loading branch information
cristinamullin committed Oct 25, 2023
1 parent a7c75b5 commit 0b644d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/mod_figures.R
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ mod_figures_server <- function(id, tadat) {
# this line adds a new column to the dataset of concatenated values of all of the columns selected by the user in the drop down above.
depthcols <- names(tadat$raw)[grepl("DepthHeightMeasure", names(tadat$raw))]
depthcols <- depthcols[grepl("TADA.", depthcols)]
selcols <- c("OrganizationFormalName", "ResultIdentifier", "groupname", "MonitoringLocationIdentifier", "MonitoringLocationName", "MonitoringLocationTypeName", "TADA.LatitudeMeasure", "TADA.LongitudeMeasure", "TADA.ResultMeasureValue", "TADA.ResultMeasure.MeasureUnitCode", "ActivityRelativeDepthName", "ActivityStartDate", "ActivityStartDateTime", depthcols)
selcols <- c("OrganizationFormalName", "ResultIdentifier", "groupname", "MonitoringLocationIdentifier", "MonitoringLocationName", "MonitoringLocationTypeName", "TADA.LatitudeMeasure", "TADA.LongitudeMeasure", "TADA.ResultMeasureValue", "TADA.ResultMeasure.MeasureUnitCode", "ActivityRelativeDepthName", "ActivityStartDate", "ActivityStartDateTime", "TADA.ActivityMediaName", "ActivityMediaSubdivisionName", depthcols)

react$dat <- tadat$raw %>%
dplyr::filter(TADA.Remove == FALSE, !is.na(TADA.ResultMeasureValue)) %>%
Expand Down

0 comments on commit 0b644d3

Please sign in to comment.