cas_show_ts_dygraph | R Documentation |
Create dygraphs based on a data frame typically generated with cas_count()
cas_show_ts_dygraph(
count_df,
date_column_name = date,
n_column_name = n,
pattern_column_name = pattern,
range_selector = TRUE
)
count_df |
count_df <- castarter::cas_count(
corpus = castarter::cas_demo_corpus,
words = c("russia", "moscow")
) %>%
cas_summarise(before = 15, after = 15)
cas_show_ts_dygraph(count_df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.