Revision 12235
Added by Aaron Marcuse-Kubitza almost 11 years ago
vegbien.sql | ||
---|---|---|
20 | 20 |
-- Name: SCHEMA public_validations; Type: COMMENT; Schema: -; Owner: - |
21 | 21 |
-- |
22 | 22 |
|
23 |
COMMENT ON SCHEMA public_validations IS 'aggregating validations queries'; |
|
23 |
COMMENT ON SCHEMA public_validations IS ' |
|
24 |
aggregating validations queries |
|
25 |
'; |
|
24 | 26 |
|
25 | 27 |
|
26 | 28 |
SET search_path = public, pg_catalog; |
... | ... | |
52 | 54 |
-- Name: TYPE coordinatesource; Type: COMMENT; Schema: public; Owner: - |
53 | 55 |
-- |
54 | 56 |
|
55 |
COMMENT ON TYPE coordinatesource IS 'From <https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/VegCore_data_dictionary#coordinateSource>'; |
|
57 |
COMMENT ON TYPE coordinatesource IS ' |
|
58 |
From <https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/VegCore_data_dictionary#coordinateSource> |
|
59 |
'; |
|
56 | 60 |
|
57 | 61 |
|
58 | 62 |
-- |
... | ... | |
73 | 77 |
-- Name: TYPE establishmentmeans_dwc; Type: COMMENT; Schema: public; Owner: - |
74 | 78 |
-- |
75 | 79 |
|
76 |
COMMENT ON TYPE establishmentmeans_dwc IS 'See <http://rs.tdwg.org/dwc/terms/#establishmentMeans>'; |
|
80 |
COMMENT ON TYPE establishmentmeans_dwc IS ' |
|
81 |
See <http://rs.tdwg.org/dwc/terms/#establishmentMeans> |
|
82 |
'; |
|
77 | 83 |
|
78 | 84 |
|
79 | 85 |
-- |
... | ... | |
160 | 166 |
-- Name: TYPE placerank; Type: COMMENT; Schema: public; Owner: - |
161 | 167 |
-- |
162 | 168 |
|
163 |
COMMENT ON TYPE placerank IS 'county = parish, canton |
|
169 |
COMMENT ON TYPE placerank IS ' |
|
170 |
county = parish, canton |
|
164 | 171 |
municipality = city |
165 | 172 |
|
166 |
From <http://rs.tdwg.org/dwc/terms/#dcindex#dcterms:Location>, <http://vegbank.org/vegbank/views/dba_fielddescription_detail.jsp?view=detail&wparam=1415&entity=dba_fielddescription¶ms=1415>'; |
|
173 |
From <http://rs.tdwg.org/dwc/terms/#dcindex#dcterms:Location>, <http://vegbank.org/vegbank/views/dba_fielddescription_detail.jsp?view=detail&wparam=1415&entity=dba_fielddescription¶ms=1415> |
|
174 |
'; |
|
167 | 175 |
|
168 | 176 |
|
169 | 177 |
-- |
... | ... | |
253 | 261 |
-- Name: TYPE taxonrank; Type: COMMENT; Schema: public; Owner: - |
254 | 262 |
-- |
255 | 263 |
|
256 |
COMMENT ON TYPE taxonrank IS 'From <http://www.tdwg.org/standards/117/download/>'; |
|
264 |
COMMENT ON TYPE taxonrank IS ' |
|
265 |
From <http://www.tdwg.org/standards/117/download/> |
|
266 |
'; |
|
257 | 267 |
|
258 | 268 |
|
259 | 269 |
-- |
... | ... | |
316 | 326 |
-- Name: TYPE role; Type: COMMENT; Schema: public; Owner: - |
317 | 327 |
-- |
318 | 328 |
|
319 |
COMMENT ON TYPE role IS 'From <http://vegbank.org/vegbank/views/dba_fielddescription_detail.jsp?view=detail&wparam=1331&entity=dba_fielddescription¶ms=1331>, <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=projectcontributor&entity=dba_tabledescription&where=where_tablename#ROLE_ID>, and misc terms.'; |
|
329 |
COMMENT ON TYPE role IS ' |
|
330 |
From <http://vegbank.org/vegbank/views/dba_fielddescription_detail.jsp?view=detail&wparam=1331&entity=dba_fielddescription¶ms=1331>, <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=projectcontributor&entity=dba_tabledescription&where=where_tablename#ROLE_ID>, and misc terms. |
|
331 |
'; |
|
320 | 332 |
|
321 | 333 |
|
322 | 334 |
-- |
... | ... | |
348 | 360 |
-- Name: TYPE sourcetype; Type: COMMENT; Schema: public; Owner: - |
349 | 361 |
-- |
350 | 362 |
|
351 |
COMMENT ON TYPE sourcetype IS 'From <https://projects.nceas.ucsb.edu/nceas/attachments/download/428/bien_web_datasource_schema.sql>, <http://vegbank.org/vegbank/views/dba_fielddescription_detail.jsp?view=detail&wparam=1300&entity=dba_fielddescription¶ms=1300>, <http://vegbiendev.nceas.ucsb.edu/phppgadmin/display.php?server=localhost%3A5432%3Aallow&database=vegbien&schema=VegBank&table=source&subject=table#sourcetype>'; |
|
363 |
COMMENT ON TYPE sourcetype IS ' |
|
364 |
From <https://projects.nceas.ucsb.edu/nceas/attachments/download/428/bien_web_datasource_schema.sql>, <http://vegbank.org/vegbank/views/dba_fielddescription_detail.jsp?view=detail&wparam=1300&entity=dba_fielddescription¶ms=1300>, <http://vegbiendev.nceas.ucsb.edu/phppgadmin/display.php?server=localhost%3A5432%3Aallow&database=vegbien&schema=VegBank&table=source&subject=table#sourcetype> |
|
365 |
'; |
|
352 | 366 |
|
353 | 367 |
|
354 | 368 |
-- |
... | ... | |
386 | 400 |
-- Name: TYPE taxonclass; Type: COMMENT; Schema: public; Owner: - |
387 | 401 |
-- |
388 | 402 |
|
389 |
COMMENT ON TYPE taxonclass IS '= growthform + establishmentmeans_dwc + some others'; |
|
403 |
COMMENT ON TYPE taxonclass IS ' |
|
404 |
= growthform + establishmentmeans_dwc + some others |
|
405 |
'; |
|
390 | 406 |
|
391 | 407 |
|
392 | 408 |
-- |
... | ... | |
406 | 422 |
-- Name: TYPE taxonomic_status; Type: COMMENT; Schema: public; Owner: - |
407 | 423 |
-- |
408 | 424 |
|
409 |
COMMENT ON TYPE taxonomic_status IS 'See <http://tnrs.iplantcollaborative.org/instructions.html#Status>'; |
|
425 |
COMMENT ON TYPE taxonomic_status IS ' |
|
426 |
See <http://tnrs.iplantcollaborative.org/instructions.html#Status> |
|
427 |
'; |
|
410 | 428 |
|
411 | 429 |
|
412 | 430 |
-- |
... | ... | |
599 | 617 |
-- Name: FUNCTION _or("0" boolean, "1" boolean, "2" boolean, "3" boolean, "4" boolean); Type: COMMENT; Schema: public; Owner: - |
600 | 618 |
-- |
601 | 619 |
|
602 |
COMMENT ON FUNCTION _or("0" boolean, "1" boolean, "2" boolean, "3" boolean, "4" boolean) IS '_or() ignores NULL values, while OR combines them with the other values to potentially convert false to NULL. OR should be used with required fields, and _or() with optional fields.'; |
|
620 |
COMMENT ON FUNCTION _or("0" boolean, "1" boolean, "2" boolean, "3" boolean, "4" boolean) IS ' |
|
621 |
_or() ignores NULL values, while OR combines them with the other values to potentially convert false to NULL. OR should be used with required fields, and _or() with optional fields. |
|
622 |
'; |
|
603 | 623 |
|
604 | 624 |
|
605 | 625 |
-- |
... | ... | |
729 | 749 |
-- Name: FUNCTION datasource_publish(datasource text, schema_null anyelement); Type: COMMENT; Schema: public; Owner: - |
730 | 750 |
-- |
731 | 751 |
|
732 |
COMMENT ON FUNCTION datasource_publish(datasource text, schema_null anyelement) IS 'secure against renamings of the public schema. |
|
752 |
COMMENT ON FUNCTION datasource_publish(datasource text, schema_null anyelement) IS ' |
|
753 |
secure against renamings of the public schema. |
|
733 | 754 |
|
734 | 755 |
schema_null: identifies which schema''s tables to use. the default value is usually fine. |
735 | 756 |
'; |
... | ... | |
751 | 772 |
-- Name: FUNCTION datasource_rename(old text, new text, schema_null anyelement); Type: COMMENT; Schema: public; Owner: - |
752 | 773 |
-- |
753 | 774 |
|
754 |
COMMENT ON FUNCTION datasource_rename(old text, new text, schema_null anyelement) IS 'secure against renamings of the public schema. |
|
775 |
COMMENT ON FUNCTION datasource_rename(old text, new text, schema_null anyelement) IS ' |
|
776 |
secure against renamings of the public schema. |
|
755 | 777 |
|
756 | 778 |
schema_null: identifies which schema''s tables to use. the default value is usually fine. |
757 | 779 |
'; |
... | ... | |
773 | 795 |
-- Name: FUNCTION datasource_rm(datasource text, schema_null anyelement); Type: COMMENT; Schema: public; Owner: - |
774 | 796 |
-- |
775 | 797 |
|
776 |
COMMENT ON FUNCTION datasource_rm(datasource text, schema_null anyelement) IS 'secure against renamings of the public schema. |
|
798 |
COMMENT ON FUNCTION datasource_rm(datasource text, schema_null anyelement) IS ' |
|
799 |
secure against renamings of the public schema. |
|
777 | 800 |
|
778 | 801 |
schema_null: identifies which schema''s tables to use. the default value is usually fine. |
779 | 802 |
|
... | ... | |
805 | 828 |
-- Name: FUNCTION datasource_unpublish(datasource text, schema_null anyelement); Type: COMMENT; Schema: public; Owner: - |
806 | 829 |
-- |
807 | 830 |
|
808 |
COMMENT ON FUNCTION datasource_unpublish(datasource text, schema_null anyelement) IS 'secure against renamings of the public schema. |
|
831 |
COMMENT ON FUNCTION datasource_unpublish(datasource text, schema_null anyelement) IS ' |
|
832 |
secure against renamings of the public schema. |
|
809 | 833 |
|
810 | 834 |
schema_null: identifies which schema''s tables to use. the default value is usually fine. |
811 | 835 |
'; |
... | ... | |
850 | 874 |
-- Name: FUNCTION location__pull_forward_from_parent(); Type: COMMENT; Schema: public; Owner: - |
851 | 875 |
-- |
852 | 876 |
|
853 |
COMMENT ON FUNCTION location__pull_forward_from_parent() IS 'see wiki.vegpath.org/Pull-forward'; |
|
877 |
COMMENT ON FUNCTION location__pull_forward_from_parent() IS ' |
|
878 |
see wiki.vegpath.org/Pull-forward |
|
879 |
'; |
|
854 | 880 |
|
855 | 881 |
|
856 | 882 |
-- |
... | ... | |
874 | 900 |
-- Name: FUNCTION location_set_top_plot(); Type: COMMENT; Schema: public; Owner: - |
875 | 901 |
-- |
876 | 902 |
|
877 |
COMMENT ON FUNCTION location_set_top_plot() IS 'see wiki.vegpath.org/Pull-forward'; |
|
903 |
COMMENT ON FUNCTION location_set_top_plot() IS ' |
|
904 |
see wiki.vegpath.org/Pull-forward |
|
905 |
'; |
|
878 | 906 |
|
879 | 907 |
|
880 | 908 |
-- |
... | ... | |
958 | 986 |
-- Name: FUNCTION locationevent_pull_forward_from_parent(); Type: COMMENT; Schema: public; Owner: - |
959 | 987 |
-- |
960 | 988 |
|
961 |
COMMENT ON FUNCTION locationevent_pull_forward_from_parent() IS 'see wiki.vegpath.org/Pull-forward'; |
|
989 |
COMMENT ON FUNCTION locationevent_pull_forward_from_parent() IS ' |
|
990 |
see wiki.vegpath.org/Pull-forward |
|
991 |
'; |
|
962 | 992 |
|
963 | 993 |
|
964 | 994 |
-- |
... | ... | |
984 | 1014 |
-- Name: FUNCTION locationevent_pull_forward_from_parent_for_stratum(); Type: COMMENT; Schema: public; Owner: - |
985 | 1015 |
-- |
986 | 1016 |
|
987 |
COMMENT ON FUNCTION locationevent_pull_forward_from_parent_for_stratum() IS 'see wiki.vegpath.org/Pull-forward'; |
|
1017 |
COMMENT ON FUNCTION locationevent_pull_forward_from_parent_for_stratum() IS ' |
|
1018 |
see wiki.vegpath.org/Pull-forward |
|
1019 |
'; |
|
988 | 1020 |
|
989 | 1021 |
|
990 | 1022 |
-- |
... | ... | |
1118 | 1150 |
-- Name: TABLE place; Type: COMMENT; Schema: public; Owner: - |
1119 | 1151 |
-- |
1120 | 1152 |
|
1121 |
COMMENT ON TABLE place IS 'The full path to a place. Can be either verbatim or accepted. For accepted names, points to the identified place. |
|
1153 |
COMMENT ON TABLE place IS ' |
|
1154 |
The full path to a place. Can be either verbatim or accepted. For accepted names, points to the identified place. |
|
1122 | 1155 |
|
1123 |
To use a custom hierarchy of placenames with no explicit column, point to the lowest-rank placename in placename_id.'; |
|
1156 |
To use a custom hierarchy of placenames with no explicit column, point to the lowest-rank placename in placename_id. |
|
1157 |
'; |
|
1124 | 1158 |
|
1125 | 1159 |
|
1126 | 1160 |
-- |
1127 | 1161 |
-- Name: COLUMN place.matched_place_id; Type: COMMENT; Schema: public; Owner: - |
1128 | 1162 |
-- |
1129 | 1163 |
|
1130 |
COMMENT ON COLUMN place.matched_place_id IS 'The closest match to this place. Places should be linked in a three-level hierarchy of datasource place -> verbatim place -> accepted place. |
|
1164 |
COMMENT ON COLUMN place.matched_place_id IS ' |
|
1165 |
The closest match to this place. Places should be linked in a three-level hierarchy of datasource place -> verbatim place -> accepted place. |
|
1131 | 1166 |
|
1132 |
An accepted place should point to itself in this field. This will happen automatically by setting it to the special value 0.'; |
|
1167 |
An accepted place should point to itself in this field. This will happen automatically by setting it to the special value 0. |
|
1168 |
'; |
|
1133 | 1169 |
|
1134 | 1170 |
|
1135 | 1171 |
-- |
... | ... | |
1292 | 1328 |
-- Name: FUNCTION project_contributors(project_id integer); Type: COMMENT; Schema: public; Owner: - |
1293 | 1329 |
-- |
1294 | 1330 |
|
1295 |
COMMENT ON FUNCTION project_contributors(project_id integer) IS 'usage: array(SELECT project_contributors(...))'; |
|
1331 |
COMMENT ON FUNCTION project_contributors(project_id integer) IS ' |
|
1332 |
usage: array(SELECT project_contributors(...)) |
|
1333 |
'; |
|
1296 | 1334 |
|
1297 | 1335 |
|
1298 | 1336 |
-- |
... | ... | |
1324 | 1362 |
-- Name: FUNCTION publish(schema_null anyelement); Type: COMMENT; Schema: public; Owner: - |
1325 | 1363 |
-- |
1326 | 1364 |
|
1327 |
COMMENT ON FUNCTION publish(schema_null anyelement) IS 'publishes this schema. |
|
1365 |
COMMENT ON FUNCTION publish(schema_null anyelement) IS ' |
|
1366 |
publishes this schema. |
|
1328 | 1367 |
|
1329 | 1368 |
usage: SELECT public_schema.publish() |
1330 | 1369 |
|
... | ... | |
1354 | 1393 |
-- Name: FUNCTION rm(schema_null anyelement); Type: COMMENT; Schema: public; Owner: - |
1355 | 1394 |
-- |
1356 | 1395 |
|
1357 |
COMMENT ON FUNCTION rm(schema_null anyelement) IS 'deletes this schema. |
|
1396 |
COMMENT ON FUNCTION rm(schema_null anyelement) IS ' |
|
1397 |
deletes this schema. |
|
1358 | 1398 |
|
1359 | 1399 |
usage: SELECT public_schema.rm() |
1360 | 1400 |
|
... | ... | |
1631 | 1671 |
-- Name: TABLE taxonlabel; Type: COMMENT; Schema: public; Owner: - |
1632 | 1672 |
-- |
1633 | 1673 |
|
1634 |
COMMENT ON TABLE taxonlabel IS 'A taxon label defined by an entity. Can be at any level in the taxonomic hierarchy. Can be either verbatim or accepted. |
|
1674 |
COMMENT ON TABLE taxonlabel IS ' |
|
1675 |
A taxon label defined by an entity. Can be at any level in the taxonomic hierarchy. Can be either verbatim or accepted. |
|
1635 | 1676 |
|
1636 | 1677 |
"A taxon (plural: taxa) is a group of one (or more) populations of organism(s), which a taxonomist adjudges to be a unit" (http://en.wikipedia.org/wiki/Taxon) |
1637 | 1678 |
|
1638 | 1679 |
Note that taxonepithet stores only one rank (e.g. family) of the full taxonomic name. The higher-level ranks are stored in the taxon label''s chain of parent_id ancestors. |
1639 | 1680 |
|
1640 |
Equivalent to VegBank''s plantConcept and plantName tables, plus plantParent_ID and plantLevel from plantStatus.'; |
|
1681 |
Equivalent to VegBank''s plantConcept and plantName tables, plus plantParent_ID and plantLevel from plantStatus. |
|
1682 |
'; |
|
1641 | 1683 |
|
1642 | 1684 |
|
1643 | 1685 |
-- |
1644 | 1686 |
-- Name: COLUMN taxonlabel.source_id; Type: COMMENT; Schema: public; Owner: - |
1645 | 1687 |
-- |
1646 | 1688 |
|
1647 |
COMMENT ON COLUMN taxonlabel.source_id IS 'The entity that created the taxon label.'; |
|
1689 |
COMMENT ON COLUMN taxonlabel.source_id IS ' |
|
1690 |
The entity that created the taxon label. |
|
1691 |
'; |
|
1648 | 1692 |
|
1649 | 1693 |
|
1650 | 1694 |
-- |
1651 | 1695 |
-- Name: COLUMN taxonlabel.sourceaccessioncode; Type: COMMENT; Schema: public; Owner: - |
1652 | 1696 |
-- |
1653 | 1697 |
|
1654 |
COMMENT ON COLUMN taxonlabel.sourceaccessioncode IS 'The datasource''s identifier for the taxonlabel.'; |
|
1698 |
COMMENT ON COLUMN taxonlabel.sourceaccessioncode IS ' |
|
1699 |
The datasource''s identifier for the taxonlabel. |
|
1700 |
'; |
|
1655 | 1701 |
|
1656 | 1702 |
|
1657 | 1703 |
-- |
1658 | 1704 |
-- Name: COLUMN taxonlabel.canon_label_id; Type: COMMENT; Schema: public; Owner: - |
1659 | 1705 |
-- |
1660 | 1706 |
|
1661 |
COMMENT ON COLUMN taxonlabel.canon_label_id IS 'The canonical taxonlabel for this taxonlabel.'; |
|
1707 |
COMMENT ON COLUMN taxonlabel.canon_label_id IS ' |
|
1708 |
The canonical taxonlabel for this taxonlabel. |
|
1709 |
'; |
|
1662 | 1710 |
|
1663 | 1711 |
|
1664 | 1712 |
-- |
1665 | 1713 |
-- Name: COLUMN taxonlabel.matched_label_id; Type: COMMENT; Schema: public; Owner: - |
1666 | 1714 |
-- |
1667 | 1715 |
|
1668 |
COMMENT ON COLUMN taxonlabel.matched_label_id IS 'The taxonlabel containing the closest match to this taxonlabel. taxonlabels should be linked in a four-level hierarchy of datasource label -> parsed label -> matched label -> accepted label. A previously-accepted name''s label should be further linked to the synonym that has replaced it. |
|
1716 |
COMMENT ON COLUMN taxonlabel.matched_label_id IS ' |
|
1717 |
The taxonlabel containing the closest match to this taxonlabel. taxonlabels should be linked in a four-level hierarchy of datasource label -> parsed label -> matched label -> accepted label. A previously-accepted name''s label should be further linked to the synonym that has replaced it. |
|
1669 | 1718 |
|
1670 | 1719 |
To indicate a synonym between taxonlabels of different sources, choose one taxonlabel to be authoritative and point the other taxonlabel to it using this field. |
1671 | 1720 |
|
1672 |
An accepted name should point to itself in this field. This will happen automatically by setting it to the special value 0.'; |
|
1721 |
An accepted name should point to itself in this field. This will happen automatically by setting it to the special value 0. |
|
1722 |
'; |
|
1673 | 1723 |
|
1674 | 1724 |
|
1675 | 1725 |
-- |
1676 | 1726 |
-- Name: COLUMN taxonlabel.parent_id; Type: COMMENT; Schema: public; Owner: - |
1677 | 1727 |
-- |
1678 | 1728 |
|
1679 |
COMMENT ON COLUMN taxonlabel.parent_id IS 'The parent taxonlabel. Note that while a taxon *name* may have multiple parents, a taxonlabel *instance* has only one, based on the creator''s opinion of where that taxonlabel goes in the taxonomic hierarchy.'; |
|
1729 |
COMMENT ON COLUMN taxonlabel.parent_id IS ' |
|
1730 |
The parent taxonlabel. Note that while a taxon *name* may have multiple parents, a taxonlabel *instance* has only one, based on the creator''s opinion of where that taxonlabel goes in the taxonomic hierarchy. |
|
1731 |
'; |
|
1680 | 1732 |
|
1681 | 1733 |
|
1682 | 1734 |
-- |
1683 | 1735 |
-- Name: COLUMN taxonlabel.taxonepithet; Type: COMMENT; Schema: public; Owner: - |
1684 | 1736 |
-- |
1685 | 1737 |
|
1686 |
COMMENT ON COLUMN taxonlabel.taxonepithet IS 'The epithet of the taxon within its parent taxon. This is the lowest-rank portion of this taxonlabel''s full taxonomic name, if it has one.'; |
|
1738 |
COMMENT ON COLUMN taxonlabel.taxonepithet IS ' |
|
1739 |
The epithet of the taxon within its parent taxon. This is the lowest-rank portion of this taxonlabel''s full taxonomic name, if it has one. |
|
1740 |
'; |
|
1687 | 1741 |
|
1688 | 1742 |
|
1689 | 1743 |
-- |
1690 | 1744 |
-- Name: COLUMN taxonlabel.rank; Type: COMMENT; Schema: public; Owner: - |
1691 | 1745 |
-- |
1692 | 1746 |
|
1693 |
COMMENT ON COLUMN taxonlabel.rank IS 'The taxon''s level in the taxonomic hierarchy, standardized to a closed list. Even if you specify a custom verbatimrank in taxonverbatim, you should also specify a closest-match rank from the taxonrank closed list.'; |
|
1747 |
COMMENT ON COLUMN taxonlabel.rank IS ' |
|
1748 |
The taxon''s level in the taxonomic hierarchy, standardized to a closed list. Even if you specify a custom verbatimrank in taxonverbatim, you should also specify a closest-match rank from the taxonrank closed list. |
|
1749 |
'; |
|
1694 | 1750 |
|
1695 | 1751 |
|
1696 | 1752 |
-- |
1697 | 1753 |
-- Name: COLUMN taxonlabel.taxonomicname; Type: COMMENT; Schema: public; Owner: - |
1698 | 1754 |
-- |
1699 | 1755 |
|
1700 |
COMMENT ON COLUMN taxonlabel.taxonomicname IS 'The concatenated taxonomic name which uniquely identifies this taxon, including the family and author of that name. Must be unique within the datasource. |
|
1756 |
COMMENT ON COLUMN taxonlabel.taxonomicname IS ' |
|
1757 |
The concatenated taxonomic name which uniquely identifies this taxon, including the family and author of that name. Must be unique within the datasource. |
|
1701 | 1758 |
|
1702 |
Equivalent to Darwin Core''s scientificName.'; |
|
1759 |
Equivalent to Darwin Core''s scientificName. |
|
1760 |
'; |
|
1703 | 1761 |
|
1704 | 1762 |
|
1705 | 1763 |
-- |
... | ... | |
2027 | 2085 |
-- Name: TABLE aggregateoccurrence; Type: COMMENT; Schema: public; Owner: - |
2028 | 2086 |
-- |
2029 | 2087 |
|
2030 |
COMMENT ON TABLE aggregateoccurrence IS 'Equivalent to VegBank''s taxonimportance table.'; |
|
2088 |
COMMENT ON TABLE aggregateoccurrence IS ' |
|
2089 |
Equivalent to VegBank''s taxonimportance table. |
|
2090 |
'; |
|
2031 | 2091 |
|
2032 | 2092 |
|
2033 | 2093 |
-- |
2034 | 2094 |
-- Name: COLUMN aggregateoccurrence.linecover_m; Type: COMMENT; Schema: public; Owner: - |
2035 | 2095 |
-- |
2036 | 2096 |
|
2037 |
COMMENT ON COLUMN aggregateoccurrence.linecover_m IS 'The distance in m along which this occurrence intercepts a line subplot.'; |
|
2097 |
COMMENT ON COLUMN aggregateoccurrence.linecover_m IS ' |
|
2098 |
The distance in m along which this occurrence intercepts a line subplot. |
|
2099 |
'; |
|
2038 | 2100 |
|
2039 | 2101 |
|
2040 | 2102 |
-- |
2041 | 2103 |
-- Name: COLUMN aggregateoccurrence.occurrencestatus_dwc; Type: COMMENT; Schema: public; Owner: - |
2042 | 2104 |
-- |
2043 | 2105 |
|
2044 |
COMMENT ON COLUMN aggregateoccurrence.occurrencestatus_dwc IS 'The extent to which the taxon is present. See <http://code.google.com/p/darwincore/wiki/Occurrence#occurrenceStatus>.'; |
|
2106 |
COMMENT ON COLUMN aggregateoccurrence.occurrencestatus_dwc IS ' |
|
2107 |
The extent to which the taxon is present. See <http://code.google.com/p/darwincore/wiki/Occurrence#occurrenceStatus>. |
|
2108 |
'; |
|
2045 | 2109 |
|
2046 | 2110 |
|
2047 | 2111 |
-- |
... | ... | |
2226 | 2290 |
-- Name: COLUMN coordinates.footprintgeometry_dwc; Type: COMMENT; Schema: public; Owner: - |
2227 | 2291 |
-- |
2228 | 2292 |
|
2229 |
COMMENT ON COLUMN coordinates.footprintgeometry_dwc IS 'DwC''s footprintWKT field. "A Well-Known Text (WKT) representation of the shape (footprint, geometry) that defines the Location" (http://rs.tdwg.org/dwc/terms/#footprintWKT).'; |
|
2293 |
COMMENT ON COLUMN coordinates.footprintgeometry_dwc IS ' |
|
2294 |
DwC''s footprintWKT field. "A Well-Known Text (WKT) representation of the shape (footprint, geometry) that defines the Location" (http://rs.tdwg.org/dwc/terms/#footprintWKT). |
|
2295 |
'; |
|
2230 | 2296 |
|
2231 | 2297 |
|
2232 | 2298 |
-- |
2233 | 2299 |
-- Name: COLUMN coordinates.coordsaccuracy_m; Type: COMMENT; Schema: public; Owner: - |
2234 | 2300 |
-- |
2235 | 2301 |
|
2236 |
COMMENT ON COLUMN coordinates.coordsaccuracy_m IS 'Accuracy of latitude/longitude or footprint geometry, in meters. This should generally be at least 1 m, which is the accuracy of the best GPSes.'; |
|
2302 |
COMMENT ON COLUMN coordinates.coordsaccuracy_m IS ' |
|
2303 |
Accuracy of latitude/longitude or footprint geometry, in meters. This should generally be at least 1 m, which is the accuracy of the best GPSes. |
|
2304 |
'; |
|
2237 | 2305 |
|
2238 | 2306 |
|
2239 | 2307 |
-- |
... | ... | |
2250 | 2318 |
-- Name: TABLE cultivated_family_locations; Type: COMMENT; Schema: public; Owner: - |
2251 | 2319 |
-- |
2252 | 2320 |
|
2253 |
COMMENT ON TABLE cultivated_family_locations IS 'from sftp://nimoy.nceas.ucsb.edu/home/bien/bien2_scripts/geoscrub/cultivated/cult_by_taxon/flag_by_taxa.inc'; |
|
2321 |
COMMENT ON TABLE cultivated_family_locations IS ' |
|
2322 |
from sftp://nimoy.nceas.ucsb.edu/home/bien/bien2_scripts/geoscrub/cultivated/cult_by_taxon/flag_by_taxa.inc |
|
2323 |
'; |
|
2254 | 2324 |
|
2255 | 2325 |
|
2256 | 2326 |
-- |
... | ... | |
2321 | 2391 |
-- Name: TABLE location; Type: COMMENT; Schema: public; Owner: - |
2322 | 2392 |
-- |
2323 | 2393 |
|
2324 |
COMMENT ON TABLE location IS 'Equivalent to VegBank''s plot table.'; |
|
2394 |
COMMENT ON TABLE location IS ' |
|
2395 |
Equivalent to VegBank''s plot table. |
|
2396 |
'; |
|
2325 | 2397 |
|
2326 | 2398 |
|
2327 | 2399 |
-- |
2328 | 2400 |
-- Name: COLUMN location.top_plot; Type: COMMENT; Schema: public; Owner: - |
2329 | 2401 |
-- |
2330 | 2402 |
|
2331 |
COMMENT ON COLUMN location.top_plot IS 'autopopulated'; |
|
2403 |
COMMENT ON COLUMN location.top_plot IS ' |
|
2404 |
autopopulated |
|
2405 |
'; |
|
2332 | 2406 |
|
2333 | 2407 |
|
2334 | 2408 |
-- |
... | ... | |
2421 | 2495 |
-- Name: TABLE locationevent; Type: COMMENT; Schema: public; Owner: - |
2422 | 2496 |
-- |
2423 | 2497 |
|
2424 |
COMMENT ON TABLE locationevent IS 'Equivalent to VegBank''s observation table.'; |
|
2498 |
COMMENT ON TABLE locationevent IS ' |
|
2499 |
Equivalent to VegBank''s observation table. |
|
2500 |
'; |
|
2425 | 2501 |
|
2426 | 2502 |
|
2427 | 2503 |
-- |
... | ... | |
2461 | 2537 |
-- Name: TABLE method; Type: COMMENT; Schema: public; Owner: - |
2462 | 2538 |
-- |
2463 | 2539 |
|
2464 |
COMMENT ON TABLE method IS 'A method for sampling and aggregating plants. Replaces VegBank''s stratummethod and stratumtype tables. |
|
2540 |
COMMENT ON TABLE method IS ' |
|
2541 |
A method for sampling and aggregating plants. Replaces VegBank''s stratummethod and stratumtype tables. |
|
2465 | 2542 |
|
2466 |
Important: *All* length- or area-related measurements throughout VegBIEN must be converted to SI base units, e.g. cm -> m, ha -> m^2.**'; |
|
2543 |
Important: *All* length- or area-related measurements throughout VegBIEN must be converted to SI base units, e.g. cm -> m, ha -> m^2.** |
|
2544 |
'; |
|
2467 | 2545 |
|
2468 | 2546 |
|
2469 | 2547 |
-- |
2470 | 2548 |
-- Name: COLUMN method.source_id; Type: COMMENT; Schema: public; Owner: - |
2471 | 2549 |
-- |
2472 | 2550 |
|
2473 |
COMMENT ON COLUMN method.source_id IS 'Use the source table (e.g. source.url) to store a link to the original plain text description.'; |
|
2551 |
COMMENT ON COLUMN method.source_id IS ' |
|
2552 |
Use the source table (e.g. source.url) to store a link to the original plain text description. |
|
2553 |
'; |
|
2474 | 2554 |
|
2475 | 2555 |
|
2476 | 2556 |
-- |
2477 | 2557 |
-- Name: COLUMN method.name; Type: COMMENT; Schema: public; Owner: - |
2478 | 2558 |
-- |
2479 | 2559 |
|
2480 |
COMMENT ON COLUMN method.name IS 'A short name for the set of methods used. Although there is no existing standard, many names are widely used, and could be useful for finding plots with similar methodology.'; |
|
2560 |
COMMENT ON COLUMN method.name IS ' |
|
2561 |
A short name for the set of methods used. Although there is no existing standard, many names are widely used, and could be useful for finding plots with similar methodology. |
|
2562 |
'; |
|
2481 | 2563 |
|
2482 | 2564 |
|
2483 | 2565 |
-- |
2484 | 2566 |
-- Name: COLUMN method.description; Type: COMMENT; Schema: public; Owner: - |
2485 | 2567 |
-- |
2486 | 2568 |
|
2487 |
COMMENT ON COLUMN method.description IS 'Additional metadata helpful for understanding how the data were collected during the observation event.'; |
|
2569 |
COMMENT ON COLUMN method.description IS ' |
|
2570 |
Additional metadata helpful for understanding how the data were collected during the observation event. |
|
2571 |
'; |
|
2488 | 2572 |
|
2489 | 2573 |
|
2490 | 2574 |
-- |
2491 | 2575 |
-- Name: COLUMN method.diameterheight_m; Type: COMMENT; Schema: public; Owner: - |
2492 | 2576 |
-- |
2493 | 2577 |
|
2494 |
COMMENT ON COLUMN method.diameterheight_m IS 'The height in m at which the diameter is measured. e.g. 1.37 m for breast height (DBH).'; |
|
2578 |
COMMENT ON COLUMN method.diameterheight_m IS ' |
|
2579 |
The height in m at which the diameter is measured. e.g. 1.37 m for breast height (DBH). |
|
2580 |
'; |
|
2495 | 2581 |
|
2496 | 2582 |
|
2497 | 2583 |
-- |
2498 | 2584 |
-- Name: COLUMN method.mindiameter_m; Type: COMMENT; Schema: public; Owner: - |
2499 | 2585 |
-- |
2500 | 2586 |
|
2501 |
COMMENT ON COLUMN method.mindiameter_m IS 'Lower diameter limit in m for inclusion of a tree.'; |
|
2587 |
COMMENT ON COLUMN method.mindiameter_m IS ' |
|
2588 |
Lower diameter limit in m for inclusion of a tree. |
|
2589 |
'; |
|
2502 | 2590 |
|
2503 | 2591 |
|
2504 | 2592 |
-- |
2505 | 2593 |
-- Name: COLUMN method.maxdiameter_m; Type: COMMENT; Schema: public; Owner: - |
2506 | 2594 |
-- |
2507 | 2595 |
|
2508 |
COMMENT ON COLUMN method.maxdiameter_m IS 'Upper diameter limit in m for inclusion of a tree.'; |
|
2596 |
COMMENT ON COLUMN method.maxdiameter_m IS ' |
|
2597 |
Upper diameter limit in m for inclusion of a tree. |
|
2598 |
'; |
|
2509 | 2599 |
|
2510 | 2600 |
|
2511 | 2601 |
-- |
2512 | 2602 |
-- Name: COLUMN method.minheight_m; Type: COMMENT; Schema: public; Owner: - |
2513 | 2603 |
-- |
2514 | 2604 |
|
2515 |
COMMENT ON COLUMN method.minheight_m IS 'Lower height limit in m for inclusion of a tree.'; |
|
2605 |
COMMENT ON COLUMN method.minheight_m IS ' |
|
2606 |
Lower height limit in m for inclusion of a tree. |
|
2607 |
'; |
|
2516 | 2608 |
|
2517 | 2609 |
|
2518 | 2610 |
-- |
2519 | 2611 |
-- Name: COLUMN method.maxheight_m; Type: COMMENT; Schema: public; Owner: - |
2520 | 2612 |
-- |
2521 | 2613 |
|
2522 |
COMMENT ON COLUMN method.maxheight_m IS 'Upper height limit in m for inclusion of a tree.'; |
|
2614 |
COMMENT ON COLUMN method.maxheight_m IS ' |
|
2615 |
Upper height limit in m for inclusion of a tree. |
|
2616 |
'; |
|
2523 | 2617 |
|
2524 | 2618 |
|
2525 | 2619 |
-- |
2526 | 2620 |
-- Name: COLUMN method.observationtype; Type: COMMENT; Schema: public; Owner: - |
2527 | 2621 |
-- |
2528 | 2622 |
|
2529 |
COMMENT ON COLUMN method.observationtype IS 'values: aggregate, individual, both'; |
|
2623 |
COMMENT ON COLUMN method.observationtype IS ' |
|
2624 |
values: aggregate, individual, both |
|
2625 |
'; |
|
2530 | 2626 |
|
2531 | 2627 |
|
2532 | 2628 |
-- |
2533 | 2629 |
-- Name: COLUMN method.observationmeasure; Type: COMMENT; Schema: public; Owner: - |
2534 | 2630 |
-- |
2535 | 2631 |
|
2536 |
COMMENT ON COLUMN method.observationmeasure IS 'e.g. count, cover, presence, points-intercepted, distance-intercepted'; |
|
2632 |
COMMENT ON COLUMN method.observationmeasure IS ' |
|
2633 |
e.g. count, cover, presence, points-intercepted, distance-intercepted |
|
2634 |
'; |
|
2537 | 2635 |
|
2538 | 2636 |
|
2539 | 2637 |
-- |
2540 | 2638 |
-- Name: COLUMN method.samplingfactor; Type: COMMENT; Schema: public; Owner: - |
2541 | 2639 |
-- |
2542 | 2640 |
|
2543 |
COMMENT ON COLUMN method.samplingfactor IS 'Here, we could explicitly say that we are sampling a particular area by a different size representative sample area. Simply divide the number of plants connected to this record by this value to get the extrapolated (or interpolated) number of plants in the area in question. This explicitly notes a subsample or supersample.'; |
|
2641 |
COMMENT ON COLUMN method.samplingfactor IS ' |
|
2642 |
Here, we could explicitly say that we are sampling a particular area by a different size representative sample area. Simply divide the number of plants connected to this record by this value to get the extrapolated (or interpolated) number of plants in the area in question. This explicitly notes a subsample or supersample. |
|
2643 |
'; |
|
2544 | 2644 |
|
2545 | 2645 |
|
2546 | 2646 |
-- |
2547 | 2647 |
-- Name: COLUMN method.coverbasis; Type: COMMENT; Schema: public; Owner: - |
2548 | 2648 |
-- |
2549 | 2649 |
|
2550 |
COMMENT ON COLUMN method.coverbasis IS 'Were cover values for the total taxon list collected from one contiguous area or dispersed subplots? |
|
2650 |
COMMENT ON COLUMN method.coverbasis IS ' |
|
2651 |
Were cover values for the total taxon list collected from one contiguous area or dispersed subplots? |
|
2551 | 2652 |
|
2552 | 2653 |
entire: Cover based on observation of an entire plot consisting of a single contiguous area of land. subplot-contiguous: Cover based on observation of a single contiguous area of land of less spatial extent than the entire plot. |
2553 | 2654 |
|
... | ... | |
2567 | 2668 |
-- Name: COLUMN method.stemsamplemethod; Type: COMMENT; Schema: public; Owner: - |
2568 | 2669 |
-- |
2569 | 2670 |
|
2570 |
COMMENT ON COLUMN method.stemsamplemethod IS 'The method used to obtain basal area or tree stem data (e.g., full census, point quarter, random pairs, Bitterlich, other). |
|
2671 |
COMMENT ON COLUMN method.stemsamplemethod IS ' |
|
2672 |
The method used to obtain basal area or tree stem data (e.g., full census, point quarter, random pairs, Bitterlich, other). |
|
2571 | 2673 |
|
2572 | 2674 |
e.g.: |
2573 | 2675 |
Full census |
... | ... | |
2575 | 2677 |
Random pairs |
2576 | 2678 |
Bitterlich |
2577 | 2679 |
Other |
2578 |
Subsample census'; |
|
2680 |
Subsample census |
|
2681 |
'; |
|
2579 | 2682 |
|
2580 | 2683 |
|
2581 | 2684 |
-- |
2582 | 2685 |
-- Name: COLUMN method.shape; Type: COMMENT; Schema: public; Owner: - |
2583 | 2686 |
-- |
2584 | 2687 |
|
2585 |
COMMENT ON COLUMN method.shape IS 'e.g. square, rectangle, circle, line, point, other'; |
|
2688 |
COMMENT ON COLUMN method.shape IS ' |
|
2689 |
e.g. square, rectangle, circle, line, point, other |
|
2690 |
'; |
|
2586 | 2691 |
|
2587 | 2692 |
|
2588 | 2693 |
-- |
2589 | 2694 |
-- Name: COLUMN method.samplearea_m2; Type: COMMENT; Schema: public; Owner: - |
2590 | 2695 |
-- |
2591 | 2696 |
|
2592 |
COMMENT ON COLUMN method.samplearea_m2 IS 'The total surface area used for cover estimates and for which a complete species list is provided. If subplots were used, this would be the total area of the subplots without interstitial space.'; |
|
2697 |
COMMENT ON COLUMN method.samplearea_m2 IS ' |
|
2698 |
The total surface area used for cover estimates and for which a complete species list is provided. If subplots were used, this would be the total area of the subplots without interstitial space. |
|
2699 |
'; |
|
2593 | 2700 |
|
2594 | 2701 |
|
2595 | 2702 |
-- |
2596 | 2703 |
-- Name: COLUMN method.subplotspacing_m; Type: COMMENT; Schema: public; Owner: - |
2597 | 2704 |
-- |
2598 | 2705 |
|
2599 |
COMMENT ON COLUMN method.subplotspacing_m IS 'Spacing in m between adjacent subplots, lines (line-intercept data), or points (point-intercept data).'; |
|
2706 |
COMMENT ON COLUMN method.subplotspacing_m IS ' |
|
2707 |
Spacing in m between adjacent subplots, lines (line-intercept data), or points (point-intercept data). |
|
2708 |
'; |
|
2600 | 2709 |
|
2601 | 2710 |
|
2602 | 2711 |
-- |
2603 | 2712 |
-- Name: COLUMN method.subplotmethod_id; Type: COMMENT; Schema: public; Owner: - |
2604 | 2713 |
-- |
2605 | 2714 |
|
2606 |
COMMENT ON COLUMN method.subplotmethod_id IS 'Method to use for each subplot/line/point, which will specify subplot size, line length, etc.'; |
|
2715 |
COMMENT ON COLUMN method.subplotmethod_id IS ' |
|
2716 |
Method to use for each subplot/line/point, which will specify subplot size, line length, etc. |
|
2717 |
'; |
|
2607 | 2718 |
|
2608 | 2719 |
|
2609 | 2720 |
-- |
2610 | 2721 |
-- Name: COLUMN method.pointsperline; Type: COMMENT; Schema: public; Owner: - |
2611 | 2722 |
-- |
2612 | 2723 |
|
2613 |
COMMENT ON COLUMN method.pointsperline IS 'The number of points sampled on each line subplot for point-intercept data.'; |
|
2724 |
COMMENT ON COLUMN method.pointsperline IS ' |
|
2725 |
The number of points sampled on each line subplot for point-intercept data. |
|
2726 |
'; |
|
2614 | 2727 |
|
2615 | 2728 |
|
2616 | 2729 |
-- |
... | ... | |
2661 | 2774 |
-- Name: TABLE plantobservation; Type: COMMENT; Schema: public; Owner: - |
2662 | 2775 |
-- |
2663 | 2776 |
|
2664 |
COMMENT ON TABLE plantobservation IS 'Equivalent to VegBank''s stemcount table.'; |
|
2777 |
COMMENT ON TABLE plantobservation IS ' |
|
2778 |
Equivalent to VegBank''s stemcount table. |
|
2779 |
'; |
|
2665 | 2780 |
|
2666 | 2781 |
|
2667 | 2782 |
-- |
2668 | 2783 |
-- Name: COLUMN plantobservation.authorplantcode; Type: COMMENT; Schema: public; Owner: - |
2669 | 2784 |
-- |
2670 | 2785 |
|
2671 |
COMMENT ON COLUMN plantobservation.authorplantcode IS 'The number of the organism within the data collection or event.'; |
|
2786 |
COMMENT ON COLUMN plantobservation.authorplantcode IS ' |
|
2787 |
The number of the organism within the data collection or event. |
|
2788 |
'; |
|
2672 | 2789 |
|
2673 | 2790 |
|
2674 | 2791 |
-- |
... | ... | |
2808 | 2925 |
-- Name: TABLE specimenreplicate; Type: COMMENT; Schema: public; Owner: - |
2809 | 2926 |
-- |
2810 | 2927 |
|
2811 |
COMMENT ON TABLE specimenreplicate IS 'A herbarium''s replicate of a specimen. Contains Darwin Core specimen data.'; |
|
2928 |
COMMENT ON TABLE specimenreplicate IS ' |
|
2929 |
A herbarium''s replicate of a specimen. Contains Darwin Core specimen data. |
|
2930 |
'; |
|
2812 | 2931 |
|
2813 | 2932 |
|
2814 | 2933 |
-- |
2815 | 2934 |
-- Name: COLUMN specimenreplicate.institution_id; Type: COMMENT; Schema: public; Owner: - |
2816 | 2935 |
-- |
2817 | 2936 |
|
2818 |
COMMENT ON COLUMN specimenreplicate.institution_id IS 'The institution (such as a museum) that the specimenreplicate is from.'; |
|
2937 |
COMMENT ON COLUMN specimenreplicate.institution_id IS ' |
|
2938 |
The institution (such as a museum) that the specimenreplicate is from. |
|
2939 |
'; |
|
2819 | 2940 |
|
2820 | 2941 |
|
2821 | 2942 |
-- |
2822 | 2943 |
-- Name: COLUMN specimenreplicate.collectioncode_dwc; Type: COMMENT; Schema: public; Owner: - |
2823 | 2944 |
-- |
2824 | 2945 |
|
2825 |
COMMENT ON COLUMN specimenreplicate.collectioncode_dwc IS 'The code for the collection that the specimenreplicate is from.'; |
|
2946 |
COMMENT ON COLUMN specimenreplicate.collectioncode_dwc IS ' |
|
2947 |
The code for the collection that the specimenreplicate is from. |
|
2948 |
'; |
|
2826 | 2949 |
|
2827 | 2950 |
|
2828 | 2951 |
-- |
... | ... | |
2855 | 2978 |
-- Name: TABLE stemobservation; Type: COMMENT; Schema: public; Owner: - |
2856 | 2979 |
-- |
2857 | 2980 |
|
2858 |
COMMENT ON TABLE stemobservation IS 'Equivalent to VegBank''s stemlocation table.'; |
|
2981 |
COMMENT ON TABLE stemobservation IS ' |
|
2982 |
Equivalent to VegBank''s stemlocation table. |
|
2983 |
'; |
|
2859 | 2984 |
|
2860 | 2985 |
|
2861 | 2986 |
-- |
2862 | 2987 |
-- Name: COLUMN stemobservation.tags; Type: COMMENT; Schema: public; Owner: - |
2863 | 2988 |
-- |
2864 | 2989 |
|
2865 |
COMMENT ON COLUMN stemobservation.tags IS 'Stores all tags when multiple tags provided. Older tags go first.'; |
|
2990 |
COMMENT ON COLUMN stemobservation.tags IS ' |
|
2991 |
Stores all tags when multiple tags provided. Older tags go first. |
|
2992 |
'; |
|
2866 | 2993 |
|
2867 | 2994 |
|
2868 | 2995 |
-- |
... | ... | |
2894 | 3021 |
-- Name: TABLE taxondetermination; Type: COMMENT; Schema: public; Owner: - |
2895 | 3022 |
-- |
2896 | 3023 |
|
2897 |
COMMENT ON TABLE taxondetermination IS 'Equivalent to VegBank''s taxoninterpretation table.'; |
|
3024 |
COMMENT ON TABLE taxondetermination IS ' |
|
3025 |
Equivalent to VegBank''s taxoninterpretation table. |
|
3026 |
'; |
|
2898 | 3027 |
|
2899 | 3028 |
|
2900 | 3029 |
-- |
... | ... | |
2920 | 3049 |
-- Name: TABLE taxonoccurrence; Type: COMMENT; Schema: public; Owner: - |
2921 | 3050 |
-- |
2922 | 3051 |
|
2923 |
COMMENT ON TABLE taxonoccurrence IS 'Equivalent to VegBank''s taxonobservation table.'; |
|
3052 |
COMMENT ON TABLE taxonoccurrence IS ' |
|
3053 |
Equivalent to VegBank''s taxonobservation table. |
|
3054 |
'; |
|
2924 | 3055 |
|
2925 | 3056 |
|
2926 | 3057 |
-- |
2927 | 3058 |
-- Name: COLUMN taxonoccurrence.iscultivated; Type: COMMENT; Schema: public; Owner: - |
2928 | 3059 |
-- |
2929 | 3060 |
|
2930 |
COMMENT ON COLUMN taxonoccurrence.iscultivated IS 'cultivated or wild'; |
|
3061 |
COMMENT ON COLUMN taxonoccurrence.iscultivated IS ' |
|
3062 |
cultivated or wild |
|
3063 |
'; |
|
2931 | 3064 |
|
2932 | 3065 |
|
2933 | 3066 |
-- |
2934 | 3067 |
-- Name: COLUMN taxonoccurrence.cultivatedbasis; Type: COMMENT; Schema: public; Owner: - |
2935 | 3068 |
-- |
2936 | 3069 |
|
2937 |
COMMENT ON COLUMN taxonoccurrence.cultivatedbasis IS 'The reason why a taxonoccurrence was marked as cultivated (or not).'; |
|
3070 |
COMMENT ON COLUMN taxonoccurrence.cultivatedbasis IS ' |
|
3071 |
The reason why a taxonoccurrence was marked as cultivated (or not). |
|
3072 |
'; |
|
2938 | 3073 |
|
2939 | 3074 |
|
2940 | 3075 |
-- |
2941 | 3076 |
-- Name: COLUMN taxonoccurrence.isnative; Type: COMMENT; Schema: public; Owner: - |
2942 | 3077 |
-- |
2943 | 3078 |
|
2944 |
COMMENT ON COLUMN taxonoccurrence.isnative IS 'native or exotic'; |
|
3079 |
COMMENT ON COLUMN taxonoccurrence.isnative IS ' |
|
3080 |
native or exotic |
|
3081 |
'; |
|
2945 | 3082 |
|
2946 | 3083 |
|
2947 | 3084 |
-- |
... | ... | |
2971 | 3108 |
-- Name: TABLE taxonverbatim; Type: COMMENT; Schema: public; Owner: - |
2972 | 3109 |
-- |
2973 | 3110 |
|
2974 |
COMMENT ON TABLE taxonverbatim IS 'Component parts of the taxonlabel. Contains the datasource''s original taxonomic name components, as well as any parsed components produced by name resolution.'; |
|
3111 |
COMMENT ON TABLE taxonverbatim IS ' |
|
3112 |
Component parts of the taxonlabel. Contains the datasource''s original taxonomic name components, as well as any parsed components produced by name resolution. |
|
3113 |
'; |
|
2975 | 3114 |
|
2976 | 3115 |
|
2977 | 3116 |
-- |
2978 | 3117 |
-- Name: COLUMN taxonverbatim.verbatimrank; Type: COMMENT; Schema: public; Owner: - |
2979 | 3118 |
-- |
2980 | 3119 |
|
2981 |
COMMENT ON COLUMN taxonverbatim.verbatimrank IS 'The taxon''s verbatim level in the taxonomic hierarchy. Does not need to be in the taxonrank closed list.'; |
|
3120 |
COMMENT ON COLUMN taxonverbatim.verbatimrank IS ' |
|
3121 |
The taxon''s verbatim level in the taxonomic hierarchy. Does not need to be in the taxonrank closed list. |
|
3122 |
'; |
|
2982 | 3123 |
|
2983 | 3124 |
|
2984 | 3125 |
-- |
2985 | 3126 |
-- Name: COLUMN taxonverbatim.taxonomicname; Type: COMMENT; Schema: public; Owner: - |
2986 | 3127 |
-- |
2987 | 3128 |
|
2988 |
COMMENT ON COLUMN taxonverbatim.taxonomicname IS 'The full taxonomic name which uniquely identifies this taxon, including the author of that name. The family should be omitted if possible. |
|
3129 |
COMMENT ON COLUMN taxonverbatim.taxonomicname IS ' |
|
3130 |
The full taxonomic name which uniquely identifies this taxon, including the author of that name. The family should be omitted if possible. |
|
2989 | 3131 |
|
2990 |
Equivalent to Darwin Core''s scientificName.'; |
|
3132 |
Equivalent to Darwin Core''s scientificName. |
|
3133 |
'; |
|
2991 | 3134 |
|
2992 | 3135 |
|
2993 | 3136 |
-- |
2994 | 3137 |
-- Name: COLUMN taxonverbatim.taxonname; Type: COMMENT; Schema: public; Owner: - |
2995 | 3138 |
-- |
2996 | 3139 |
|
2997 |
COMMENT ON COLUMN taxonverbatim.taxonname IS 'The taxonomic name without the author. The family should be omitted if possible.'; |
|
3140 |
COMMENT ON COLUMN taxonverbatim.taxonname IS ' |
|
3141 |
The taxonomic name without the author. The family should be omitted if possible. |
|
3142 |
'; |
|
2998 | 3143 |
|
2999 | 3144 |
|
3000 | 3145 |
-- |
3001 | 3146 |
-- Name: COLUMN taxonverbatim.author; Type: COMMENT; Schema: public; Owner: - |
3002 | 3147 |
-- |
3003 | 3148 |
|
3004 |
COMMENT ON COLUMN taxonverbatim.author IS 'The author of the taxonomic name. |
|
3149 |
COMMENT ON COLUMN taxonverbatim.author IS ' |
|
3150 |
The author of the taxonomic name. |
|
3005 | 3151 |
|
3006 |
Equivalent to Darwin Core''s scientificNameAuthorship.'; |
|
3152 |
Equivalent to Darwin Core''s scientificNameAuthorship. |
|
3153 |
'; |
|
3007 | 3154 |
|
3008 | 3155 |
|
3009 | 3156 |
-- |
3010 | 3157 |
-- Name: COLUMN taxonverbatim.family; Type: COMMENT; Schema: public; Owner: - |
3011 | 3158 |
-- |
3012 | 3159 |
|
3013 |
COMMENT ON COLUMN taxonverbatim.family IS 'The family of the taxonomic name. This is a cached field for easy querying; this should also be stored in taxonlabel at the appropriate rank.'; |
|
3160 |
COMMENT ON COLUMN taxonverbatim.family IS ' |
|
3161 |
The family of the taxonomic name. This is a cached field for easy querying; this should also be stored in taxonlabel at the appropriate rank. |
|
3162 |
'; |
|
3014 | 3163 |
|
3015 | 3164 |
|
3016 | 3165 |
-- |
3017 | 3166 |
-- Name: COLUMN taxonverbatim.genus; Type: COMMENT; Schema: public; Owner: - |
3018 | 3167 |
-- |
3019 | 3168 |
|
3020 |
COMMENT ON COLUMN taxonverbatim.genus IS 'The genus portion of the taxonomic name. This is a cached field for easy querying; this should also be stored in taxonlabel at the appropriate rank.'; |
|
3169 |
COMMENT ON COLUMN taxonverbatim.genus IS ' |
|
3170 |
The genus portion of the taxonomic name. This is a cached field for easy querying; this should also be stored in taxonlabel at the appropriate rank. |
|
3171 |
'; |
|
3021 | 3172 |
|
3022 | 3173 |
|
3023 | 3174 |
-- |
3024 | 3175 |
-- Name: COLUMN taxonverbatim.specific_epithet; Type: COMMENT; Schema: public; Owner: - |
3025 | 3176 |
-- |
3026 | 3177 |
|
3027 |
COMMENT ON COLUMN taxonverbatim.specific_epithet IS 'The specific epithet portion of the taxonomic name. This is a cached field for easy querying; this should also be stored in taxonlabel at the appropriate rank.'; |
|
3178 |
COMMENT ON COLUMN taxonverbatim.specific_epithet IS ' |
|
3179 |
The specific epithet portion of the taxonomic name. This is a cached field for easy querying; this should also be stored in taxonlabel at the appropriate rank. |
|
3180 |
'; |
|
3028 | 3181 |
|
3029 | 3182 |
|
3030 | 3183 |
-- |
3031 | 3184 |
-- Name: COLUMN taxonverbatim.morphospecies; Type: COMMENT; Schema: public; Owner: - |
3032 | 3185 |
-- |
3033 | 3186 |
|
3034 |
COMMENT ON COLUMN taxonverbatim.morphospecies IS 'The morphospecies suffix.'; |
|
3187 |
COMMENT ON COLUMN taxonverbatim.morphospecies IS ' |
|
3188 |
The morphospecies suffix. |
|
3189 |
'; |
|
3035 | 3190 |
|
3036 | 3191 |
|
3037 | 3192 |
-- |
... | ... | |
3145 | 3300 |
-- Name: VIEW analytical_stem_view; Type: COMMENT; Schema: public; Owner: - |
3146 | 3301 |
-- |
3147 | 3302 |
|
3148 |
COMMENT ON VIEW analytical_stem_view IS 'after updating this: |
|
3303 |
COMMENT ON VIEW analytical_stem_view IS ' |
|
3304 |
after updating this: |
|
3149 | 3305 |
SELECT sync_analytical_stem_to_view() |
3150 |
add applicable columns to analytical_specimen, analytical_plot'; |
|
3306 |
add applicable columns to analytical_specimen, analytical_plot |
|
3307 |
'; |
|
3151 | 3308 |
|
3152 | 3309 |
|
3153 | 3310 |
-- |
... | ... | |
3840 | 3997 |
-- Name: TABLE locationplace; Type: COMMENT; Schema: public; Owner: - |
3841 | 3998 |
-- |
3842 | 3999 |
|
3843 |
COMMENT ON TABLE locationplace IS 'Equivalent to VegBank''s place table.'; |
|
4000 |
COMMENT ON TABLE locationplace IS ' |
|
4001 |
Equivalent to VegBank''s place table. |
|
4002 |
'; |
|
3844 | 4003 |
|
3845 | 4004 |
|
3846 | 4005 |
-- |
... | ... | |
3900 | 4059 |
-- Name: COLUMN methodtaxonclass.included; Type: COMMENT; Schema: public; Owner: - |
3901 | 4060 |
-- |
3902 | 4061 |
|
3903 |
COMMENT ON COLUMN methodtaxonclass.included IS 'Whether the method includes or excludes this taxon class.'; |
|
4062 |
COMMENT ON COLUMN methodtaxonclass.included IS ' |
|
4063 |
Whether the method includes or excludes this taxon class. |
|
4064 |
'; |
|
3904 | 4065 |
|
3905 | 4066 |
|
3906 | 4067 |
-- |
3907 | 4068 |
-- Name: COLUMN methodtaxonclass.submethod_id; Type: COMMENT; Schema: public; Owner: - |
3908 | 4069 |
-- |
3909 | 4070 |
|
3910 |
COMMENT ON COLUMN methodtaxonclass.submethod_id IS 'The submethod used to sample just this taxon class, distinct from the main method.'; |
|
4071 |
COMMENT ON COLUMN methodtaxonclass.submethod_id IS ' |
|
4072 |
The submethod used to sample just this taxon class, distinct from the main method. |
|
4073 |
'; |
|
3911 | 4074 |
|
3912 | 4075 |
|
3913 | 4076 |
-- |
... | ... | |
4112 | 4275 |
-- Name: TABLE placename; Type: COMMENT; Schema: public; Owner: - |
4113 | 4276 |
-- |
4114 | 4277 |
|
4115 |
COMMENT ON TABLE placename IS 'An official, named placename. Can be at any level in the geographic hierarchy. Note that the placename stores only one rank (e.g. country) of the full path to the placename. The higher-level ranks are stored in the placename''s chain of parent_id ancestors. |
|
4278 |
COMMENT ON TABLE placename IS ' |
|
4279 |
An official, named placename. Can be at any level in the geographic hierarchy. Note that the placename stores only one rank (e.g. country) of the full path to the placename. The higher-level ranks are stored in the placename''s chain of parent_id ancestors. |
|
4116 | 4280 |
|
4117 |
Equivalent to VegBank''s namedPlace table.'; |
|
4281 |
Equivalent to VegBank''s namedPlace table. |
|
4282 |
'; |
|
4118 | 4283 |
|
4119 | 4284 |
|
4120 | 4285 |
-- |
... | ... | |
4131 | 4296 |
-- Name: TABLE placename_ancestor; Type: COMMENT; Schema: public; Owner: - |
4132 | 4297 |
-- |
4133 | 4298 |
|
4134 |
COMMENT ON TABLE placename_ancestor IS 'placename''s ancestor cross link table.'; |
|
4299 |
COMMENT ON TABLE placename_ancestor IS ' |
|
4300 |
placename''s ancestor cross link table. |
|
4301 |
'; |
|
4135 | 4302 |
|
4136 | 4303 |
|
4137 | 4304 |
-- |
... | ... | |
4166 | 4333 |
-- Name: TABLE plant; Type: COMMENT; Schema: public; Owner: - |
4167 | 4334 |
-- |
4168 | 4335 |
|
4169 |
COMMENT ON TABLE plant IS 'A physical, tagged plant.'; |
|
4336 |
COMMENT ON TABLE plant IS ' |
|
4337 |
A physical, tagged plant. |
|
4338 |
'; |
|
4170 | 4339 |
|
4171 | 4340 |
|
4172 | 4341 |
-- |
... | ... | |
4542 | 4711 |
-- Name: TABLE specimen; Type: COMMENT; Schema: public; Owner: - |
4543 | 4712 |
-- |
4544 | 4713 |
|
4545 |
COMMENT ON TABLE specimen IS 'A physical specimen collected from a plant. Used to link replicates of the same specimen together.'; |
|
4714 |
COMMENT ON TABLE specimen IS ' |
|
4715 |
A physical specimen collected from a plant. Used to link replicates of the same specimen together. |
|
4716 |
'; |
|
4546 | 4717 |
|
4547 | 4718 |
|
4548 | 4719 |
-- |
... | ... | |
4637 | 4808 |
-- Name: TABLE taxon_trait; Type: COMMENT; Schema: public; Owner: - |
4638 | 4809 |
-- |
4639 | 4810 |
|
4640 |
COMMENT ON TABLE taxon_trait IS 'to export: |
|
4641 |
select * from taxon_trait order by "scientificName", "measurementType"'; |
|
4811 |
COMMENT ON TABLE taxon_trait IS ' |
|
4812 |
to export: |
|
4813 |
select * from taxon_trait order by "scientificName", "measurementType" |
|
4814 |
'; |
|
4642 | 4815 |
|
4643 | 4816 |
|
4644 | 4817 |
-- |
... | ... | |
4719 | 4892 |
-- Name: TABLE taxonconcept; Type: COMMENT; Schema: public; Owner: - |
4720 | 4893 |
-- |
4721 | 4894 |
|
4722 |
COMMENT ON TABLE taxonconcept IS 'A circumscribed taxon concept. This extends taxonlabel with information about who the taxon concept is according to.'; |
|
4895 |
COMMENT ON TABLE taxonconcept IS ' |
|
4896 |
A circumscribed taxon concept. This extends taxonlabel with information about who the taxon concept is according to. |
|
4897 |
'; |
|
4723 | 4898 |
|
4724 | 4899 |
|
4725 | 4900 |
-- |
4726 | 4901 |
-- Name: COLUMN taxonconcept.concept_reference_id; Type: COMMENT; Schema: public; Owner: - |
4727 | 4902 |
-- |
4728 | 4903 |
|
4729 |
COMMENT ON COLUMN taxonconcept.concept_reference_id IS 'The entity that defined the taxon concept. This is who the taxon concept is according to. |
|
4904 |
COMMENT ON COLUMN taxonconcept.concept_reference_id IS ' |
|
4905 |
The entity that defined the taxon concept. This is who the taxon concept is according to. |
|
4730 | 4906 |
|
4731 |
Equivalent to "Name sec. x".'; |
|
4907 |
Equivalent to "Name sec. x". |
|
4908 |
'; |
|
4732 | 4909 |
|
4733 | 4910 |
|
4734 | 4911 |
-- |
... | ... | |
4817 | 4994 |
-- Name: TABLE taxonlabel_relationship; Type: COMMENT; Schema: public; Owner: - |
4818 | 4995 |
-- |
4819 | 4996 |
|
4820 |
COMMENT ON TABLE taxonlabel_relationship IS 'Stores the accepted ancestors of a taxonlabel. Auto-populated, so should not be manually modified.'; |
|
4997 |
COMMENT ON TABLE taxonlabel_relationship IS ' |
|
4998 |
Stores the accepted ancestors of a taxonlabel. Auto-populated, so should not be manually modified. |
|
4999 |
'; |
|
4821 | 5000 |
|
4822 | 5001 |
|
4823 | 5002 |
-- |
4824 | 5003 |
-- Name: COLUMN taxonlabel_relationship.relationship; Type: COMMENT; Schema: public; Owner: - |
4825 | 5004 |
-- |
4826 | 5005 |
|
4827 |
COMMENT ON COLUMN taxonlabel_relationship.relationship IS 'The type of relationship.'; |
|
5006 |
COMMENT ON COLUMN taxonlabel_relationship.relationship IS ' |
|
5007 |
The type of relationship. |
|
5008 |
'; |
|
4828 | 5009 |
|
4829 | 5010 |
|
4830 | 5011 |
-- |
... | ... | |
5066 | 5247 |
-- Name: VIEW top_plot; Type: COMMENT; Schema: public; Owner: - |
5067 | 5248 |
-- |
5068 | 5249 |
|
5069 |
COMMENT ON VIEW top_plot IS 'when updating, use * as the column list'; |
|
5250 |
COMMENT ON VIEW top_plot IS ' |
|
5251 |
when updating, use * as the column list |
|
5252 |
'; |
|
5070 | 5253 |
|
5071 | 5254 |
|
5072 | 5255 |
-- |
... | ... | |
5260 | 5443 |
-- Name: VIEW _plots_10_count_of_individuals_per_plot_in_each_project; Type: COMMENT; Schema: public_validations; Owner: - |
5261 | 5444 |
-- |
5262 | 5445 |
|
5263 |
COMMENT ON VIEW _plots_10_count_of_individuals_per_plot_in_each_project IS 'Method: count taxonObservations |
|
5446 |
COMMENT ON VIEW _plots_10_count_of_individuals_per_plot_in_each_project IS ' |
|
5447 |
Method: count taxonObservations |
|
5264 | 5448 |
Note 1: `individuals` should be NULL for plots which use percent cover or line-intercept methods. |
5265 | 5449 |
Note 2: Does this method requires that plots have 2-level nesting of subplots within plots? |
5266 | 5450 |
'; |
... | ... | |
5292 | 5476 |
-- Name: VIEW _plots_11_count_of_stems_per_plot_in_each_project; Type: COMMENT; Schema: public_validations; Owner: - |
5293 | 5477 |
-- |
5294 | 5478 |
|
5295 |
COMMENT ON VIEW _plots_11_count_of_stems_per_plot_in_each_project IS 'Method: count records in stemobservation table |
|
5479 |
COMMENT ON VIEW _plots_11_count_of_stems_per_plot_in_each_project IS ' |
|
5480 |
Method: count records in stemobservation table |
|
5296 | 5481 |
'; |
5297 | 5482 |
|
5298 | 5483 |
|
... | ... | |
5321 | 5506 |
-- Name: VIEW _plots_12_count_of_verbatim_taxa_per_plot_in_each_project; Type: COMMENT; Schema: public_validations; Owner: - |
5322 | 5507 |
-- |
5323 | 5508 |
|
5324 |
COMMENT ON VIEW _plots_12_count_of_verbatim_taxa_per_plot_in_each_project IS 'Check: join to source db by all columns, returns same number of rows |
|
5509 |
COMMENT ON VIEW _plots_12_count_of_verbatim_taxa_per_plot_in_each_project IS ' |
|
5510 |
Check: join to source db by all columns, returns same number of rows |
|
5325 | 5511 |
Note: Must perform equivalent concatenation of taxonomic field in source db. |
5326 | 5512 |
NOT YET READY, NEED TO INCLUDE SUBSPECIES, IF ANY |
5327 | 5513 |
'; |
... | ... | |
5351 | 5537 |
-- Name: VIEW _plots_13_list_of_distinct_verbatim_taxa_in_each_plot_in_each_p; Type: COMMENT; Schema: public_validations; Owner: - |
5352 | 5538 |
-- |
5353 | 5539 |
|
5354 |
COMMENT ON VIEW _plots_13_list_of_distinct_verbatim_taxa_in_each_plot_in_each_p IS 'Note: Must perform equivalent concatenation of taxonomic field in source db. |
|
5540 |
COMMENT ON VIEW _plots_13_list_of_distinct_verbatim_taxa_in_each_plot_in_each_p IS ' |
|
5541 |
Note: Must perform equivalent concatenation of taxonomic field in source db. |
|
5355 | 5542 |
'; |
5356 | 5543 |
|
5357 | 5544 |
|
... | ... | |
5382 | 5569 |
-- Name: VIEW _plots_14_count_of_indiv_per_verbatim_taxon_per_plot_in_each_pr; Type: COMMENT; Schema: public_validations; Owner: - |
5383 | 5570 |
-- |
5384 | 5571 |
|
5385 |
COMMENT ON VIEW _plots_14_count_of_indiv_per_verbatim_taxon_per_plot_in_each_pr IS 'Note: Must do equivalent concatenation of taxonomic field in source db. |
|
5572 |
COMMENT ON VIEW _plots_14_count_of_indiv_per_verbatim_taxon_per_plot_in_each_pr IS ' |
|
5573 |
Note: Must do equivalent concatenation of taxonomic field in source db. |
|
5386 | 5574 |
'; |
5387 | 5575 |
|
5388 | 5576 |
|
... | ... | |
5414 | 5602 |
-- Name: VIEW _plots_15_pct_cover_of_each_verb_taxon_in_each_plot_in_each_pro; Type: COMMENT; Schema: public_validations; Owner: - |
5415 | 5603 |
-- |
5416 | 5604 |
|
5417 |
COMMENT ON VIEW _plots_15_pct_cover_of_each_verb_taxon_in_each_plot_in_each_pro IS 'Applies to: aggregate-cover plots only |
|
5605 |
COMMENT ON VIEW _plots_15_pct_cover_of_each_verb_taxon_in_each_plot_in_each_pro IS ' |
|
5606 |
Applies to: aggregate-cover plots only |
|
5418 | 5607 |
Method: sums percent cover in aggregateoccurrence (as recorded in coverindex) |
5419 | 5608 |
Check: join to source db by all columns, returns same number of rows |
5420 | 5609 |
Note: Must do equivalent concatenation of taxonomic field in source db. |
... | ... | |
5460 | 5649 |
-- Name: VIEW _plots_18_list_of_subplots_codes_for_each_plot_for_each_project; Type: COMMENT; Schema: public_validations; Owner: - |
5461 | 5650 |
-- |
5462 | 5651 |
|
5463 |
COMMENT ON VIEW _plots_18_list_of_subplots_codes_for_each_plot_for_each_project IS 'DOESN''T YET WORK PROPERLY |
|
5652 |
COMMENT ON VIEW _plots_18_list_of_subplots_codes_for_each_plot_for_each_project IS ' |
|
5653 |
DOESN''T YET WORK PROPERLY |
|
5464 | 5654 |
'; |
5465 | 5655 |
|
5466 | 5656 |
|
... | ... | |
5526 | 5716 |
-- Name: VIEW _traits_05_count_taxa; Type: COMMENT; Schema: public_validations; Owner: - |
5527 | 5717 |
-- |
5528 | 5718 |
|
5529 |
COMMENT ON VIEW _traits_05_count_taxa IS 'Note: No morphospecies in trait table, therefore count taxon + authority only |
|
5719 |
COMMENT ON VIEW _traits_05_count_taxa IS ' |
|
5720 |
Note: No morphospecies in trait table, therefore count taxon + authority only |
|
5530 | 5721 |
'; |
5531 | 5722 |
|
5532 | 5723 |
|
... | ... | |
5545 | 5736 |
-- Name: VIEW _traits_06_list_taxa; Type: COMMENT; Schema: public_validations; Owner: - |
5546 | 5737 |
-- |
5547 | 5738 |
|
5548 |
COMMENT ON VIEW _traits_06_list_taxa IS 'Note 1: No morphospecies in trait table, use taxon + authority |
|
5739 |
COMMENT ON VIEW _traits_06_list_taxa IS ' |
|
5740 |
Note 1: No morphospecies in trait table, use taxon + authority |
|
5549 | 5741 |
Note 2: Note formation of taxonCorrected: includes family ONLY if taxon is not determined at least to genus |
5550 | 5742 |
'; |
5551 | 5743 |
|
Also available in: Unified diff
schemas/*.sql: make sure every COMMENT starts and ends on its own line, so that it appears correctly in the formats it's most likely to be read in (ie. in the DDL export, not the COMMENT edit box in pgAdmin)