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("WordCloudTheme",
"WordCloudImageTags", "WordCloudEnglish", "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, search_language = "eng",
timespans = c("24 hours"), wordcloud_timespans = c("1 month"),
dates = NA, source_countries = NA, source_languages = "English",
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)
if TRUE
includes ArtList
if TRUE
includes TimelineInfo
if TRUE
includes Timeline tone
if TRUE
includes sentiment bin
Wordcloud items
NA - none
WordCloudEnglish - word cloud of English words for specified terms/domains/webtags/imagewebtags and OCR'd text
WordCloudNative - word cloud of native text for specified specified terms/domains/webtags/imagewebtags and OCR'd text
WordCloudTheme - word cloud of Global Knowledge Graph themes specified terms/domains/webtags/imagewebtags and OCR'd text
WordCloudImageTags - word cloud of resolved imagetags for specified terms/domains/webtags/imagewebtags and OCR'd text
WordCloudImageWebTags - word cloud of resolved image web tags for specified terms/domains/webtags/imagewebtags and OCR'd text
a vector of terms
a vector of webdomains
global knowledge graph theme
#' use get_gdelt_codebook_ft_api(code_book = "gkg"))
for options
vector of words to search for OCR'd text
vector of image tags from the image tag code book.
use get_gdelt_codebook_ft_api(code_book = "imagetag"))
for options
vector of image tags from the image web tag code book.
use get_gdelt_codebook_ft_api(code_book = "imageweb"))
vector of facial tone scores
vector of face count
numeric vector of number of times photo appeared
vector of search language - default is english
see get_gdelt_codebook_ft_api(code_book = "languages")
for options
character vector of the time frame - no more than 12 weeks - default is 24 hours acceptable periods include:
hours (default)
minutes
weeks
months
timespans for wordcloud
vector of dates in YMD HMS format, seperated by -
you can use the generate_dates()
function to generate a vector of
default NULL
character source countries
#' see get_gdelt_codebook_ft_api(code_book = "countries")
for options
vector of source language - default is English
#' see get_gdelt_codebook_ft_api(code_book = "languages")
for options
numeric tone - default (NA)
numeric tone absolute value (default NA)
Number between 1 and 250
if mode
is a timeline
sorting method
DateDesc - descending by date (default)
DateAsc - ascending by date
ToneDesc - descinding tone
base path to save the trelliscopes
rows of