interval_source_name: Get top source names for social post over a time period. Only...

Description Usage Arguments Examples

View source: R/interval_source_name.R

Description

interval_source_name() generates a data frame containing the number of documents written about a keyword or search id during an interval of time

Usage

1
2
interval_source_name(start_date, end_date, keyword = NULL, search_id = NULL,
  granularity = "DAY")

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, e.g. "iphone"

search_id

an ID for a search in Meltwater

granularity

defaults to "DAY" but "HOUR", "DAY", "WEEK" and "MONTH" are available.

Examples

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

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