I have a few text thousand files I am reading through with purrr::pmap() and trying to turn them into dataframes. I am struggling to separate the columns based on white space. Any and all help is greatly appreciated. Here is a small example of what I am working with and my attempts thus far.
Thank you so much for the help earlier, I have a follow-up question. That method seems to work great except for instance where there is only a single character string. When that happens I am returning an error that the object isn't found in my directory. Have you dealt with this before?
Literal data is most useful for examples and tests. It must contain at least one new line to be recognised as data (instead of a path) or be a vector of greater than length 1.