readSOdata: Read data from Stack Overflow easily

Description Usage Arguments Value Examples

View source: R/readSOdata.R

Description

Read data from Stack Overflow easily

Usage

1
readSOdata(text, sep = "|", strip.white = TRUE, header = TRUE, ...)

Arguments

text

string to be read

sep

separator

strip.white

Do you want to strip the white space?

header

Does the text contain headers?

...

Additional arguments to read.table

Value

A data.frame

Examples

1
2
3
4
5
6
7
readSOdata('Participate | B1  | B2  | B3  | B4  | B5  | Query1  | Query2
3           | -1  | -1  | -1  | -1  | -1  | Noissue | Noissue
1           | -1  | 1   | -1  | -1  | 1   | Noissue | Noissue
1           | -1  | -1  | -1  | -1  | -1  | Issue   | Noissue
2           | -1  | 1   | 1   | -1  | 1   | Noissue | Noissue
2           | 1   | 1   | 1   | 1   | -1  | Noissue | Noissue
1           | -99 | -99 | -99 | -99 | -99 | Noissue | Noissue')

shahronak47/readSOdata documentation built on Jan. 21, 2022, 5:23 p.m.