Skip to contents

Create dygraphs based on a data frame typically generated with cas_count()

Usage

cas_show_ts_dygraph(
  count_df,
  date_column_name = date,
  n_column_name = n,
  pattern_column_name = pattern,
  range_selector = TRUE
)

Arguments

count_df

Examples


count_df <- castarter::cas_count(
  corpus = castarter::cas_demo_corpus,
  words = c("russia", "moscow")
) %>%
  cas_summarise(before = 15, after = 15)
#> Error in castarter::cas_count(corpus = castarter::cas_demo_corpus, words = c("russia",     "moscow")): unused argument (words = c("russia", "moscow"))
cas_show_ts_dygraph(count_df)
#> Error in eval(expr, envir, enclos): object 'count_df' not found