update_collection: Update previous collection session

View source: R/update_collection.R

update_collectionR Documentation

Update previous collection session

Description

This function continues a previous collection session with a new end date. For this function to work, export_query must be set to "TRUE" during the original collection.

Usage

update_collection(
  data_path,
  end_tweets,
  bearer_token = get_bearer(),
  verbose = TRUE,
  ...
)

Arguments

data_path

string, name of an existing data_path

end_tweets

string, ending date; default to now - 30 seconds

bearer_token

string, bearer token

verbose

If FALSE, query progress messages are suppressed

...

arguments will be passed to get_all_tweets() function. See ?get_all_tweets() for further information.

Value

a data.frame

Examples

## Not run: 
update_collection(data_path = "data", "2020-01-03T00:00:00Z", bearer_token = get_bearer())

## End(Not run)

cjbarrie/academictwitteR documentation built on Dec. 20, 2024, 6:03 p.m.