CSV Import reads a spreadsheet one row at a time. Each row becomes one thing in Omeka S: an item, an item set, a file, or a user. Each column holds one kind of information, and you tell CSV Import where it goes: this column is the title, that one is the date, this one is the address of an image. Once you see it that way, every setting in the module is an answer to one of three questions: what does each row become, where does each column go, and what happens to things that are already there?
The Wrenfield College Library has just been given the records of the Hollis Brothers Seed Company of Springfield, Massachusetts: catalogs, seed packets, letters, and photographs from 1905 to 1913. Over this course you bring all of it into Omeka S with CSV Import. In this lesson you install the module, take a tour of its three screens, and make your first import: the four item sets the donation will be organized into.
The video takes the tour and runs the import, then looks at the five kinds of import and the habit that saves the most time: a five-row test run. This page has the same steps. Two sections at the end, Going further and When things go wrong, stay closed until you open them.
Before you start
- Sign in to your site's admin as a Global Administrator or Supervisor. Other roles don't see CSV Import.
- Download hollis-item-sets.csv, the spreadsheet this lesson imports.
- New to the Wrenfield collection? Later lessons update items from the Omeka S course and use its two resource templates. To have them on your own site, import print-template.json and seed-catalog-template.json under Resource templates with Import, then import wrenfield-item-sets.csv as item sets and wrenfield-prints.csv as items, mapped the way this lesson and lesson 3 show.
Install CSV Import
CSV Import is a free module from the Omeka team. It goes onto your site from the RefBytes dashboard, then gets switched on in Omeka.
- On your RefBytes dashboard, open your site, click Modules, then the Available tab.
- Search for CSV Import and click Install on its row. After a short wait it moves to the Installed tab.
- In the Omeka admin, click Modules in the left menu, find CSV Import, and click Install. CSV Import appears near the bottom of the left menu, with Import and Past Imports under it.
Look at the spreadsheet first
Open hollis-item-sets.csv in a spreadsheet program. It has a heading row, then one row for each item set:
| Identifier | Title | Description |
|---|---|---|
| HB | Hollis Brothers Seed Company records | Catalogs, seed packets, letters, and photographs… |
| HB-PKT | Seed packets | The printed paper packets the Hollis Brothers sold their seeds in. |
| HB-LTR | Correspondence | Letters between the Hollis Brothers and the gardeners who bought from them. |
| HB-TRL | Trial grounds | Photographs and plans of the trial grounds, where every variety was grown and tested. |
Each heading is the name of the field its column goes into. That isn't required, but it lets CSV Import fill in the mapping for you. The Identifier column gives each set a short code of its own, which later lessons use to put items into these sets.
Screen 1: Import Settings
- Click CSV Import in the left menu. The Import Settings page opens.
- Under Spreadsheet (csv, tsv or ods), choose hollis-item-sets.csv.
- Leave CSV column delimiter on comma and CSV column enclosure on double quote. They describe how the file separates its cells, and these are what nearly every spreadsheet program saves.
- Set Import type to Item sets. This is the first question: what does each row become?
- Tick Automap with simple labels, so headings like Title find their fields.
- In Comment, type Hollis item sets. The comment is how you'll recognize this import later on Past Imports.
- Click Next.

Screen 2: the mapping
The next page has three tabs. Map to Omeka S data lists your columns down the left, one row each, with where each one goes. Because the headings match field names, all three are already mapped: Identifier, Title, and Description, each shown under its column. This is the second question: where does each column go?
Basic Settings holds choices for every row at once, such as visibility. Advanced Settings holds the third question: what happens to things that are already there. Its Action starts on Create, so every row becomes something new. Lessons 11 to 14 use the other actions.
- Check that each column shows the field you expect.
- Open Basic Settings. Item sets have one setting the other types don't: Open/closed to additions. Leave it alone for now; lesson 5 covers it.
- Click Import.

Screen 3: Past Imports
Omeka says it's Importing in background and opens Past Imports. Imports run in the background, so you can leave the page and come back. Each import is one row:
- Action: Create here. Under it, Job details and, once there is one, Log.
- Comment: the note you typed.
- Result: what it did, here Added: 4 item sets.
- Status: completed once it has finished. Refresh the page until it says so.
Click Item sets in the left menu: the four Hollis sets are there, each with its identifier and description.

The five-row test run
Before you import a long spreadsheet, import its first five rows. Look at the results, then tick Undo beside that import on Past Imports and click Submit: Omeka deletes everything it created. Fix the spreadsheet or the mapping and try again. Ten minutes of testing saves an afternoon of cleaning up hundreds of items.
Going further
The five kinds of import, how big an import can be, and who can see what.
What each row can become
Import type decides what a row becomes:
- Items: the usual choice. A row can carry the item's files and its item sets.
- Item sets: like this lesson.
- Media: files added to items that already exist. Lesson 8 uses it.
- Mixed resources: item sets, items, and files in one spreadsheet, with a column saying which each row is. Lesson 10 uses it.
- Users: accounts for the people who'll work in your admin. Lesson 16 uses it.
File types
CSV Import reads three kinds of file: comma-separated (.csv), tab-separated (.tsv), and OpenDocument spreadsheets (.ods), which LibreOffice saves. It doesn't read Excel's .xlsx: save a copy as CSV UTF-8 first. Lesson 2 has the details.
Big imports
CSV Import works through a spreadsheet 20 rows at a time, then moves on. A few thousand rows of metadata take a few minutes; rows with images take longer, because each image is downloaded. You can keep working while it runs. For very large collections, split the spreadsheet into files of a few hundred rows, so a problem in one doesn't hold up the rest.
Your settings are remembered
CSV Import remembers your last choices for the delimiter and enclosure, the separator between values, the language, the identifier property, the number of rows per batch, and Automap with simple labels. If an import behaves differently from the one before, check that a setting from a previous import hasn't carried over.
When things go wrong
What to do when CSV Import isn't in the menu or an import never finishes.
- There's no CSV Import in the left menu. Either the module isn't installed in Omeka yet (step 3 of Install CSV Import), or your account isn't a Global Administrator or Supervisor. Ask someone who is to change your role under Users, or to run the import.
- Status stays on starting or in_progress. Refresh after a minute. If it never moves, check Jobs in the left menu, which lists every background task. On RefBytes, background tasks are already set up; if one stays stuck for more than ten minutes, open a support ticket from your dashboard.
- The Undo box can't be ticked. Undo only works on imports that created things, and only once. Lesson 15 covers what to do instead.
On RefBytes
Every Omeka S module in the omeka.org directory is on your site's Modules page in the RefBytes dashboard, under Available, with an Install button, so there's nothing to download or upload. The modules this course mentions along the way, such as Exports and Numeric Data Types, install the same way.