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

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)

academictwitteR documentation built on March 18, 2022, 6:41 p.m.