Learn R Programming

gdeltr2 (version 0.3.11023026)

get_data_ft_v1_api_terms: Returns GDELT full text API results for multiple terms

Description

Returns GDELT full text API results for multiple terms

Usage

get_data_ft_v1_api_terms(terms = c("\"Kevin Durant\"",
  "\"Stephen Curry\""), visualize_results = TRUE,
  trelliscope_parameters = list(path = NULL, rows = 1, columns = 2, id_columns
  = NULL), domain = NA, dedeup_results = TRUE, restrict_to_usa = F,
  only_english = F, return_image_url = TRUE, last_minutes = NA,
  max_rows = 1e+06, search_language = "English",
  source_language = "English", sort_by = "date", nest_data = FALSE,
  return_message = TRUE)

Arguments

terms

vector of words to search

visualize_results

if TRUE returns an interactive trelliscope

trelliscope_parameters

list of parameters to pass along to trelliscope

  • path: if not NULL the path to save the trelliscope

  • rows: rows for trelliscope

  • columns: columns for trelliscope

  • id_columns: initial columns

domain

domains you wish to restrict the search to

dedeup_results

if TRUE remove duplicate results

only_english

if TRUE returns only english results

return_image_url

if TRUE returns only articles with photos

last_minutes

restrict to last x minutes

max_rows

maximum rows

search_language

article language to search

source_language

source article search

sort_by

sort by

nest_data

if TRUE retrns a nested data frame

return_message

if TRUE return a messag

Value

if visualize_results an interactive trelliscope else a data_frame

Examples

Run this code
# NOT RUN {
\donotrun{
get_data_ft_v1_api_terms(terms = c('"Kevin Durant"','"Stephen Curry"', "Donald Trump", '"Blackstone Real Estate"', "'Cap Rate'"), only_english = T)
}
# }

Run the code above in your browser using DataLab