| read_table | R Documentation |
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)
table |
A character string representing the TiddlyWiki table. |
header |
A logical value indicating whether the first row should be treated as column headers. Default is TRUE. |
A data frame containing the parsed table data.
table <- "|!Cell1 |!Cell2 |\n|Cell3 |Cell4 |"
df <- read_table(table, header = TRUE)
print(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.