-
How can I parse a multi-value column in a csv? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
On FMNH Collections pages and other search-sites for collections data, you can often download search results as a csv. However, data that was formatted in multi-value tables in EMu are often concatenated into a single column in the web-accessible csv, with values separated by pipe symbols: | To re-separate or parse a multi-valued field:
These instructions are also public here: http://collections-zoology.fieldmuseum.org/page/help-how-parse-measurements |
Beta Was this translation helpful? Give feedback.
On FMNH Collections pages and other search-sites for collections data, you can often download search results as a csv. However, data that was formatted in multi-value tables in EMu are often concatenated into a single column in the web-accessible csv, with values separated by pipe symbols: |
To re-separate or parse a multi-valued field:
Open the csv in Excel or LibreOffice, and first check through the column of headings--e.g., "Measurement"
If headings are the same throughout, go to step 2.
If they vary between records, though, sort your data by the multi-headings column, and move data sub-sets with different headings into separate sheets. Then go to step 2.
If the column containing m…