Reppo for internal functions.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
498 B

  1. \name{md2csv}
  2. \alias{md2csv}
  3. \title{md2csv}
  4. \usage{
  5. md2csv(text, rm_blank =T)
  6. }
  7. \arguments{
  8. \item{text}{An md text that you want to convert to csv. Note that you must eliminate the line that separates title from the rest.}
  9. \item{text}{Bolean to specify if you want to remove spaces or not.}
  10. }
  11. \description{
  12. This function converts an Markdown (md) table into csv format.
  13. }
  14. \examples{
  15. text<-"|Letter|Number|
  16. |A| 1|
  17. |B| 2|
  18. |C| 3|
  19. |D| 4|
  20. |E| 5|
  21. |F| 6|
  22. |G| 7|
  23. |H| 8|
  24. |I| 9|
  25. |J|10|"
  26. md2csv(text)
  27. }