These functions will allow you to interact with the trend portion of
the Twitter API
Usage
getTrends(period = c("daily", "weekly"), exclude = NULL, date = NULL)
Arguments
period
One ofdaily, or weekly,
to describe the time period to acquire data for
exclude
If set to hashtags, will exclude hashtags
date
For periods daily and weekly, the date to
use as a starting point, in the format YYYY-MM-DD. Note that
going back too far (roughly 10-14 days) will result in an empty result