powered by
This function parses a table written in TiddlyWiki format and converts it into an R data frame. It can optionally treat the first row as a header.
read_table(table, header = TRUE)
A data frame containing the parsed table data.
A character string representing the TiddlyWiki table.
A logical value indicating whether the first row should be treated as column headers. Default is TRUE.
table <- "|!Cell1 |!Cell2 |\n|Cell3 |Cell4 |" df <- read_table(table, header = TRUE) print(df)
Run the code above in your browser using DataLab