trends_available: Available Twitter trends along with associated WOEID.

Description Usage Arguments Value References See Also Examples

View source: R/trends.R

Description

Available Twitter trends along with associated WOEID.

Usage

1

Arguments

token

Expert use only. Use this to override authentication for a single API call. In most cases you are better off changing the default for all calls. See auth_as() for details.

parse

If TRUE, the default, returns a tidy data frame. Use FALSE to return the "raw" list corresponding to the JSON returned from the Twitter API.

Value

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

References

https://developer.twitter.com/en/docs/twitter-api/v1/trends/locations-with-trending-topics/api-reference/get-trends-available

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)

mkearney/rtweet documentation built on Sept. 29, 2021, 12:01 p.m.