Description of variables and functions checkfile[file], checkdir[dir] - check existence of a file or a directory and stop if it does not exist. checkdir1[dir] - check existence of a directory and create it if it does not exist. dir00 - .../html dir0 - .../html/pictures/tmushrooms matchName1, matchName2a, matchName2b, matchName2, matchName - match patterns for scientific names Example: matchName2a = RegularExpression["[A-Z][a-z]{2,50} [a-z]{3,50}"]; matchFungus, matchSlime, matchLichen, matchMushrooms - match words for fungi, lichens, ...; Example: matchFungus = {"mushroom", "mushrooms", "fungus", "fungi", "fungal"}; namesMO - names copied from MO web site idMO[name] - name ID timesMO[name] - number of observations namesList = namesMO + namesAdd - namesRemove namesList2 - list of binary names used on pictures accNamesList - list of accepted names (not synonyms) namesListSort - sorted list familyList - list of families allSynonyms, namesAndSynonyms, ambiguousSynonyms - ... picsTexas - all pictures taken in Texas picCaption[r, p] - picture caption picCaptionW[r, p] - with only word characters and dashes between letters left picDate[r, p] - date {year,month,day,h,m,s} namesPic[r, p] - names for a given picture accNamesPic[r, p] - accepted names for a given picture mushroomsPic[r, p] - words like fungi, lichen, ... for a given picture picSet[name] - pictures with a given (accepted) mushroom synonymOf[synonym] - accepted names for which it is a synonym nameSynonyms[name] - synonyms picsNames, picsMushrooms - pictures with names, words picsList = picsNames + picsMushrooms nNames = Length[accNamesList]; nTexas = Length[picsTexas]; mPictures = Length[picsList]; nPictures = Length[Union[Join@@tmushpictures]]; nDates = msubsets; (Obsolete) nameIds[name, nyear] - species IDs for a given name nameId[name, nyear] - the most likely ID for a given name (undefined if nameIds[name, nyear] is empty) urlsave[url, file, condition] - saving web page to a file, returns {response, text}. urlsavejs[url, namejs, file] - saving web page with javascripts using node.js and Puppeteer with namejs script, returns 0 or 1. nameKey[name] - key in gbif.org, zero if search did not return results addNameData[name, XXX] - data for additional names. XXX could be: ifexists, link, fullname, synonyms, exclusions (names to exclude from pages containing the given name), commonNames, kingdom, phylum, class, order, family, genus (taxonomy) keyData[key0_String, "XXX"] - data for the given key. XXX could be: occurence, ifexists, link, synonyms, kingdom, phylum, class, order, family, genus (taxonomy), key, rank, scientificName, nameType, synonym, basionym, taxonomicStatus, basionymKey, acceptedKey, accepted Example: kingdom -> Protozoa phylum -> Mycetozoa class -> Myxomycetes order -> Stemonitales family -> Stemonitidaceae genus -> Brefeldia species -> Brefeldia maxima key -> 3212928 rank -> SPECIES scientificName -> Brefeldia maxima (Fr.) Rostaf. nameType -> SCIENTIFIC synonym -> False basionym -> Reticularia maxima Fr. taxonomicStatus -> ACCEPTED basionymKey -> 7823755 acceptedKey -> Undefined accepted -> Undefined nameOnPic[(accepted name), pic] = which name is used for a given (accepted name) on the picture (could be synonym) usedSynonyms[name] - synonyms that were used in captions. (Normally, don't used it, use synonymsUsed instead.) synonymsUsed[name] - only synonyms that are used on the same caption where the name is used too. commonNames[name] - common English names, commonName[name] = commonNames[name][[1]] inaturalist[name, "XXX"] - data from inaturalist.org. XXX could be: total_results (for the name), results (for the name and used synonyms), observations_count, matched_term, name, iconic_taxon_name, wikipedia_url, rank, english_common_name