Skip to contents

Available Twitter trends along with associated WOEID.

Usage

trends_available(token = NULL, parse = TRUE)

Arguments

token

Use this to override authentication for a single API call. In many 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.

See also

Other trends: get_trends()

Examples

if (auth_has_default()) {
## Retrieve available trends
trends <- trends_available()
trends

}