trends_available function

Available Twitter trends along with associated WOEID.

Available Twitter trends along with associated WOEID.

Description

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.

Returns

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

rtweet-deprecated

Other trends: get_trends()

  • Maintainer: Lluís Revilla Sancho
  • License: MIT + file LICENSE
  • Last published: 2024-02-24