Skip to contents

This function reads an interview transcript from a text file, returning the content as a character vector where each element represents a line in the file.

Usage

read_interview(file)

Arguments

file

The path to the text file containing the interview transcript.

Value

A character vector containing the lines of the interview transcript.

Examples

# Read an interview from "interview.txt"
interview = read_interview(
     file.path(
         system.file("extdata", package = "so.ii"), 
         "interview.txt"
     )
)