Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

OpenRefine – combining rows into one record

I have a dataset with records that have been split across multiple rows. Is there an easy way to combine these values into one row?

screenshot of dataset

The screenshot shows what I have at present. The ID column has the same value, but the dates have been scattered across different rows. I want to have these all on just one row.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Thanks for your help!

>Solution :

I am assuming that the ID column is already sorted and it is the first column.

If this is the case you can create records by using Edit cells => Blank down on your ID column.

After switching to "record mode" (see the interface description) you can use Edit cells => Join multi-valued cells… on each date column.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading