trends_available: Available Twitter trends along with associated WOEID.

Description Usage Arguments Value See Also Examples

View source: R/trends.R

Description

Available Twitter trends along with associated WOEID.

Usage

1

Arguments

token

OAuth token. By default token = NULL fetches a non-exhausted token from an environment variable. Find instructions on how to create tokens and setup an environment variable in the tokens vignette (in r, send ?tokens to console).

parse

Logical, indicating whether to return parsed (data.frames) or nested list object. By default, parse = TRUE saves users from the time [and frustrations] associated with disentangling the Twitter API return objects.

Value

Data frame with WOEID column. WOEID is a Yahoo! Where On Earth ID.

See Also

Other trends: get_trends()

Examples

1
2
3
4
5
6
7
## Not run: 
## Retrieve available trends
trends <- trends_available()
trends


## End(Not run)

rtweet documentation built on Jan. 11, 2020, 9:11 a.m.