Modules
Data Entry
Upload your data without the risk of duplication and correct upload errors without having to leave the app.
Use the sidebar to navigate to the Data Entry page. You will now go through a series of panels that will take you through the upload process step-by-step. You can move through the panels using the Next and Back buttons at the bottom of the page.
There are two main options for uploading data to StewardDB: you can either upload a file or you can enter in a single member at a time. We will go over the two approaches on this page.
Single Member Entry
- Select Single Member Entry and click Next.
- Select an existing Affiliation from the dropdown menu or enter a new Affiliation value. You can select Steward if you want to upload a member to the Directory only. Any other value you select or enter ensures that the member is added both to the Directory table and to your custom Subaffiliation table.
- Select an existing Subaffiliation from the second dropdown menu or enter a new Subaffiliation value. If you selected Steward in the previous step, you can now select Directory if you want to upload a member to the Directory table only. Any other value you select or enter ensures that the member is added both to the Directory table and to your custom Subaffiliation table.
- Now, the columns for the Subaffiliation table you picked should be in view and you can enter in your member's information and click Submit to upload it to the database. Note that this member can be an existing or new member, they will still be added to the Subaffiliation table you picked.
- After your submission, you will be sent to the Upload Jobs page where you can see if your upload was successful. If successful, you should now see your member in the Steward.Directory table and, if you chose different values for Affiliation and Subaffiliation, you should also see your member in that Subaffiliation table in the Database page.
Required columns
Every member entry requires a First Name and a Last Name as this is what StewardDB uses to ensure your membership data does not have duplicates. Before any data is pushed into your database, we search for similar existing member names. If we find any potential matches, we further confirm the member's identity using either their email or phone number. In the future, we will implement an additional matching method using Employer IDs in Subaffiliation tables.
File Upload
1. Select File Upload as your upload type
Select the File Upload option and click Next.
2. Upload your file & assign the sources for your Affiliations, Subaffiliations, and Divisions
Click Choose File and select the file you want to upload. This can be a .csv, .xls or .xlsx file. For files with multiple sheets, you can select any sheet from the dropdown menu to the right of the file input element.
At this point, StewardDB will extract all your file column names. It will use these column names to populate the dropdown menus on the left-hand side under Grab from column in file. On the right-hand side, you will see dropdown menus with the existing Affiliations, Subaffiliations, and Divisions from your database under Pick new or existing value.
This step is the most important step for organizing your data. Before making any final decisions, take a look at the following table which provides general definitions for Affiliations, Subaffiliations, and Divisions:
| Layer | What it is | Think of it as |
|---|---|---|
| Affiliation | A database schema, a grouping of tables | The top-level of organization (e.g., an employer or union that might have multiple locals or shops under it) |
| Subaffiliation | A table | The unit that shares a dues structure (e.g., a local or shop), could also be, say, a list of stewards across your organization who need a dedicated table |
| Division | A specialized and protected column within Subaffiliation tables | A non-overlapping subgroup of members inside a subaffiliation (e.g., a department) |
StewardDB's structure is completely flexible: You can create as many Affiliations and Subaffiliations as you want. A member can appear in any number of Subaffiliation tables (our one rule being we do not allow duplicate members in a single table). One suggestion is to keep members that pay dues under the same dues structure in the same table: This will be helpful when you start regularly uploading your payroll/dues data to catch lapsed memberships.
Still not sure?
If you're still a little uncertain about how to organize your data and you would like to see some realistic examples, check out this section.
Here is an outline of the combinations possible for these selections:
| Option | Affiliation | Subaffiliation | Division | Best for |
|---|---|---|---|---|
| 1 | From a file column | From a file column | From a file column or empty | Files that span many Affiliations and Subaffiliations |
| 2 | Pick existing or enter new | From a file column | From a file column or empty | Files covering one Affiliation with many Subaffiliations |
| 3 | Pick existing or enter new | Pick existing or enter new | From a file column or empty | Files covering one Subaffiliation with many Divisions or no Divisions |
| 4 | Pick existing or enter new | Pick existing or enter new | Pick existing or enter new | Files covering a single Division |
The musts for data organization
You must select either a column or a specific value for Affiliations and Subaffiliations, even if it's just Steward as Affiliation and Directory as Subaffiliation. Divisions can be left empty.
Once you've made your selections, you can click Next.
3. Assign file columns to database columns
As soon as you navigate to this panel, StewardDB will attempt to match your file's columns to the database columns using an algorithm. Please check that columns were matched correctly at this stage since this algorithm is probabilistic. You can rearrange any column matches made in error. After this, any left over file columns will remain on the right hand side under File Columns. If there are matches that the algorithm did not catch, you can drag your columns from the right hand side to the ovals on the left hand side representing the Database Columns.
You will see that there are a few tables mentioned under Database Columns: The Directory table, the Dues table, and Subaffiliation tables. The Directory table includes the basic contact information for your members, these are global values for the whole application. The Dues table retains all payroll/dues data that is entered into StewardDB (a separate Dues page is on our roadmap for the near future). The Subaffiliation table is simply a placeholder for your custom tables which will all have a common set of columns created by StewardDB. Here is the complete list of the columns and the tables they appear in:
First Name (Directory Table)
Last Name (Directory Table)
Middle Name (Directory Table)
Phone (Directory Table)
Email (Directory Table)
Joined On (Directory Table)
Address (Directory Table)
Street Address (Directory Table)
Street Number (Directory Table)
Street Name (Directory Table)
Unit (Directory Table)
City (Directory Table)
State (Directory Table)
Zip Code (Directory Table)
Date Paid (Dues Table)
Amount Paid (Dues Table)
Job Classification (Dues & Subaffiliation Table)
Hours Worked (Dues Table)
Salary (Dues Table)
Annual Salary (Dues Table)
Joined Subaffiliation On (Subaffiliation Table)
Code (Subaffiliation Table)
Required columns
Every dataset must have columns for First Name and Last Name as this is what StewardDB uses to ensure your membership data does not have duplicates. Before any data is pushed into your database, we search for similar existing member names. If we find any potential matches, we further confirm the member's identity using either their email or phone number. In the future, we will implement an additional matching method using Employer IDs in Subaffiliation tables.
In addition to matching your file columns to our database columns, you can also delete any unnecessary columns from your file here by clicking X on any file column pill to ensure they are not entered into the database.
Once you feel you have mapped every column possible and only have your custom columns left on the right-hand side, click Next.
4. Format and clean your data
This section gives you a chance to see your data before the final submission. Check that your columns and rows look right, and your data types were chosen correctly (numbers, dates, datetimes, checkboxes, etc.). If not, this might be the time to take a look at the original file to see if there are any significant typos causing your data to be corrupted during the upload. This is generally more likely for any CSV files that might have been edited by hand.
You can also double-click on any cell to edit its value or delete any rows by selecting them with the checkboxes on the left side of the data grid and then clicking the Delete Selected Rows button on the upper right corner of the panel. You do not need to worry about empty rows in your dataset. Once your dataset looks ready, click Next.
5. Assign your custom columns to new and existing Subaffiliation tables
Check Affiliation-Subaffiliation table names
In this final panel, StewardDB will list all New Tables To Be Created and all Existing Tables To Be Appended To. You can check that all the table names listed make sense and that typos in your Affiliation and Subaffiliation column values did not cause unintentional duplicate tables.
Edit column distribution across your tables (optional)
Under each table that is listed, you will also be able to see the columns to be created. StewardDB auto-detects all non-empty columns that appear in each Affiliation-Subaffiliation grouping based on the organizational information you provided previously. However, if there are certain columns that you want to add to a table regardless of them being empty, you can do so on this page:
- You can add a single column to a single table using the dropdown menus at the end of each column list.
- You can choose to add a single custom column to all your tables by clicking the column name in the box on the right hand side.
- Or you can click Add All Columns To All Tables to include every custom column on every table.
Once you are satisfied with the Subaffiliation table-column mappings, click Submit. This will send you to the Upload Jobs page where you can track the progress of your data upload job.