edgelist: function to create a retweets or hashtags edgelist

Description Usage Arguments Details Value Author(s) Examples

View source: R/edgelist.R

Description

This function creates an edgelist about retweets or hashtag

Usage

1
edgelist(dati, type)

Arguments

dati

a data.frame, it needs a column named "text"

type

a character string

Details

To use this feature you need a twitter account and twitter app or a data.frame with a text column named text. To create the app go here www.twitter.com/apps

Value

a data.frame

Author(s)

Nicola Procopio

Examples

1
2
## edgelist(dataframe, type="RT")
## edgelist(dataframe, type="hashtag")

nickprock/twitterFUN documentation built on Feb. 24, 2020, 5:23 p.m.