andamento: Andamento nel tempo del numero di tweet, favoriti e retweet

Description Usage Arguments Value Examples

View source: R/andamento.R

Description

Osserva l'andamento nel tempo del numero di tweet, favoriti e retweet in un determinato periodo di tempo, da specificare in freq. Se grafico = TRUE, restituisce il grafico dei tre andamenti, se grafico = FALSE, restituisce solo la tibble riassuntiva.

Usage

1
andamento(twtbl, freq, grafico = TRUE)

Arguments

twtbl

Insieme di tweet.

freq

Ogni quanto vengono raggruppati i tweet.

grafico

Operatore logico.

Value

Un grafico o una tibble riassuntiva degli andamenti del numero di tweet, favoriti e retweet nel tempo.

Examples

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

tw_amala <- search_tweets(
q = "inter", n = 5000, type = "recent", include_rts = T, lang="it"
)

andamento(tw_amala, "38 mins", grafico = F)
andamento(tw_amala, "2 hours", grafico = T)

## End(Not run)

PaoloDalena/banchedatiz documentation built on Jan. 2, 2021, 9:15 a.m.