Learn R Programming

rtweet (version 0.7.0)

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)

Value

A tbl data frame of Twitter data

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.

See Also

Other datafiles: flatten(), write_as_csv()

Examples

Run this code

if (FALSE) {

## read in data.csv
rt <- read_twitter_csv("data.csv")

}

Run the code above in your browser using DataLab