polcanr_data: polcanr_data

Description Usage Arguments Value Examples

View source: R/polcanR.R

Description

This function allows you to retrieve tweets of the canadian election 2021 according to the selected parameters. If no arguments are filled, all tweets will be displayed.

Usage

1
polcanr_data(dates = polcan_date, languages = polcan_language)

Arguments

dates

Dates from 2021-08-15 to 2021-09-20

languages

Language of tweets "fr" = french, "en" = english

Value

Tweets for the dates and languages requested

Examples

1
2
3
4
5
all_tweets <- polcanr_data()
en_tweets <- polcanr_data(languages = "en")
fr_tweets <- polcanr_data(languages = "fr")
tweets_19sept <- polcanr_data(dates = "2021-09-19")
en_tweets_19sept <- polcanr_data(dates = "2021-09-19", languages = "en")

warint/polcanR documentation built on Dec. 23, 2021, 5:08 p.m.