ocean-tracking-network / otn-workshop-base

OTN's core suite of workshop curricula
https://ocean-tracking-network.github.io/otn-workshop-base/
Other
3 stars 11 forks source link

reporting lesson: plots study hall friends want to see #98

Open CaitlinBate opened 8 months ago

CaitlinBate commented 8 months ago

ben:

dat %>%
  split(.$animal_id) %>%
  map(~ ggsave(
    filename = here("plots",
                    "abacus-plots",
                    "regular",
                    paste0(unique(.$animal_id),'.png')),
    height = 8.5,
    width = 11,
    plot =
      ggplot(data = ., aes(x = detection_timestamp_est, y = station)) +
      geom_point(aes(colour = station)) +
      labs(
        title = paste("Fish ID:", unique(.$animal_id), sep = " "),
        x = "Date",
        y = "Station")
  )
  )

mike: https://github.com/mhpob/otndo/blob/main/inst/qmd_template/make_tag_push_summary.qmd#L280-L305