search_documents: Search documents

Description Usage Arguments Examples

View source: R/search_documents.R

Description

search_documents() enables you to search every document containg a keyword during a specific time interval

Usage

1
2
search_documents(start_date, end_date, keyword = NULL, search_id = NULL,
  type = "news", page_size = "30")

Arguments

start_date

start date, in "1900-01-01" format

end_date

end date, in "1900-01-01" format

keyword

the keyword you want to explore

search_id

an ID for a search in Meltwater

type

"news" or "social"

page_size

number of rows in data frame, max is 1000.

Examples

1
2
df <- search_documents(start_date = "2017-07-01",
 end_date = "2017-07-13",keyword = "demoskop", type = "news")

filipwastberg/meltwateR documentation built on March 17, 2021, 8:32 a.m.