Skip to content

Commit

Permalink
improve explanatory text for #8
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Mar 20, 2024
1 parent 25a65e4 commit 1cdae67
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: dashboard
Title: What the Package Does (One Line, Title Case)
Version: 0.0.11.001
Version: 0.0.11.002
Authors@R:
person(given = "First",
family = "Last",
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "dashboard: What the Package Does (One Line, Title Case)",
"codeRepository": "https://github.com/ropensci-review-tools/dashboard",
"license": "https://spdx.org/licenses/MIT",
"version": "0.0.11.001",
"version": "0.0.11.002",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down
15 changes: 10 additions & 5 deletions quarto/editors.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ gt::gt (
start_time <- lubridate::ymd ("2020-01-01")
timeline <- dplyr::filter (ed_timeline, month >= start_time) |>
dplyr::filter (!name %in% c ("haozhu233")) |>
dplyr::rename (reviews = value)
dplyr::rename (reviews = value) |>
dplyr::filter (reviews > 0)
# Information on max scale of reviews:
i <- which.max (timeline$reviews) [1] # There is only one of these
Expand All @@ -148,6 +149,8 @@ timeline_stats <- timeline [timeline$name %in% eds_stats, ]
timeline <- timeline [!timeline$name %in% eds_stats, ]
timeline$y <- match (timeline$y, unique (timeline$y))
timeline_stats$y <- match (timeline_stats$y, unique (timeline_stats$y))
max_rev_n_stats <- max (timeline_stats$reviews)
```

The following two graphs illustrate the previous load of each editor. These
Expand All @@ -156,9 +159,9 @@ who have had relatively low recent loads should be chosen in favor of those who
have recently had higher loads.

The thickness of lines represents numbers of concurrent submissions handled by
each editor, and aggregated for each month. Widths range from zero reviews for
the thinnest lines to a maximum of `r max_rev_n` by @`r max_rev_name` in
`r max_rev_month`.
each editor, and aggregated for each month. Widths range from one review for
the thinnest lines to a maximum of `r max_rev_n` concurrent reviews during
a single month by @`r max_rev_name` in `r max_rev_month`.


### General editors
Expand Down Expand Up @@ -193,7 +196,9 @@ ggplot2::ggplot (timeline, ggplot2::aes (x = month, y = y, colour = name)) +

### Statistical editors

This chart illustrates the historical loads for statistical editors.
This chart illustrates the historical loads for statistical editors, with line
thicknesses in this case representing up to a maximum of `r max_rev_n_stats`
concurrent reviews in a one-month period.

```{r set-fig-ht, echo = FALSE}
# Scale height of next fig to proportional decrease in number of lines
Expand Down

0 comments on commit 1cdae67

Please sign in to comment.