Back to articles

How MRDBID is supposed to work

Subject: Website Organization 2025-09-10

This is a work in progress, of course, but some explanation is necessary. You may see (currently you WILL SEE) some characters that don't seem to make any sense. One good explanation is that they DO NOT make any sense as they are currently represented.

I made the choice to include every character that I found so that none dropped out of sight and ended up being lost before knowledgeable people could decide their value, or not. Some need more fleshing out by adding data for available options for that specific character so that a radio list or drop-down can be displayed instead of simple text form field.

I certainly realize that most people, however dedicated they are to mycology, will never use every or even most of these characters. That does not reduce the value of those rarely used.

You are an admin user. You can view how I kept track of the original source of the characters. Actually, the ORIGINAL source for most of the character list is Mushroom Observer's Excited delirium [EXD].

I took EXD's list and attempted to add what would end up being database tables/rows. For example, original row 2, "2 The size (height and 3 width) of the pileus/pilei" became row 2 "pileus_height_mm" and row 3 "pileus_width_mm" (in original source) which ends up in table mr_characters as rows 113 and 114. Since these are measurements, there are no corresponding 'lookup' associations. Whatever value is entered is what is displayed.

Row 13 "13 Pileus surface texture: is glabrous (smooth) or non-glabrous (i.e. Downy-Wooly, Matted-Fibrillose, Furfuraceous, Granulose, Pruinose, Squamose, Squamulose, Scaly, Hairy, Shaggy, Bristled/Bristly, Strigose, Warted, Appressed, Appressed-Fibrillose, Tomentose, Virgate, Scrobiculate, Alveolate, Lacunose, Lacinate, Areolate, Atomate, Micaceous, Superficial, Innate, Venose, etc.)" becomes in table mr_characters (mushroom_characters), row (id) 124 'pileus_surface_texture' and in table lookup_items you have: mysql> select id, name, source_data_id from lookup_items where mr_character_id = 124;

| id | name | source_data_id |
| 371 | Glabrous smooth | 44 |
| 372 | non-glabrous Downy-Wooly | 44 |
| 373 | non-glabrous Matted-Fibrillose | 44 |
| 374 | non-glabrous Furfuraceous | 44 |
| 375 | non-glabrous Granulose | 44 |
| 376 | non-glabrous Pruinose | 44 |
| 377 | non-glabrous Squamose | 44 |
| 378 | non-glabrous Squamulose | 44 |
| 379 | non-glabrous Scaly | 44 |
| 380 | non-glabrous Hairy | 44 |
| 381 | Shaggy | 44 |
| 382 | Bristled/Bristly | 44 |
| 383 | Strigose | 44 |
| 384 | Warted | 44 |
| 385 | Appressed | 44 |
| 386 | Appressed-Fibrillose | 44 |
| 387 | Tomentose | 44 |
| 388 | Virgate | 44 |
| 389 | Scrobiculate | 44 |
| 390 | Alveolate | 44 |
| 391 | Lacunose | 44 |
| 392 | Lacinate | 44 |
| 393 | Areolate | 44 |
| 394 | Atomate | 44 |
| 395 | Micaceous | 44 |
| 396 | Superficial | 44 |
| 397 | Innate | 44 |
| 398 | Venose | 44 |
| 399 | non-glabrous Other | 44 |
29 rows in set (0.00 sec)
and source is Excited Delirium [EXD]: mysql> select title, author from source_data where id = 44;
| title | author |
| Observation List: Characters With Taxonomic Value For Stipitate-Lamellate Mushrooms | Excited delirium [EXD] |.

The character 'pileus surface texture' will display these options in a radio list for selection. I use radio lists a lot more than drop-downs in an effort to make the data easier to view and understand. Some option lists are quite long, and radio lists allow you to see all options, some that may appear similar, before you select your final choice.

This process is what you are in the middle of, RIGHT HERE. An effort to make selecting some or all of these characters and assigning them to a specific mushroom to help identify it.

I use a database from mycobank.org (MBList) for genus and species. More on that later.

So, in addition to learning Rails and modifying this project to function within it, I am working on the data to get it is a rough shape to be modified and corrected into something of value.

Note: One of the goals is to end up with a standard or uniform order of characters to be able to maintain a complete list of characters for specimens in Mushroom Observer or iNaturalist. Take the data here and paste into the other sites as notes or whatever. If this is already available, I have not found it.

"Work in progress." I think I mentioned that. Sure, mr_characters table id = 163 name = lamellae_lamellar_edge_partially_completely_pigmented_edges_not_cystidia_appearance_result seems a little verbose. At the time I was adding the mushroom part to the beginning of the other description, and I may have gotten tired of editing long names down based on limited knowledge? And gills/lamellae? stem/stipe? cap/pileus?

After setting a value for one of the 673 different characters (as of last count) that character will move from unset characters at bottom to the set characters above, where it can still be edited, if needed. The "Not yet entered" characters are divided into categories in an attempt to keep screen clutter down.

I know it looks odd at first glance, with the repeat of the color grid for each color character, but I got to it in the process of creating a workable scheme and stuck with it. Self-contained and easy to use. Other way was to have one grid for all color charaters and go back and forth. I chose this, for now. Once you enter a color, once you go to the "Show" page, only the character name and the color swatch shows.