read_text_file: Tweet GettR

Description Usage Arguments Value Examples

View source: R/read_text_file.R

Description

This function lets you scrape the timeline of any twitter user. You MUST run the setup function before using this function in order for it to work.

Usage

1
read_text_file(text_file, delimiter = "\n")

Arguments

text_file

String. Path to the text file you want to read in

delimiter

String. String that dictates what is a new line

Value

Returns a properly-formatted list that you can run make_sentence on

Examples

1
read_text_file(paste0( "~/trump.txt"))

serrat839/package documentation built on May 29, 2020, 10:54 a.m.