Learn R Programming

BMRSr (version 1.0.3)

parse_eof_csv: Parse a .csv response with a EOF tag left in

Description

Some .csv files returned from the API still have an EOF tag left at the bottom and contain 4 lines of nonsense. This function is used to parse these files, whereas the parse_clean_csv() function is used to parse .csv files without this tag and the junk lines.

Usage

parse_eof_csv(content)

Arguments

content

character; the original response object parsed as a single text string.

Value

tibble; a tibble containing the data in the .csv file

See Also

Other parsers: parse_clean_csv()