generate_trelliscope_bundle | R Documentation |
Generates a bundle of trelliscopes for publishing to the web
generate_trelliscope_bundle(
include_image_panel = TRUE,
include_timeline_info = TRUE,
include_timeline_tone = FALSE,
include_sentiment_bin = TRUE,
wordcloud_modes = c("WordCloudImageTags", "WordCloudImageWebTags"),
terms = NA,
domains = NA,
gkg_themes = NA,
images_ocr = NA,
images_tag = NA,
images_web_tag = NA,
images_face_tone = NA,
images_num_faces = NA,
images_web_count = NA,
timespans = c("24 hours"),
wordcloud_timespans = c("1 month"),
dates = NA,
source_countries = NA,
tone = NA,
tone_absolute_value = NA,
maximum_records = 250,
translate = NULL,
timeline_smooth = 5,
sort_by = "DateDesc",
base_path = NULL,
rows = 1,
columns = 2,
id_columns = NULL,
group_columns = NULL,
return_message = TRUE
)
include_image_panel |
if |
include_timeline_info |
if |
include_timeline_tone |
if |
include_sentiment_bin |
if |
wordcloud_modes |
Wordcloud items
|
terms |
a vector of terms |
domains |
a vector of webdomains |
gkg_themes |
global knowledge graph theme
#' use |
images_ocr |
vector of words to search for OCR'd text |
images_tag |
vector of image tags from the image tag code book.
use |
images_web_tag |
vector of image tags from the image web tag code book.
use |
images_face_tone |
vector of facial tone scores |
images_num_faces |
vector of face count |
images_web_count |
numeric vector of number of times photo appeared |
timespans |
character vector of the time frame - no more than 12 weeks - default is 24 hours acceptable periods include:
|
wordcloud_timespans |
timespans for wordcloud |
dates |
vector of dates in YMD HMS format, separated by |
source_countries |
character source countries
#' see |
tone |
numeric tone - default (NA) |
tone_absolute_value |
numeric tone absolute value (default NA) |
maximum_records |
Number between 1 and 250 |
timeline_smooth |
if |
sort_by |
sorting method
|
base_path |
base path to save the trelliscopes |
rows |
rows of |
return_message |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.