merge_pw: Merge tweet and politician data

Description Usage Arguments Value Author(s) See Also Examples

View source: R/Pw_Functions.R

Description

Simple merge of tweets with politician data.

Usage

1
merge_pw(tweets, politicians)

Arguments

tweets

Tweet data frame generated with get_pw_tweets

politicians

Politician data frame generated with get_pw_pol

Value

Tweet data frame with added politician info for each tweet author.

Author(s)

Katya Ognyanova rstats@ognyanova.net

See Also

get_pw_tweets get_pw_pol

Examples

1
2
3
4
5
6
7
8
9
## Not run: 

tweet.df <- get_pw_tweets(1, 5)
pol.df <-  get_pw_pol()
tweet.df <- merge_pw(tweet.df, pol.df)
 
 
## End(Not run)
 

kateto/PolitwoopsR documentation built on May 20, 2019, 7:41 a.m.