markdown2df: Convert markdown string tables to data.frame

markdown2dfR Documentation

Convert markdown string tables to data.frame

Description

Convert markdown string tables to data.frame

Usage

markdown2df(text, autoformat = TRUE)

Arguments

text

Character. Markdown text representing a table.

autoformat

Boolean. Automatically format numerical, logical and date values to their classes?

See Also

Other Tools: autoline(), bind_files(), bring_api(), chr2num(), db_download(), db_upload(), export_plot(), export_results(), files_functions(), font_exists(), formatColoured(), formatHTML(), get_credentials(), glued(), grepm(), h2o_selectmodel(), haveInternet(), image_metadata(), importxlsx(), ip_data(), json2vector(), list_cats(), listfiles(), mail_send(), move_files(), msplit(), myip(), quiet(), read.file(), statusbar(), tic(), try_require(), updateLares(), warnifnot(), what_size()

Examples

txt <- "| Item | Value |\n|------|-------|\n| 50C  | 122F  |\n| 300K | 80.33F |"
markdown2df(txt)

lares documentation built on Sept. 13, 2024, 1:08 a.m.