Skip to content

Commit

Permalink
Fix EDA temporal plots that had NA values plotted
Browse files Browse the repository at this point in the history
  • Loading branch information
pcinereus committed Jun 3, 2024
1 parent f8c13af commit 6f059fc
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
4 changes: 4 additions & 0 deletions R/30_eda.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ eda_temporal <- function(data) {
nest_by(Initial_quarter, .keep = TRUE) |>
mutate(Plot = list({
data |>
filter(!is.na(Values)) |>
droplevels() |>
ggplot(aes(y = Site, x = Acquire_date_time)) +
geom_line() +
geom_point(aes(colour = Baseline)) +
Expand Down Expand Up @@ -99,6 +101,8 @@ eda_type_temporal <- function(data) {
nest_by(ZoneName, Type, .keep = TRUE) |>
mutate(Plot = list({
data |>
filter(!is.na(Values)) |>
droplevels() |>
ggplot(aes(y = Site, x = Acquire_date_time)) +
## geom_line(color = "gray50") +
geom_point(aes(colour = Baseline), fill = NA, shape = 16) +
Expand Down
2 changes: 1 addition & 1 deletion deploy.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set image=ghcr.io/open-aims/dh_sediment_monitoring:main
:: A port for the docker container
set container_port=3838
:: The location to mount the input data folder in the containter
set input_mount=/home/project/input
set input_mount=/home/project


:: === CHECK DOCKER IS INSTALLED ===
Expand Down
15 changes: 14 additions & 1 deletion docs/manual.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,19 @@ are excel files that adhere to the structure outlined in

## Data {#sec-data}

<span class="fas fa-circle-check"></span>
### Raw data panel

{{< include ../md/data_raw_instructions.md >}}


### Processed data panel

::: {.callout-note}
This panel will not become active until the completion of Stage 3.
:::


{{< include ../md/processed_data_instructions.md >}}


{{< fa thumbs-up >}}

0 comments on commit 6f059fc

Please sign in to comment.