Tag: ragged input

Example 8.26: reading data with variable number of words in a field

A student came with a question about how to snag data from a PDF report for analysis. Once she’d copied things her text file looked like:1 Las Vegas, NV — 53.3 — — 12 Sacramento, CA — 42.3 — — 23 Miami, FL — 41.8 — — 34 Tucson, AZ –…