View source: R/sfclassic_general.R
sfclassic2df | R Documentation |
Split stanford classic text string to dataframe
sfclassic2df(strng)
strng |
is a "stanfor classic file text string", i.e. the content of any StanForD classic machine report. The content is a long string which carries all the data. Stanford classic variables are separated by a "~", followed by two numbers defining the variable code and type, then followed by the variable values. |
a data.frame, where each pair of StanForD code and corresponding variable values will form one column. I.e have one row
stanford_classic_string <-
"1 2 \nSTM~120 1 \nFURU \nGRAN~16 4 \n20160208064316~116 1 7 7 2 2"
sfclassic2df(stanford_classic_string)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.