Update license action data and plots.
@ -8,6 +8,7 @@ library(plotly)
|
|||||||
library(htmlwidgets)
|
library(htmlwidgets)
|
||||||
library(lubridate)
|
library(lubridate)
|
||||||
library(ggrepel)
|
library(ggrepel)
|
||||||
|
library(zoo)
|
||||||
|
|
||||||
#### Total/State/Class ####
|
#### Total/State/Class ####
|
||||||
# Read in total/state/class data
|
# Read in total/state/class data
|
||||||
@ -48,6 +49,10 @@ ae7q_actions <- read.csv("data/ae7q-actions-scraped.csv") %>%
|
|||||||
group_by(action) %>%
|
group_by(action) %>%
|
||||||
mutate(mean_30 = rollmean(count, k=30, fill=NA, align='right'))
|
mutate(mean_30 = rollmean(count, k=30, fill=NA, align='right'))
|
||||||
|
|
||||||
|
# Make sure all the dates are there
|
||||||
|
#date_vec <- seq(min(ae7q_actions$date), max(ae7q_actions$date), by="days")
|
||||||
|
#all(date_vec == unique(ae7q_actions$date))
|
||||||
|
|
||||||
#### Plots ####
|
#### Plots ####
|
||||||
|
|
||||||
##### Total over time, y = 0 #####
|
##### Total over time, y = 0 #####
|
||||||
|
Before Width: | Height: | Size: 268 KiB After Width: | Height: | Size: 291 KiB |
Before Width: | Height: | Size: 208 KiB After Width: | Height: | Size: 210 KiB |
Before Width: | Height: | Size: 178 KiB After Width: | Height: | Size: 176 KiB |
Before Width: | Height: | Size: 143 KiB After Width: | Height: | Size: 144 KiB |