supp_eval.response: supp_eval.response

Description Usage Arguments Value Author(s)

View source: R/supp_eval.response.R

Description

Makes a request to a Twitter API v2 search endpoint and switches the return based on the encountered errors.

Usage

1
supp_eval.response(token, v2.endpoint, param_list)

Arguments

token

object of class v2_create_token(). Bearer token associated with a user-created APP (requires a developer account).

v2.endpoint

string {"/2/tweets/search/all" or "/2/tweets/search/recent"}. Twitter API v2 Search Endpoint.

param_list

list (e.g. max_results = 10, ect.). List of a request's parameters.

Value

A list composed of a response's metadata and its parsed content (with attached errors if encountered).

Author(s)

Victor Plesco


victorplesco/racademic documentation built on Jan. 8, 2022, 11:39 a.m.