specify6 icon indicating copy to clipboard operation
specify6 copied to clipboard

Improve field descriptions

Open maxpatiiuk opened this issue 4 years ago • 16 comments

We really need to improve our field descriptions. Marking fields as unused or showing where they are used would be of great help. I can compile a list of fields that are used by Sp7, which would be a good start. Then, we can either put those descriptions in place of the ones we have right now, or show them alongside the current ones in the database schema viewer

From Theresa:

I believe Taxon.visibility was added when 6 was first created to allow for changes in the future but we did not implement the changes, so the field is superfluous. You will find it in more than just the taxon table

maxpatiiuk avatar Jul 30 '22 03:07 maxpatiiuk

latLongAccuracy should be decisively labeled as unceratinty from the coordinates in meters or decimal degrees

grantfitzsimmons avatar Aug 01 '22 00:08 grantfitzsimmons

CollectionRelationship.leftSide has an unhelpful description of leftSide. A better would be Source Collection.

Same for CollectionRelationship.rightSide, which is referred to as Destination Collection in sp6 ui

maxpatiiuk avatar Aug 01 '22 01:08 maxpatiiuk

@acbentley suggests also including whether the field is part of Darwin Core @grantfitzsimmons suggests the schema mapper in Specify 7 should use that information as the basis for the mapping

maxpatiiuk avatar Aug 16 '22 19:08 maxpatiiuk

bottomDistance - java.lang.Float topDistance - java.lang.Float positionState - java.lang.String

They were intended to document fossil disposition state. Since fossils usually don't lay flat, it was a way to document the angle and difference in situ position for it

These were distances to the top of the litho layer or to the bottom of the layer the fossil was found in.

grantfitzsimmons avatar Sep 02 '22 17:09 grantfitzsimmons

In the Accession table:

number1

A user-visible identifier of the Accession. Typically an integer, but may include alphanumeric characters as prefix, suffix, and separators.

This is not the case. It's type is java.lang.Float in schema 2.9 and will be java.math.BigDecimal in schema 2.10

grantfitzsimmons avatar Sep 16 '22 17:09 grantfitzsimmons

After reviewing the fields in the Schema (v 2.9), here are my findings and notes, by table sorted in alphabetical order.

Overall

Many of the user definable fields have differing descriptions throughout the schema. Some have "User definable" as their description, others simply have the name of the field as the description or something like "reservedText". It would be nice to change the description of all user definable fields to clearly state the user is free to use them. I think the key thing here is consistency: either update every user definable field to have the description "User definable", or have it equal the label name (e.g. "text1", "yesNo3", "number4") but explicitly state these fields are User definable in Documentation. Having three methods of saying a field is user definable will lead to confusion.

Something of a low priority would be to include the full extension of an acronym in the field description. For example, in the DNASequencingRun table, the description for dryadDOI could be expanded to "Dryad Digital Object Identifier". In the Taxon table, there are fields for a variety of Taxon collaborations (cites, col, esa) (a further example is hucCode or gml in the LocalityDetail table, or regNumber in the Division-and other-tables) that could be expanded upon. Of course, an argument could be made that the people who are using such tables should know what those fields really mean.

A lot of tables contain a "visibility" field, as mentioned earlier in this conversation. As they are no longer used, the description should reflect that, maybe stating "This field is no longer used" or "This field is deprecated" There is a similar field: version which exists on many forms, but I am not sure the use of it. If it is to be used internally by Specify, I feel like the description should reflect this.

AccessionCitation

Nearly all of the fields in this table have descriptions in a separate language.

Agent

Similar to AccessionCitation, Agent has 4 fields that are in separate languages: date1, date2, text1, and text2. date1 and date2 have the same description, “Дата1” verbatimDate1 and verbatimDate2 have the description "Verbatim Dat**a*..."

Address

startDate description contains a typo “The first date the the agent…"

Agent Variant

name field has a typo (“THe full name used as a variant…”) If the field varType is only meant to have 1 of 2 values, wouldn't it make more sense to be a Boolean value rather than a Byte?

Appraisal

The appraisalNumber field is of type String. Because of this, the description should read "Unique identifier for the appraisal" rather than "Unique number for the appraisal".

