humanitiesplusdesign / palladio

An application that brings humanities research methods to data visualization.
BSD 3-Clause "New" or "Revised" License
170 stars 31 forks source link

adding second table #182

Open DouweMeertens opened 7 years ago

DouweMeertens commented 7 years ago

Hi,

I try to add a second table and it doesn't work. I used firefox, explorer and safari. Individually palladio accepts both tables, but using them together it doesn't work.

Is there something I do wrong?

esjewett commented 7 years ago

Are you doing this using the components API? Can you share the code showing what you are trying to do?

I will try to recreate the issue today myself, but seeing exactly what you are doing will help. Thanks!

DouweMeertens commented 7 years ago

Thanks for the quick response. I dragged and dropped cvs files. Individually they work fine and - I just found out - in some I can load a second table. But in some cases I can't. I will troubleshoot some more. If I can't work it out I will report again.

esjewett commented 7 years ago

Ah! I see what you are asking. Generally you can only load a 2nd table by using it to extend an existing table. So you'll normally want to load your most granular table first and then extend it. Let's say you have a CSV file of letters and a CSV file of people that correspond to authors and recipients of letters. First load the letters CSV, then click on the "Author" field of the letters table and in the popup click "Add a new table". Load your people table here. It should be automatically linked to the Author field.

Then (if you want), you can click on "Recipient" in the letters table and choose the same table again under "Extension". That is, you can use the same Palladio table to extend multiple fields. You don't need to load any one table more than once (usually).

This isn't exactly the most intuitive. Thanks for asking!