Learn R Programming

gdeltr2 (version 0.3.11023026)

get_data_wordcloud_ft_api_terms: Returns GDELT full text API word clouds for a given term, can be domain restricted

Description

Returns GDELT full text API word clouds for a given term, can be domain restricted

Usage

get_data_wordcloud_ft_api_terms(terms = c("\"Donald Trump\"",
  "\"Hilary Clinton\""), domain = NA, visualize_word_cloud = TRUE,
  last_minutes = NA, search_language = "English", tone_more_than = NA,
  tone_less_than = NA, source_language = "English", sort_by = "date",
  dedeup_results = T, nest_data = F, return_message = T)

Arguments

terms

any word, can be quoted or not

domain

domain name NA - domains, else vector of daomins

last_minutes

how many prior minutes

search_language

language to search

tone_more_than

tone less than specified number

tone_less_than

tone more than specified number

source_language

soruce language

sort_by

method to sort the data c('date', 'relevence', 'tone.ascending', 'tone.descending')

dedeup_results

return unique results c(T, F)

nest_data

returns a nested data frame c(T, F)

return_message

if true returns a message c(T, F)

return_image_url

if TRUE returns an image url

max_rows

number of rows

only_english

return only english results c(T, F)

Value

if visualize_results an interactive wordcloud else a data_frame