get_poll_by_id: Get Poll Data from Tweet ID

Description Arguments Value Examples

View source: R/get_poll_by_id.R

Description

Return a data.frame of poll data from Twitter given a poll ID. The output data.frame will contain five columns: (1) poll_question, (2) poll_options, (3) total_responses, (4) duration, (5) date, (6) user.

Arguments

tweet_id

character, the id of the tweet with poll to query

Value

list

Examples

1
2
3
4
## Not run: 
  get_poll_by_id('4235234')

## End(Not run)

UBC-MDS/tweetRpoll documentation built on Feb. 15, 2022, 3:44 a.m.