Which Race Codes Should Be Used in NLETS?
The definitive guide for librarians, data managers, and anyone who needs to tag user records accurately.
Opening hook
Ever opened an NLETS server and stared at a blank race field, wondering which code to drop in? Plus, i’ve been there. The wrong code can throw off analytics, break compliance reports, and even misrepresent your user base. In practice, getting it right is a small step that pays off big time Simple as that..
What Is NLETS Race Coding
NLETS—the National Library and Information Technology Services—is the backbone of interlibrary loan, cataloging, and user management across the U.library system. So s. Also, within that system, each patron’s profile can include a race attribute. This isn’t a fancy demographic filter; it’s a standardized code that tells the system, and anyone who reads the data, exactly how that patron identifies.
The codes come from the U.In real terms, census Bureau’s Race and Ethnicity schema, which libraries adopted to keep data consistent. S. Think of it like the ISBN for people: a small set of numbers that unlocks a lot of information.
Why It Matters / Why People Care
Data Integrity
When you pull reports on patron usage by race, you’re not just curious about diversity—you’re looking for gaps, funding needs, and outreach opportunities. One mis‑coded entry can skew your entire analysis Easy to understand, harder to ignore..
Compliance
Some states and funding agencies require libraries to report patron demographics. If your race codes don’t match the required format, you could face penalties or lose grants.
User Experience
Accurate race data helps libraries tailor services. Take this: if a significant portion of your patrons identify as American Indian or Alaska Native, you might partner with local cultural organizations to host events. The wrong code means you miss that signal.
How It Works (or How to Do It)
1. Understand the Code List
| Code | Description |
|---|---|
| 1 | White |
| 2 | Black or African American |
| 3 | American Indian or Alaska Native |
| 4 | Asian |
| 5 | Native Hawaiian or Other Pacific Islander |
| 6 | Two or More Races |
| 7 | Hispanic or Latino (any race) |
| 8 | Not Reported |
| 9 | Unknown |
Quick tip: The list is fixed. Don’t invent your own codes.
2. Check the Library’s NLETS Profile Settings
Some libraries have customized the race field to accept only a subset of these codes. Before you start, log into the NLETS admin portal and review the Patron Profile configuration. Look for:
- Allowed values – Is the full list present?
- Mandatory field – Must every patron have a race code?
3. Match User Self‑Identification
When a patron signs up or updates their profile, ask them to select their race from a dropdown that mirrors the NLETS list. Avoid wording that forces a single choice when “Two or More Races” is an option. For instance:
- “Select all that apply” (then map to code 6 if multiple)
- “If you identify with more than one race, choose ‘Two or More Races’”
4. Importing Data
If you’re bulk‑importing patron data (say, from a CSV), make sure the race column uses the numeric codes, not the textual names. NLETS will reject rows with invalid values. Use a simple script to validate:
valid_codes = {1,2,3,4,5,6,7,8,9}
if int(race_code) in valid_codes:
# import
else:
# flag for review
5. Updating Existing Records
When you discover an error—say, a patron who’s actually Asian (code 4) was mistakenly tagged as White (code 1)—you can update the record manually or via a batch script. Always keep a log of changes for audit purposes Most people skip this — try not to..
Common Mistakes / What Most People Get Wrong
| Mistake | Why It Happens | Consequence |
|---|---|---|
| Using textual race names instead of numeric codes | People think NLETS accepts text | Import fails, data corrupted |
| Mixing Hispanic/Latino with race codes | Confusion between ethnicity and race | Misleading demographic stats |
| Allowing “Not Reported” (code 8) as a default | “I don’t want to say” is common | Skewed data, under‑representation |
| Ignoring “Two or More Races” (code 6) | Users think they must pick one | Loss of nuanced identity |
Real talk: Libraries often default to “White” because it’s the only code they remember. That’s a big mistake.
Practical Tips / What Actually Works
-
Standardize the UI
Use a single dropdown that lists the exact NLETS labels. Don’t add extra wording like “Prefer not to say” unless you map it to code 8 The details matter here.. -
Validate on the Fly
If a patron enters a code that isn’t in the list, show an error message immediately. No silent failures The details matter here.. -
Audit Regularly
Run a quarterly report that flags any codes outside 1‑9 or any missing race fields. A quick spreadsheet can catch most issues That's the part that actually makes a difference. That's the whole idea.. -
Educate Staff
A one‑hour training session on the importance of race codes can prevent dozens of errors. Share the cheat sheet below:Code Label 1 White 2 Black or African American 3 American Indian or Alaska Native 4 Asian 5 Native Hawaiian or Other Pacific Islander 6 Two or More Races 7 Hispanic or Latino 8 Not Reported 9 Unknown -
Document Your Process
Keep a quick reference guide in the staff handbook. When new hires come aboard, they’ll know exactly what each code means The details matter here..
FAQ
Q1: Can I add custom race codes for my library?
A1: No. NLETS only recognizes the official Census codes. Custom codes will break data imports and reports.
Q2: What if a patron identifies with a race not on the list?
A2: They should select Two or More Races (code 6) or Not Reported (code 8) if they’re uncomfortable. The system doesn’t support every possible identity And it works..
Q3: How do I handle mixed‑race patrons who choose more than one option?
A3: Map any multi‑select to code 6. If you need more detail, consider a separate ethnicity field for Hispanic/Latino.
Q4: Is “Hispanic or Latino” a race or an ethnicity?
A4: Officially, it’s an ethnicity. That said, NLETS treats it as a separate race code (7) for simplicity. Stick with the code list But it adds up..
Q5: My import script keeps throwing “invalid code” errors. What’s wrong?
A5: Check that your CSV uses numeric values, not text. Also, ensure there are no leading spaces or hidden characters It's one of those things that adds up..
Closing paragraph
Getting the race codes right in NLETS isn’t just a bureaucratic chore; it’s a commitment to accurate data, compliance, and better service for every patron. Treat it like you would any other data field: validate, audit, and educate. Once you’ve got the system humming, you’ll see the real payoff in clearer reports and a more inclusive library community It's one of those things that adds up. But it adds up..