Collecting Event

The descriptions for the stationFieldNumberModifier fields could be more descriptive. Something along the lines of "additional field to expand upon or modify the stationFieldNumber (e.g. adding a suffix to a stationFieldNumber)" While I have looked online, I could find nothing describing what the sgrStatus field would be used for.

Collecting Trip

What is the purpose for the expedition field? I would assume it would be "Numbers and/or letters used to identify an expedition" What is the difference between a cruise and a vessel? In this case is a cruise a specific type of vessel, or does vessel more closely mean an ocean liner?

Collection

dbContentVersion, developmentStatus, estimatedSize, InstitutionType, kingdomCoverage, preservationMethodType, primaryFocus, primaryPurpose, and scope have unhelpful descriptions (“ABCD schema field”). I’m assuming these fields are to be created/managed when the database is created through SPWizard. The description should reflect this.

Collection Object

The description for catalogNumber is incorrect. Since this field is a string, catalog number is not only a “number”. Should be changed to “A unique identifier for an individual specimen…”

fieldNumber is not just a “unique number”, as it can contain letters as well. (The description does include examples with letters however).

The description field could be changed to something like "A description of the object, and things associated with the object, in the collection. (e.g. Image, Sound, Preparation, Container, Container Label, etc.)"

Is the totalValue field not how much the object was appraised for? Does it exist so users can attach a value to the object without making an Appraisal?

CollectionObjectAttribute

topDistance, positionState, and bottomDistance could be explained further in their description. I have heard that these are primarily used for paleo, to document the state the object was found in. Is direction to be used in a similar manner?

Determination

In the description for alternateName, this may just be my computer messing up with encoding, but there are two replacement characters in between "either/or". The descriptions reads as thus to me: "... This field operates as an �either/or� condition with...."

ExchangeIn/ExchangeOut

Perhaps srcGeography and srcTaxonomy could be expanded upon in their description. I'm assuming this is the geographic/taxonomic data of the original holders of the exchanged items. Yet the length of these fields is 32. What data should a user put here?

Extractor

The description of every field and relationship (save for orderNumber and dNASequence) is in a separate language from English

What does orderNumber mean for an Extractor? (there are other tables with this field as well) Is this meant to be used in a picklist to determine its order?

GeoCoordDetail

Nearly all fields in this table could benefit with some description. For instance, what is geoRefDetRet, protocol, or noGeoRefBecause?

Geography

It should be made clear in the description of highestChildNodeNumber and nodeNumber (and in similar tables which use trees) that these are internal fields for specify and probably should not be changed unless the user knows what they are doing.

the description for isAccepted (“The preferred name of a synonym”) implies the field to be a string, but it accepts a boolean value

Gift

number2 just has the description "se".

Institution

what is the purpose for the field hasBeenAsked? ternsOfUse seemingly did not encode/decode properly. Here is the description:

  • "Defines conditions under which the data may be analyzed, distributed or changed. "Terms of use" includes concepts like "Usage conditions" and "Specific Restrictions"."

Loan

While there are descriptions for what it means to be resolved/unresolved in other tables, the Loan table has no description for unresolvedPreps, unresolvedItems, resolvedPreps, resolvedItems

Locality Detail

What are some examples for drainage? Perhaps there could be an example for the Military Grid Reference System Zone mgrsZone, paleoLat and paleoLong could have their description be: "the coordinates of a place at some time in the past, measured using tectonic plates, the Earth's magnetic poles, etc."

What is the difference between a range and a section? I imagine there could be some overlap in the distinction, so an example for each would (hopefully) clear any confusion

Material Sample

A lot of the fields here have very specific, technical names. These names will most likely suffice for those who are using this table. For everyone else however, these names can only extend so far.

Morphbank View

What is developmentState and form for the context of a MorphbankView? Do they relate specifically to the image, the object the image is about, or both? is viewName the name in Morphbank, or rather a caption?

Journal

typo in description for journalName: “Full name of hte journal”

PcrPerson

Many of the fields and relationship descriptions are in different languages

Preparation

The description for the barCode field is in non-English language. What is the purpose of actualCountAmt?

RecordSet

