From 37526acab173292e5621455c3be1e92ee9384b1b Mon Sep 17 00:00:00 2001 From: Alice Date: Thu, 14 Jul 2022 15:04:51 +1000 Subject: [PATCH] Update NAMESPACE --- NAMESPACE | 3 ++- R/num_tweets_by_timeperiod.R | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NAMESPACE b/NAMESPACE index a1a1538..8440445 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -3,10 +3,12 @@ export(connect_to_sqlite_db) export(num_tweets_by_timeperiod) export(num_tweets_by_username) +export(num_users_by_timeperiod) importFrom(dplyr,filter) importFrom(dplyr,group_by) importFrom(dplyr,mutate) importFrom(dplyr,n) +importFrom(dplyr,n_distinct) importFrom(dplyr,summarise) importFrom(ggplot2,aes) importFrom(ggplot2,geom_col) @@ -15,7 +17,6 @@ importFrom(ggplot2,ggplot) importFrom(ggplot2,labs) importFrom(ggplot2,scale_x_date) importFrom(lubridate,floor_date) -importFrom(lubridate,now) importFrom(lubridate,ymd) importFrom(lubridate,ymd_hms) importFrom(magrittr,"%>%") diff --git a/R/num_tweets_by_timeperiod.R b/R/num_tweets_by_timeperiod.R index fa7c4d9..d41fd36 100644 --- a/R/num_tweets_by_timeperiod.R +++ b/R/num_tweets_by_timeperiod.R @@ -47,7 +47,7 @@ #' #' @importFrom dplyr mutate filter group_by summarise n #' -#' @importFrom lubridate now ymd_hms floor_date ymd +#' @importFrom lubridate ymd_hms floor_date ymd #' #' @importFrom rlang .data #'