supp_get.expansions: supp_get.expansions

Description Usage Arguments Value Author(s) See Also

View source: R/supp_get.expansions.R

Description

Returns a customized set of expansions for a Twitter payload.

Usage

1
supp_get.expansions(payload, expansions)

Arguments

payload

string {"tweet" or "user"}. Type of Twitter payload.

expansions

vector of strings (e.g. "expansion_{1}", ...). Expansions to be returned (accepts "all"). To request all but some expansions, append "-" in front of each expansion in the input vector (e.g. "-expansion_{1}", ...).

Value

A comma separated string of expansions (e.g. "author_id,geo.place_id").

Author(s)

Victor Plesco

See Also

https://developer.twitter.com/en/docs/twitter-api/expansions


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