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
)
if TRUE
includes ArtList
if TRUE
includes TimelineInfo
if TRUE
includes Timeline tone
if TRUE
includes sentiment bin
Wordcloud items
NA - none
WordCloudNative - word cloud of native text for specified 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 dictionary_ft_codebook(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 dictionary_ft_codebook(code_book = "imagetag"))
for options
vector of image tags from the image web tag code book.
use dictionary_ft_codebook(code_book = "imageweb"))
vector of facial tone scores
vector of face count
numeric vector of number of times photo appeared
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, separated by -
you can use the generate_dates()
function to generate a vector of
default NULL
character source countries
#' see dictionary_ft_codebook(code_book = "countries")
for options
numeric tone - default (NA)
numeric tone absolute value (default NA)
Number between 1 and 250
if mode
is a time-line
sorting method
DateDesc - descending by date (default)
DateAsc - ascending by date
ToneDesc - descending tone
base path to save the trelliscopes
rows of