This guide explains how to structure your data in Excel or Google Sheets. Finding it challenging to start from scratch? Do it the other way around! Manually create a few elements, connections, and some profile fields in Kumu, and click the export icon in the bottom-right corner of your project.
Skip to section:
Before you can import your data into Kumu, you'll need to structure your spreadsheet so that Kumu can read it. First, make sure your spreadsheet contains the following required column headers:
For elements
- Label (must be in the first cell of Column A)
For connections
- From (must be in the first cell of Column A)
- To (must be in the first cell of Column B)
After you create the required column headers, you can start filling out the rows to create new elements and connections. You can also optionally add more columns to hold custom data:
For elements
- Type
- Description
- Tags
- Organization
- Net worth
...etc.
For connections
- Type
- Description
- Tags
- Label
- Strength
...etc.
All of these optional columns can be used to add data to fields inside your elements and connections. If you want to store multiple values inside of one cell (for example, tags or keywords), just separate each value with the pipe character |
. If you put multiple elements in the "To" cell of a connection, separating each element with the pipe character |
, Kumu will draw a connection from the "From" element to each separate element in the "To" cell.
{% hint style="info" %} It's also possible to use ID as the first column header in element and connection sheets. To learn how and why you would do that, check out our guide on avoiding duplicate data. {% endhint %}
Here's a sample element import spreadsheet:
Label | Type | Description | Tags |
---|---|---|---|
Jeff Mohr | Person | Co-Founder and CEO, always |
Founder|Male|Runner |
Kumu | Company | A web-based platform |
Mapping|Technology |
And here's a sample connection import spreadsheet:
From | To | Type | Strength |
---|---|---|---|
Barack | Michelle | Personal | Strong |
Ed Snowden | NSA | Contractor | It's complicated |
{% hint style="success" %} Get your hands dirty! Click here for a sample import file for the PayPal Mafia map, or find our folder of public data samples here. You can examine these files to see how imports work with real data before creating your own import file. {% endhint %}
{% hint style="info" %} If you need to convert an adjacency matrix to meet Kumu's format, see our "How do I restructure my adjacency matrix" FAQ. {% endhint %}
Sometimes, you'll have other sheets in your Excel or Google Sheets workbook that aren't formatted for Kumu and shouldn't be imported, but need to stay in the workbook. If that's the case, just add (ignore)
to the name of the sheet, and Kumu will ignore it during the upload.
Having trouble with your import? If Kumu is giving you an error message, click on the triangular error icon to see what is wrong. If Kumu just loads indefinitely, there's also likely something wrong with the format of your sheet(s). Here are a few common pitfalls...
Label should be the first column header in your spreadsheet (cell A1
) for an element import, and for a connection import, you should have From and To in the first two columns (cells A1
and B1
). The only exception to this is when you're using IDs in the first column, please read more about that here.
Your column headers (e.g. Label, Type, Description, etc.) should be in row 1 of your spreadsheet.
If you have multiple sheets in your file, and you only want to import some, make sure that Kumu ignores the other sheets when importing. To do this, you can add (ignore)
to sheet names—for example: Sheet 3 (ignore)
. Also make sure to double-check if you have any hidden sheets in your file!
Hidden data in unused cells
If it seems like your spreadsheet is taking forever to load, or it's consistently throwing errors, you might have some data or formatting hiding in your unused cells. To clear all content and formatting from unused cells in Excel, follow this Excel guide.
If you run into this error message...
{% hint style="danger" %}
Sorry, there was an error with your import.
Error: Import format not recognized: auto
{% endhint %}
...you're trying to import an .xls file. Save it as .xlsx and try again!
If you add an XLSX file to Google Drive, it will still open as an Excel sheet, only inside Google Drive. Make sure you're file is actually a Google Sheet by clicking on "Open with" at the top of the page and choosing Google Sheets, or by clicking File in the top-left corner and then choose "Save as Google Sheets". You can enter that sheet's link as your Google Sheet link.
If you're running into funny character issues, please make sure your import file is UTF-8 encoded.
Looking to hone your importing skills? These tips will turn you into a master importer:
- Separate elements (or element types) and connections into their own sheets
- Take advantage of pre-named fields
- Use pipes to separate | multiple | values
- Try to be selector friendly
- Ask for help!
Since elements and connections often have very different sets of fields, we recommend using separate sheets in your workbook for each dataset. Sometimes, you'll have different types of elements (for example, people and organizations) that have very different fields. In that case, you can separate those elements into separate sheets as well. Each separate sheet can have different column headers, and Kumu will still be able to read and understand each sheet.
If you prefer keeping everything within a single sheet, you can use two blank rows to tell Kumu that a new section is starting—that is, Kumu should look at the first row of the new section to find column headers. If you are using a .csv file, this tip doesn't work—you'll need to either use the single sheet method or create separate files for elements and connections.
Our pre-named fields aren't required in your spreadsheet, but they get special visual treatment in profiles, so it's great to use them when you can!
TypeUse the type field to categorize elements and connections. Common element types include person, project, and company. Common connection types include personal, business, and family. Try to be selector friendly with your types, when you can.DescriptionThe description field designed to hold longer-form content that describes an item. Descriptions can include multiple paragraphs, and even images and videos. You can use Markdown to format each description's content.TagsThe tags field is designed to hold multiple values that each describe your item in a different way. For example, a connection between a person and a non-profit might have "Strong relationship", "Board Member", "Donor", and "Advocate" all stored as separate values in the Tags field, adding rich detail to that person's relationship with the non-profit.
Make sure to separate multiple tags using a pipe "|" in your spreadsheet cells, and try to be selector friendly with your tags, when you can.ImageInclude an image URL and Kumu will display it on the map and in the profile.EmailAdd an email and Kumu will automatically include their gravatar on the map and in the profile. Gravatars can be a huge time saver when working with social network data!
For columns with multiple values in a single cell (such as tags, skills, hobbies, etc), you need to separate them using the pipe character |
. If you're already separating them using commas, just use find-and-replace to swap out the commas for the pipe character |
before importing.
Selectors provide a simple way to slice up your data. By keeping your field names and values selector-friendly, you'll be able to write much shorter queries.
Use single words for your element types, connection types, and tags. By doing so you'll be able to use shorthand selectors in the Advanced Editor, such as:
person
To select all elements with type "Person"personal-connection
To select all connections with type "Personal"project.priority
To select all projects tagged "priority"
If you include special characters or multiple words, you'll have to use longer selector code instead (e.g. ["element type"="Government Sector"]
)—and that's just not nearly as much fun!
Still have questions? Having trouble structuring your data? Let us know! We've massaged a lot of data to get it into Kumu's format, and we're happy to help.