library(lubridate)
library(ggplot2)

RStudio Connect Audit Update

Content Audit Report at a Glance


# Get the number of content items created last week
last_week <- df_full %>%
  filter(created_time >= today() - days(7))

# Get the number of content items created last month
last_month <- df_full %>%
  filter(created_time >= today() - days(30))


# Bar plot of content items by type
df_full %>% 
  count(app_mode, sort = TRUE) %>%
  ggplot(aes(y = app_mode, x = n)) +
  geom_bar(stat = "identity") + 
  theme_minimal() + 
  labs(title = "Number of Content Items by Type",
       x = "Content Count",
       y = "Content Type")+
  theme(plot.title.position = "plot")

Click through the links below to explore or download the entire audit report.



kmasiello/rscview documentation built on Jan. 3, 2023, 2:58 p.m.