interval_document_count: Get document counts over a time period

Description Usage Arguments

View source: R/interval_document_count.R

Description

interval_document_count() 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_document_count(start_date, end_date, keyword = NULL,
  search_id = NULL, granularity = "DAY", type = "news")

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 possible

type

defaults to NULL and returns "all", can be news" or "social"


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