Skip to content

Commit

Permalink
Update figure
Browse files Browse the repository at this point in the history
  • Loading branch information
azvoleff committed Aug 6, 2024
1 parent 27fcaff commit 26f5871
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion status/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apt-get update && \
r-cran-tidyverse r-cran-rpostgres r-cran-jsonlite \
r-cran-geojsonsf r-cran-ggrepel r-cran-rcolorbrewer \
r-cran-rnaturalearth r-cran-rnaturalearthdata r-cran-cowplot r-cran-lwgeom \
r-cran-knitr r-cran-foreach r-cran-logger && \
r-cran-knitr r-cran-foreach r-cran-logger r-cran-ggnewscale && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
mkdir -p /work
Expand Down
5 changes: 4 additions & 1 deletion status/usage_report.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ library(rnaturalearthdata)
library(cowplot)
library(lwgeom)
library(logger)
library(ggnewscale)
world <- ne_countries(scale = "medium", returnclass = "sf")
crs_wintri <- "+proj=wintri +datum=WGS84 +no_defs +over"
Expand All @@ -50,7 +51,9 @@ con <- dbConnect(
)
script <- tbl(con, "script") %>% collect()
user <- tbl(con, "user") %>% collect()
user <- tbl(con, "user") %>%
collect() %>%
mutate(email=abbreviate(email, 20))
jobs <- tbl(con, "execution") %>%
select(script_id, user_id, status, start_date) %>%
filter(start_date >= period_start,
Expand Down

0 comments on commit 26f5871

Please sign in to comment.