Skip to content

Commit

Permalink
Add text count of number of jobs run
Browse files Browse the repository at this point in the history
  • Loading branch information
azvoleff committed Sep 6, 2024
1 parent 830acd3 commit 92a8b4d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions status/usage_report.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,15 @@ daily_users %>% group_by(date) %>%

## Over the past year

```{r jobs_past_year, fig.width=12}
```{r jobs_past_year_stats, fig.width=12}
jobs %>%
filter(start_date >= (now() - years(1))) %>%
filter(start_date >= (now() - years(1))) -> jobs_past_year
```

Over the past year `r nrow(jobs_past_year)` have been run.

```{r jobs_past_year, fig.width=12}
jobs_past_year %>%
group_by(task, year=year(start_date), month=month(start_date)) %>%
filter(status == 'FINISHED') %>%
summarise(n=n()) %>%
Expand Down Expand Up @@ -341,6 +347,8 @@ monthly_users %>%

## All time

Since the beginning of Trends.Earth `r nrow(jobs)` have been run.

```{r jobs_all_time, fig.width=12}
jobs %>%
group_by(task, year=year(start_date), month=month(start_date)) %>%
Expand Down

0 comments on commit 92a8b4d

Please sign in to comment.