-
Couldn't load subscription status.
- Fork 10
Open
Description
Sometimes data is pasted to Stack Overflow in a fixed width format like the following:
NYC1 1/1/2013 2/1/2013 Open
NYC1 2/2/2013 2/3/2013 Closed for Inspection
Boston1 1/1/2013 2/5/2013 Open
readSO cannot correctly read such data because of the spaces in the fourth column.
readSOfwf() Gist of rough concept here attempts to address this problem in a somewhat crude way:
- Assume that anything more than one space represents a new column
- Replace multiple spaces with a comma
- Assume that items separated by a single space belong together
This won't work, though, with cases like the data shared in this question. In that example, it will simply return a single column.
Metadata
Metadata
Assignees
Labels
No labels