What values would typically go into the allPermissionLevel, groupPermissionLevel, and ownerPermissionLevel fields? What Integer values have meaning for Specify regarding these fields?

ReferenceWork

As mentioned earlier, doi should be expanded to: "Digital Object Identifier". the name of workDate implies a date, and yet it is a String rather than Calender type. Is this intentional? And if so, why?

Taxon

There are a variety of acronyms that could be exapanded upon in the Taxon table (cites, col, esa, isis, lsid, ncbi, unitInd, usfws) It should be stated that cultivarName applies to human-manipulated cultivated plants

Taxon Attribute

The description for many of the fields and relationships are in non-English languages

melton-jason avatar Sep 23 '22 15:09 melton-jason

Taxon Attribute

The description for many of the fields and relationships are in non-English languages

Where do you see this? I can't see non-English descriptions for any of the fields or relationships

grantfitzsimmons avatar Sep 23 '22 15:09 grantfitzsimmons

There is a similar field: version which exists on many forms, but I am not sure the use of it. If it is to be used internally by Specify, I feel like the description should reflect this.

Version is used by Specify all over the place, but is not exposed to the user. It helps prevent cases where two people are editing the same record, and one is overwriting the edits of another (back-end will detect that the user was editing an outdated version and reject the changes)

maxpatiiuk avatar Sep 23 '22 15:09 maxpatiiuk

@grantfitzsimmons

Where do you see this? I can't see non-English descriptions for any of the fields or relationships

I saw this on both the botany and invertpaleo databases on Specify version 7.7.2, Schema version 2.9 in both the Database Schema and in Schema Configuration. There were other tables which had the same issue in both databases as well.

@maxpatiiuk

Version is used by Specify all over the place, but is not exposes to the user. It helps prevent cases where two people are editing the same record, and one is overwriting the edits of another (back-end will detect that the user was editing an outdated version and reject the changes)

Ok, that makes sense, thank you for the breakdown

melton-jason avatar Sep 23 '22 15:09 melton-jason

Agent Variant

name field has a typo (“THe full name used as a variant…”) If the field varType is only meant to have 1 of 2 values, wouldn't it make more sense to be a Boolean value rather than a Byte?

Journal

typo in description for journalName: “Full name of hte journal”

I couldn't find these typos in the default schema localization. Possibly they were included in a schema edit to the database you were checking.

benanhalt avatar Oct 24 '22 21:10 benanhalt

Not seeing the following issue described in the Agent table:

verbatimDate1 and verbatimDate2 have the description "Verbatim Data..."

image

benanhalt avatar Oct 24 '22 21:10 benanhalt

Yes, you are correct. I was looking in the field descriptions on Specify 7. I just checked 2 separate databases on 7 and a local one on 6 and those typos did not appear in 6. Seems like there is some discrepancy between Sp.6 and Sp.7 descriptions

melton-jason avatar Oct 24 '22 21:10 melton-jason

Also not seeing the issue with other languages showing up in the descriptions for the English schema.

benanhalt avatar Oct 24 '22 21:10 benanhalt

latLongAccuracy should be decisively labeled as unceratinty from the coordinates in meters or decimal degrees

The description is currently "radius -- in decimal degrees". Should it be updated to include "or meters"?

benanhalt avatar Oct 27 '22 20:10 benanhalt

latLongAccuracy should be decisively labeled as unceratinty from the coordinates in meters or decimal degrees

The description is currently "radius -- in decimal degrees". Should it be updated to include "or meters"?

It should probably be meters or decimal degrees

grantfitzsimmons avatar Oct 27 '22 21:10 grantfitzsimmons

Okay. I think I've fixed the things that were obvious errors.

Updating all the user definable fields to have same description should probably done using an automated tool.

The problem where the descriptions appear in other languages seems to stem from cases where there is only one language, PT say, in the descriptions. It seems like Specify 7 might be falling back to using that description if there is none in the selected language instead of using the field name. This seems like it could be a Specify 7 bug. We could go through and add descriptions for every field in every language even where it is the same as the field name, but that seems perverse.

Jason's other observations are mostly questions about what the descriptions of some fields should be. We should probably get input on those from Andy or Theresa.

benanhalt avatar Oct 27 '22 21:10 benanhalt