meta data for this page
  •  

This is an old revision of the document!


In this tutorial I will be teaching users our best practices for adding data to ICE-D through the admin page on the ICE-D website. In the past, we had folks from the community add data directly to the database through SQL clients such as Heidi and Sequel Pro, but users will now be adding data in excel spreadsheet format (other formats also available) to a page on the ICE-D website! We are hoping this will streamline the data entry process for ICE-D.

Before beginning, be sure to contact Greg Balco (balcs@bgc.org) or Joe Tulenko (jtulenko@bgc.org) and they will get you set up as a standard editor on the ICE-D admin page.


Step 1. Begin the tutorial by navagating to the admin page (https://version2.ice-d.org/admin/) on the ICE-D website. Use the credentials given to you either by Greg or Joe to log in. You should see a page similar to the one below:

You will notice there are several links to various ICE-D tables on the left side of the screen. In this tutorial, for simplicity, I am going to focus only on the four most relevant tables for users adding new 10Be simple exposure entries (Regions, Sites, Samples and Be10 Al26 Quartz). Furthermore, these four tables have more columns/attributes beyond those necessary to calculate exposure ages but I am going to focus only on those that are necessary to calculate simple exposure ages (and make proper table relations; more on that below).

That said, we encourage admin users to be as thorough as possible when doing data entry because if you don’t add column data now, people like me will have to fill in your blanks later.


Step 2. The general workflow for adding new data to the database needs to follow a specific path because of the way that tables in ICE-D are linked (aka, related). Following industry standards that make the database run quickly and ensure that each entry has a unique identifier, we rely on the database generating unique id numbers for each new entry. For those familiar with adding data to the original database, we used to rely on entry names (e.g., sample names or site names) to link tables as opposed to unique ids. Our four most important tables for 10Be simple exposure ages:

• REGION

• SITES

• SAMPLES

• BE10 AL26 QUARTZ

are related in the following way:

REGION → SITES | unique id generated for a REGION and referenced in SITES table

SITES → SAMPLES | unique id generated for a SITES and referenced in SAMPLES table

SAMPLES → BE10/AL26 QUARTZ | unique id generated for a sample and referenced in BE10 AL26 QUARTZ table

Note that unique ids are generated by the database/admin window on ICE-D and users will not be required to generate the ids on their own. However, users will need to reference unique ids generated by ICE-D to make the correct table relations (as outlined in the table above).

Because certain tables need a referenced id from another table to exist before an entry can be created and properly related, it makes the most sense to create tables in a specific ordered fashion: Region first, Sites second, Samples third and Be10 Al26 Quartz last.

Briefly, we set up these table relations to avoid certain impossibilities. For example, we link the Region table and Sites table through a unique Region id so that multiple sites can fall under the same Region (i.e., multiple entries in the Sites table can use the same Region id) BUT the set up makes it impossible for a single site to be referenced in multiple Regions (i.e., a single moraine can’t exist in two geographic locations at once).

We currently have other tables set up that allow for two-way relations, such as sample-publication matching (i.e., a sample can be referenced in more than one publication, and of course a single publication can reference more than one sample). In this case, a user would have created sample entries all with their own unique ids, a user would create one/more publications in the publications table each with their own set of unique ids, and then there is a third table, the Sample Publication Matches table where each relation is a new entry.

For example, a publication with 10 samples requires 10 entries in the Sample Publication Matches table, one for each sample. Additionally, if a later publication references let’s say 5 of those samples in the original publication, there needs to be 5 new entries in the Sample Publication Matches table to link those 5 samples to the new publication.


Step 3. Beginning with the Region table, users can view all of the entries in the Region table by selecting Region from the list of tables on the admin home page. In the Region table page, there should be an ”add Region” button near the top of the page. Select it and it should take you to a new window.

Fill out the entry window with whatever geographic name you wish to call your Region of interest. Please note that by the date of this tutorial there are 718 Regions; it is entirely possible that your Region of interest already exists! Check the ICE-D webpage to make sure that you need to generate a new Region. (In the event that the new samples you wish to add fall under a Region that already exists, be sure to find the unique id for that Region since you will need it for the Sites table.)

For the remaining tables - Sites, Samples and Be10 Al26 Quartz - the admin page allows users to directly upload excel spreadsheets. For each table, I am including a screenshot of the basic columns needed to set up proper table relations and allow for calculating simple exposure ages using the version 3 Cronus Earth calculator.

IMPORTANT: If you miss any of these entries your samples will not show up properly and you may cause an error on the ICE-D web page (don’t worry you won’t kill ICE-D, you just need to ammend your entries for the error to go away.)


Step 4. Once you have these three excel tables set up, one by one import them into their respective ICE-D tables in the admin page. I will show what it looks like to import entries for the Sites table, but the others look more or less the same.

Navigate to the Sites table in the admin page. You will see a list of sites arranged latest to first. There should be an import button near the top of the page, select that button.

The page displayed should look similar to the screenshot below: