Learn R Programming

rtweet (version 0.6.9)

read_twitter_csv: Read comma separated value Twitter data.

Description

Reads Twitter data that was previously saved as a CSV file.

Usage

read_twitter_csv(file, unflatten = FALSE)

Arguments

file

Name of CSV file.

unflatten

Logical indicating whether to unflatten (separate hasthags and mentions columns on space, converting characters to lists), defaults to FALSE.

Value

A tbl data frame of Twitter data

See Also

Other datafiles: flatten, write_as_csv

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
## read in data.csv
rt <- read_twitter_csv("data.csv")

# }

Run the code above in your browser using DataLab