Project

General

Profile

« Previous | Next » 

Revision 14337

schemas/public_.sql: added viewFullOccurrence_individual_view

View differences:

trunk/schemas/vegbien.my.sql
7844 7844

  
7845 7845

  
7846 7846
--
7847
-- Name: viewFullOccurrence_individual_view; Type: VIEW; Schema: public; Owner: -
7848
--
7849

  
7850

  
7851

  
7852

  
7853
--
7854
-- Name: COLUMN `viewFullOccurrence_individual_view`.`datasource__@Brad__.identifier_examples@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
7855
--
7856

  
7857

  
7858

  
7859

  
7860
--
7861
-- Name: COLUMN `viewFullOccurrence_individual_view`.`country__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
7862
--
7863

  
7864

  
7865

  
7866

  
7867
--
7868
-- Name: COLUMN `viewFullOccurrence_individual_view`.`stateProvince__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
7869
--
7870

  
7871

  
7872

  
7873

  
7874
--
7875
-- Name: COLUMN `viewFullOccurrence_individual_view`.`county__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
7876
--
7877

  
7878

  
7879

  
7880

  
7881
--
7882
-- Name: COLUMN `viewFullOccurrence_individual_view`.`locality__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
7883
--
7884

  
7885

  
7886

  
7887

  
7888
--
7889
-- Name: COLUMN `viewFullOccurrence_individual_view`.`decimalLatitude__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
7890
--
7891

  
7892

  
7893

  
7894

  
7895
--
7896
-- Name: COLUMN `viewFullOccurrence_individual_view`.`decimalLongitude__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
7897
--
7898

  
7899

  
7900

  
7901

  
7902
--
7903
-- Name: COLUMN `viewFullOccurrence_individual_view`.`coordinateUncertaintyInMeters__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
7904
--
7905

  
7906

  
7907

  
7908

  
7909
--
7910
-- Name: COLUMN `viewFullOccurrence_individual_view`.`georeferenceSources__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
7911
--
7912

  
7913

  
7914

  
7915

  
7916
--
7917
-- Name: COLUMN `viewFullOccurrence_individual_view`.`georeferenceProtocol__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
7918
--
7919

  
7920

  
7921

  
7922

  
7923
--
7924
-- Name: COLUMN `viewFullOccurrence_individual_view`.geovalid_bien; Type: COMMENT; Schema: public; Owner: -
7925
--
7926

  
7927

  
7928

  
7929

  
7930
--
7931
-- Name: COLUMN `viewFullOccurrence_individual_view`.`isNewWorld_bien`; Type: COMMENT; Schema: public; Owner: -
7932
--
7933

  
7934

  
7935

  
7936

  
7937
--
7938
-- Name: COLUMN `viewFullOccurrence_individual_view`.`projectID__@VegX__.plotObservation@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
7939
--
7940

  
7941

  
7942

  
7943

  
7944
--
7945
-- Name: COLUMN `viewFullOccurrence_individual_view`.`projectContributor[s]__@VegBank__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
7946
--
7947

  
7948

  
7949

  
7950

  
7951
--
7952
-- Name: COLUMN `viewFullOccurrence_individual_view`.`locationID__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
7953
--
7954

  
7955

  
7956

  
7957

  
7958
--
7959
-- Name: COLUMN `viewFullOccurrence_individual_view`.`plotName__@VegX__.plot@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
7960
--
7961

  
7962

  
7963

  
7964

  
7965
--
7966
-- Name: COLUMN `viewFullOccurrence_individual_view`.`subplot__@SALVIAS__.Plot_data@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
7967
--
7968

  
7969

  
7970

  
7971

  
7972
--
7973
-- Name: COLUMN `viewFullOccurrence_individual_view`.location__cultivated__bien; Type: COMMENT; Schema: public; Owner: -
7974
--
7975

  
7976

  
7977

  
7978

  
7979
--
7980
-- Name: COLUMN `viewFullOccurrence_individual_view`.`locationevent.locationevent_id__@VegBIEN__.public@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
7981
--
7982

  
7983

  
7984

  
7985

  
7986
--
7987
-- Name: COLUMN `viewFullOccurrence_individual_view`.`eventDate__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
7988
--
7989

  
7990

  
7991

  
7992

  
7993
--
7994
-- Name: COLUMN `viewFullOccurrence_individual_view`.`(-minimum-)ElevationInMeters__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
7995
--
7996

  
7997

  
7998

  
7999

  
8000
--
8001
-- Name: COLUMN `viewFullOccurrence_individual_view`.`slopeAspect[_deg]__@VegX__.plot@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8002
--
8003

  
8004

  
8005

  
8006

  
8007
--
8008
-- Name: COLUMN `viewFullOccurrence_individual_view`.`slopeGradient[_deg]__@VegX__.plot@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8009
--
8010

  
8011

  
8012

  
8013

  
8014
--
8015
-- Name: COLUMN `viewFullOccurrence_individual_view`.`plot.area[_ha]__@VegX__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8016
--
8017

  
8018

  
8019

  
8020

  
8021
--
8022
-- Name: COLUMN `viewFullOccurrence_individual_view`.`samplingProtocol__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8023
--
8024

  
8025

  
8026

  
8027

  
8028
--
8029
-- Name: COLUMN `viewFullOccurrence_individual_view`.`temperature[_C]__@VegX__.plotObs.obsCond@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8030
--
8031

  
8032

  
8033

  
8034

  
8035
--
8036
-- Name: COLUMN `viewFullOccurrence_individual_view`.`precip_mm__@SALVIAS__.Plot_metadata@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8037
--
8038

  
8039

  
8040

  
8041

  
8042
--
8043
-- Name: COLUMN `viewFullOccurrence_individual_view`.`stratumName__@VegX__.stratum@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8044
--
8045

  
8046

  
8047

  
8048

  
8049
--
8050
-- Name: COLUMN `viewFullOccurrence_individual_view`.`communityConcept.name__@VegX__.communityDet@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8051
--
8052

  
8053

  
8054

  
8055

  
8056
--
8057
-- Name: COLUMN `viewFullOccurrence_individual_view`.`observationContributor[s]__@VegBank__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8058
--
8059

  
8060

  
8061

  
8062

  
8063
--
8064
-- Name: COLUMN `viewFullOccurrence_individual_view`.`[custodial_]institutionCode[s]__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8065
--
8066

  
8067

  
8068

  
8069

  
8070
--
8071
-- Name: COLUMN `viewFullOccurrence_individual_view`.`collectionCode__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8072
--
8073

  
8074

  
8075

  
8076

  
8077
--
8078
-- Name: COLUMN `viewFullOccurrence_individual_view`.`catalogNumber__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8079
--
8080

  
8081

  
8082

  
8083

  
8084
--
8085
-- Name: COLUMN `viewFullOccurrence_individual_view`.`occurrenceID__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8086
--
8087

  
8088

  
8089

  
8090

  
8091
--
8092
-- Name: COLUMN `viewFullOccurrence_individual_view`.`recordedBy__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8093
--
8094

  
8095

  
8096

  
8097

  
8098
--
8099
-- Name: COLUMN `viewFullOccurrence_individual_view`.`recordNumber__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8100
--
8101

  
8102

  
8103

  
8104

  
8105
--
8106
-- Name: COLUMN `viewFullOccurrence_individual_view`.`(-Earliest-)DateCollected__-2007-04-17__@DwC__.hist@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8107
--
8108

  
8109

  
8110

  
8111

  
8112
--
8113
-- Name: COLUMN `viewFullOccurrence_individual_view`.`[verbatim_]family__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8114
--
8115

  
8116

  
8117

  
8118

  
8119
--
8120
-- Name: COLUMN `viewFullOccurrence_individual_view`.`[verbatim_]scientificName__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8121
--
8122

  
8123

  
8124

  
8125

  
8126
--
8127
-- Name: COLUMN `viewFullOccurrence_individual_view`.`identifiedBy__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8128
--
8129

  
8130

  
8131

  
8132

  
8133
--
8134
-- Name: COLUMN `viewFullOccurrence_individual_view`.`dateIdentified__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8135
--
8136

  
8137

  
8138

  
8139

  
8140
--
8141
-- Name: COLUMN `viewFullOccurrence_individual_view`.`identificationRemarks__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8142
--
8143

  
8144

  
8145

  
8146

  
8147
--
8148
-- Name: COLUMN `viewFullOccurrence_individual_view`.`Family_matched__@TNRS__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8149
--
8150

  
8151

  
8152

  
8153

  
8154
--
8155
-- Name: COLUMN `viewFullOccurrence_individual_view`.`Name_matched__@TNRS__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8156
--
8157

  
8158

  
8159

  
8160

  
8161
--
8162
-- Name: COLUMN `viewFullOccurrence_individual_view`.`Name_matched_author__@TNRS__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8163
--
8164

  
8165

  
8166

  
8167

  
8168
--
8169
-- Name: COLUMN `viewFullOccurrence_individual_view`.`[higher_plant_group~]higherClassification__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8170
--
8171

  
8172

  
8173

  
8174

  
8175
--
8176
-- Name: COLUMN `viewFullOccurrence_individual_view`.`taxonomicStatus__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8177
--
8178

  
8179

  
8180

  
8181

  
8182
--
8183
-- Name: COLUMN `viewFullOccurrence_individual_view`.scrubbed_family; Type: COMMENT; Schema: public; Owner: -
8184
--
8185

  
8186

  
8187

  
8188

  
8189
--
8190
-- Name: COLUMN `viewFullOccurrence_individual_view`.scrubbed_genus; Type: COMMENT; Schema: public; Owner: -
8191
--
8192

  
8193

  
8194

  
8195

  
8196
--
8197
-- Name: COLUMN `viewFullOccurrence_individual_view`.scrubbed_specific_epithet; Type: COMMENT; Schema: public; Owner: -
8198
--
8199

  
8200

  
8201

  
8202

  
8203
--
8204
-- Name: COLUMN `viewFullOccurrence_individual_view`.scrubbed_species_binomial; Type: COMMENT; Schema: public; Owner: -
8205
--
8206

  
8207

  
8208

  
8209

  
8210
--
8211
-- Name: COLUMN `viewFullOccurrence_individual_view`.scrubbed_taxon_name_no_author; Type: COMMENT; Schema: public; Owner: -
8212
--
8213

  
8214

  
8215

  
8216

  
8217
--
8218
-- Name: COLUMN `viewFullOccurrence_individual_view`.scrubbed_author; Type: COMMENT; Schema: public; Owner: -
8219
--
8220

  
8221

  
8222

  
8223

  
8224
--
8225
-- Name: COLUMN `viewFullOccurrence_individual_view`.scrubbed_taxon_name_with_author; Type: COMMENT; Schema: public; Owner: -
8226
--
8227

  
8228

  
8229

  
8230

  
8231
--
8232
-- Name: COLUMN `viewFullOccurrence_individual_view`.`speciesBinomialWithMorphospecies__@VegCore__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8233
--
8234

  
8235

  
8236

  
8237

  
8238
--
8239
-- Name: COLUMN `viewFullOccurrence_individual_view`.`[growth_form=]habit__@SALVIAS__.Plot_data@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8240
--
8241

  
8242

  
8243

  
8244

  
8245
--
8246
-- Name: COLUMN `viewFullOccurrence_individual_view`.`reproductiveCondition__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8247
--
8248

  
8249

  
8250

  
8251

  
8252
--
8253
-- Name: COLUMN `viewFullOccurrence_individual_view`.cultivated_bien; Type: COMMENT; Schema: public; Owner: -
8254
--
8255

  
8256

  
8257

  
8258

  
8259
--
8260
-- Name: COLUMN `viewFullOccurrence_individual_view`.`cultivatedBasis_bien`; Type: COMMENT; Schema: public; Owner: -
8261
--
8262

  
8263

  
8264

  
8265

  
8266
--
8267
-- Name: COLUMN `viewFullOccurrence_individual_view`.`occurrenceRemarks__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8268
--
8269

  
8270

  
8271

  
8272

  
8273
--
8274
-- Name: COLUMN `viewFullOccurrence_individual_view`.`coverPercent__@VegX__.attribute.ordinal@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8275
--
8276

  
8277

  
8278

  
8279

  
8280
--
8281
-- Name: COLUMN `viewFullOccurrence_individual_view`.`taxonObservation[.id]__@VegBank__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8282
--
8283

  
8284

  
8285

  
8286

  
8287
--
8288
-- Name: COLUMN `viewFullOccurrence_individual_view`.`taxonNameUsageConcept.authorCode__@VegX__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8289
--
8290

  
8291

  
8292

  
8293

  
8294
--
8295
-- Name: COLUMN `viewFullOccurrence_individual_view`.`aggregateOrganismObservation.id__@VegX__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8296
--
8297

  
8298

  
8299

  
8300

  
8301
--
8302
-- Name: COLUMN `viewFullOccurrence_individual_view`.`individualOrganismObservation.id__@VegX__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8303
--
8304

  
8305

  
8306

  
8307

  
8308
--
8309
-- Name: COLUMN `viewFullOccurrence_individual_view`.`individualID__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8310
--
8311

  
8312

  
8313

  
8314

  
8315
--
8316
-- Name: COLUMN `viewFullOccurrence_individual_view`.`individualCount__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8317
--
8318

  
8319

  
8320

  
8321

  
8322
--
8323
-- Name: COLUMN `viewFullOccurrence_individual_view`.`plantobservation.``_id__@VegBIEN__.public@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
8324
--
8325

  
8326

  
8327

  
8328

  
8329
--
7847 8330
-- Name: voucher; Type: TABLE; Schema: public; Owner: -; Tablespace: 
7848 8331
--
7849 8332

  
......
15243 15726

  
15244 15727

  
15245 15728
--
15729
-- Name: viewFullOccurrence_individual_view; Type: ACL; Schema: public; Owner: -
15730
--
15731

  
15732

  
15733

  
15734

  
15735

  
15736

  
15737

  
15738
--
15246 15739
-- Name: voucher; Type: ACL; Schema: public; Owner: -
15247 15740
--
15248 15741

  
trunk/schemas/public_.sql
11149 11149

  
11150 11150

  
11151 11151
--
11152
-- Name: viewFullOccurrence_individual_view; Type: VIEW; Schema: public; Owner: -
11153
--
11154

  
11155
CREATE VIEW "viewFullOccurrence_individual_view" AS
11156
 SELECT "plot.**"."datasource__@Brad__.identifier_examples@vegpath.org",
11157
    "plot.**"."country__@DwC__@vegpath.org",
11158
    "plot.**"."stateProvince__@DwC__@vegpath.org",
11159
    "plot.**"."county__@DwC__@vegpath.org",
11160
    "plot.**"."locality__@DwC__@vegpath.org",
11161
    "plot.**"."decimalLatitude__@DwC__@vegpath.org",
11162
    "plot.**"."decimalLongitude__@DwC__@vegpath.org",
11163
    "plot.**"."coordinateUncertaintyInMeters__@DwC__@vegpath.org",
11164
    "plot.**"."georeferenceSources__@DwC__@vegpath.org",
11165
    "plot.**"."georeferenceProtocol__@DwC__@vegpath.org",
11166
    "plot.**".geovalid_bien,
11167
    "plot.**"."isNewWorld_bien",
11168
    "plot.**"."projectID__@VegX__.plotObservation@vegpath.org",
11169
    "plot.**"."projectContributor[s]__@VegBank__@vegpath.org",
11170
    "plot.**"."locationID__@DwC__@vegpath.org",
11171
    "plot.**"."plotName__@VegX__.plot@vegpath.org",
11172
    "plot.**"."subplot__@SALVIAS__.Plot_data@vegpath.org",
11173
    "plot.**".location__cultivated__bien,
11174
    "plot.**"."locationevent.locationevent_id__@VegBIEN__.public@vegpath.org",
11175
    "plot.**"."eventDate__@DwC__@vegpath.org",
11176
    "plot.**"."(-minimum-)ElevationInMeters__@DwC__@vegpath.org",
11177
    "plot.**"."slopeAspect[_deg]__@VegX__.plot@vegpath.org",
11178
    "plot.**"."slopeGradient[_deg]__@VegX__.plot@vegpath.org",
11179
    "plot.**"."plot.area[_ha]__@VegX__@vegpath.org",
11180
    "plot.**"."samplingProtocol__@DwC__@vegpath.org",
11181
    "plot.**"."temperature[_C]__@VegX__.plotObs.obsCond@vegpath.org",
11182
    "plot.**"."precip_mm__@SALVIAS__.Plot_metadata@vegpath.org",
11183
    "plot.**"."stratumName__@VegX__.stratum@vegpath.org",
11184
    "plot.**"."communityConcept.name__@VegX__.communityDet@vegpath.org",
11185
    "plot.**"."observationContributor[s]__@VegBank__@vegpath.org",
11186
    sourcelist.name AS "[custodial_]institutionCode[s]__@DwC__@vegpath.org",
11187
    specimenreplicate.collectioncode_dwc AS "collectionCode__@DwC__@vegpath.org",
11188
    specimenreplicate.catalognumber_dwc AS "catalogNumber__@DwC__@vegpath.org",
11189
    specimenreplicate.sourceaccessioncode AS "occurrenceID__@DwC__@vegpath.org",
11190
    collector.fullname AS "recordedBy__@DwC__@vegpath.org",
11191
    plantobservation.authorplantcode AS "recordNumber__@DwC__@vegpath.org",
11192
    COALESCE(aggregateoccurrence.collectiondate, "plot.**"."eventDate__@DwC__@vegpath.org") AS "(-Earliest-)DateCollected__-2007-04-17__@DwC__.hist@vegpath.org",
11193
    taxonverbatim.family AS "[verbatim_]family__@DwC__@vegpath.org",
11194
    COALESCE(taxonverbatim.taxonomicname, (taxonverbatim.taxonname || COALESCE((' '::text || taxonverbatim.author), ''::text)), taxonlabel.taxonomicname) AS "[verbatim_]scientificName__@DwC__@vegpath.org",
11195
    identifiedby.fullname AS "identifiedBy__@DwC__@vegpath.org",
11196
    taxondetermination.determinationdate AS "dateIdentified__@DwC__@vegpath.org",
11197
    taxondetermination.notes AS "identificationRemarks__@DwC__@vegpath.org",
11198
    taxon_scrub."*Name_matched_accepted_family" AS "Family_matched__@TNRS__@vegpath.org",
11199
    taxon_scrub."*Name_matched" AS "Name_matched__@TNRS__@vegpath.org",
11200
    taxon_scrub."*Name_matched_author" AS "Name_matched_author__@TNRS__@vegpath.org",
11201
    family_higher_plant_group.higher_plant_group AS "[higher_plant_group~]higherClassification__@DwC__@vegpath.org",
11202
    taxon_scrub."taxonomicStatus" AS "taxonomicStatus__@DwC__@vegpath.org",
11203
    taxon_scrub.scrubbed_family,
11204
    taxon_scrub.scrubbed_genus,
11205
    taxon_scrub.scrubbed_specific_epithet,
11206
    ((taxon_scrub.scrubbed_genus || ' '::text) || taxon_scrub.scrubbed_specific_epithet) AS scrubbed_species_binomial,
11207
    taxon_scrub.scrubbed_taxon_name_no_author,
11208
    taxon_scrub.scrubbed_author,
11209
    taxon_scrub.scrubbed_taxon_name_with_author,
11210
    taxon_scrub.scrubbed_morphospecies_binomial AS "speciesBinomialWithMorphospecies__@VegCore__@vegpath.org",
11211
    taxonoccurrence.growthform AS "[growth_form=]habit__@SALVIAS__.Plot_data@vegpath.org",
11212
    plantobservation.reproductivecondition AS "reproductiveCondition__@DwC__@vegpath.org",
11213
    (((cultivated_family_locations.country IS NOT NULL) OR _or(taxonoccurrence.iscultivated, "plot.**".location__cultivated__bien)))::integer AS cultivated_bien,
11214
        CASE
11215
            WHEN (taxonoccurrence.iscultivated IS NOT NULL) THEN taxonoccurrence.cultivatedbasis
11216
            WHEN ("plot.**".location__cultivated__bien IS NOT NULL) THEN NULL::text
11217
            ELSE NULL::text
11218
        END AS "cultivatedBasis_bien",
11219
    aggregateoccurrence.notes AS "occurrenceRemarks__@DwC__@vegpath.org",
11220
    _fraction_to_percent(aggregateoccurrence.cover_fraction) AS "coverPercent__@VegX__.attribute.ordinal@vegpath.org",
11221
    taxonoccurrence.sourceaccessioncode AS "taxonObservation[.id]__@VegBank__@vegpath.org",
11222
    taxonoccurrence.authortaxoncode AS "taxonNameUsageConcept.authorCode__@VegX__@vegpath.org",
11223
    aggregateoccurrence.sourceaccessioncode AS "aggregateOrganismObservation.id__@VegX__@vegpath.org",
11224
    plantobservation.sourceaccessioncode AS "individualOrganismObservation.id__@VegX__@vegpath.org",
11225
    plantobservation.authorplantcode AS "individualID__@DwC__@vegpath.org",
11226
    aggregateoccurrence.count AS "individualCount__@DwC__@vegpath.org",
11227
    plantobservation.plantobservation_id AS "plantobservation.""_id__@VegBIEN__.public@vegpath.org"
11228
   FROM ((((((((((((("plot.**"
11229
   LEFT JOIN taxonoccurrence ON ((taxonoccurrence.locationevent_id = "plot.**"."locationevent.locationevent_id__@VegBIEN__.public@vegpath.org")))
11230
   LEFT JOIN party collector ON ((collector.party_id = taxonoccurrence.collector_id)))
11231
   LEFT JOIN aggregateoccurrence USING (taxonoccurrence_id))
11232
   LEFT JOIN plantobservation USING (aggregateoccurrence_id))
11233
   LEFT JOIN specimenreplicate USING (plantobservation_id))
11234
   LEFT JOIN sourcelist ON ((sourcelist.sourcelist_id = specimenreplicate.duplicate_institutions_sourcelist_id)))
11235
   LEFT JOIN taxondetermination ON (((taxondetermination.taxonoccurrence_id = taxonoccurrence.taxonoccurrence_id) AND taxondetermination.iscurrent)))
11236
   LEFT JOIN party identifiedby ON ((identifiedby.party_id = taxondetermination.party_id)))
11237
   LEFT JOIN taxonverbatim USING (taxonverbatim_id))
11238
   LEFT JOIN taxonlabel USING (taxonlabel_id))
11239
   LEFT JOIN "TNRS".taxon_scrub ON ((taxon_scrub."*Name_submitted" = taxonlabel.taxonomicname)))
11240
   LEFT JOIN family_higher_plant_group ON ((family_higher_plant_group.family = taxon_scrub.scrubbed_family)))
11241
   LEFT JOIN cultivated_family_locations ON (((cultivated_family_locations.family = taxon_scrub.scrubbed_family) AND (cultivated_family_locations.country = "plot.**"."country__@DwC__@vegpath.org"))));
11242

  
11243

  
11244
--
11245
-- Name: COLUMN "viewFullOccurrence_individual_view"."datasource__@Brad__.identifier_examples@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11246
--
11247

  
11248
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."datasource__@Brad__.identifier_examples@vegpath.org" IS '"the person [or] institution that provided the data [to this database] (the *proximate* data provider)"';
11249

  
11250

  
11251
--
11252
-- Name: COLUMN "viewFullOccurrence_individual_view"."country__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11253
--
11254

  
11255
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."country__@DwC__@vegpath.org" IS 'http://geoscrub.geoscrub_output.acceptedCountry__@VegBIEN__@vegpath.org;
11256
"The name of the country or major administrative unit in which the Location occurs"';
11257

  
11258

  
11259
--
11260
-- Name: COLUMN "viewFullOccurrence_individual_view"."stateProvince__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11261
--
11262

  
11263
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."stateProvince__@DwC__@vegpath.org" IS '"The name of the next smaller administrative region than country (state, province, canton, department, region, etc.) in which the Location occurs"';
11264

  
11265

  
11266
--
11267
-- Name: COLUMN "viewFullOccurrence_individual_view"."county__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11268
--
11269

  
11270
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."county__@DwC__@vegpath.org" IS '"The full, unabbreviated name of the next smaller administrative region than stateProvince (county, shire, department, etc.) in which the Location occurs"';
11271

  
11272

  
11273
--
11274
-- Name: COLUMN "viewFullOccurrence_individual_view"."locality__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11275
--
11276

  
11277
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."locality__@DwC__@vegpath.org" IS '"The specific description of the place"';
11278

  
11279

  
11280
--
11281
-- Name: COLUMN "viewFullOccurrence_individual_view"."decimalLatitude__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11282
--
11283

  
11284
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."decimalLatitude__@DwC__@vegpath.org" IS '"The geographic latitude (in decimal degrees, using the spatial reference system given in geodeticDatum) of the geographic center of a Location"';
11285

  
11286

  
11287
--
11288
-- Name: COLUMN "viewFullOccurrence_individual_view"."decimalLongitude__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11289
--
11290

  
11291
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."decimalLongitude__@DwC__@vegpath.org" IS '"The geographic longitude (in decimal degrees, using the spatial reference system given in geodeticDatum) of the geographic center of a Location"';
11292

  
11293

  
11294
--
11295
-- Name: COLUMN "viewFullOccurrence_individual_view"."coordinateUncertaintyInMeters__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11296
--
11297

  
11298
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."coordinateUncertaintyInMeters__@DwC__@vegpath.org" IS 'for a point observation, this is the fuzziness of the coordinates. for a plot (or other shape), this is the radius of the circle that circumscribes the entire plot, or the fuzziness, whichever is greater. note that the DwC definition is confusingly worded: it uses the ambiguous term Location, which sometimes refers to the asserted named place, but which they intended to refer to the plot or point.';
11299

  
11300

  
11301
--
11302
-- Name: COLUMN "viewFullOccurrence_individual_view"."georeferenceSources__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11303
--
11304

  
11305
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."georeferenceSources__@DwC__@vegpath.org" IS '"A list (concatenated and separated) of maps, gazetteers, or other resources used to georeference the Location, described specifically enough to allow anyone in the future to use the same resources"';
11306

  
11307

  
11308
--
11309
-- Name: COLUMN "viewFullOccurrence_individual_view"."georeferenceProtocol__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11310
--
11311

  
11312
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."georeferenceProtocol__@DwC__@vegpath.org" IS '"A description or reference to the methods used to determine the spatial footprint, coordinates, and uncertainties"';
11313

  
11314

  
11315
--
11316
-- Name: COLUMN "viewFullOccurrence_individual_view".geovalid_bien; Type: COMMENT; Schema: public; Owner: -
11317
--
11318

  
11319
COMMENT ON COLUMN "viewFullOccurrence_individual_view".geovalid_bien IS 'whether the coordinates are within the boundary of the asserted named places';
11320

  
11321

  
11322
--
11323
-- Name: COLUMN "viewFullOccurrence_individual_view"."isNewWorld_bien"; Type: COMMENT; Schema: public; Owner: -
11324
--
11325

  
11326
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."isNewWorld_bien" IS 'whether the country is in the Americas';
11327

  
11328

  
11329
--
11330
-- Name: COLUMN "viewFullOccurrence_individual_view"."projectID__@VegX__.plotObservation@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11331
--
11332

  
11333
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."projectID__@VegX__.plotObservation@vegpath.org" IS 'http://project.sourceaccessioncode__@VegBIEN__.public@vegpath.org;
11334
"A reference to a specific ''project''"';
11335

  
11336

  
11337
--
11338
-- Name: COLUMN "viewFullOccurrence_individual_view"."projectContributor[s]__@VegBank__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11339
--
11340

  
11341
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."projectContributor[s]__@VegBank__@vegpath.org" IS '"intersection entit[ies] used to ''link'' a party with a specific project wherein vegetation plots are described"';
11342

  
11343

  
11344
--
11345
-- Name: COLUMN "viewFullOccurrence_individual_view"."locationID__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11346
--
11347

  
11348
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."locationID__@DwC__@vegpath.org" IS '"An identifier for the set of location information (data associated with dcterms:Location)"';
11349

  
11350

  
11351
--
11352
-- Name: COLUMN "viewFullOccurrence_individual_view"."plotName__@VegX__.plot@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11353
--
11354

  
11355
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."plotName__@VegX__.plot@vegpath.org" IS '"Name or label for a plot"';
11356

  
11357

  
11358
--
11359
-- Name: COLUMN "viewFullOccurrence_individual_view"."subplot__@SALVIAS__.Plot_data@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11360
--
11361

  
11362
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."subplot__@SALVIAS__.Plot_data@vegpath.org" IS 'http://location.authorlocationcode__@VegBIEN__.public@vegpath.org;
11363
"Code for subplot, line, or any other subsample or subdivision of plot"';
11364

  
11365

  
11366
--
11367
-- Name: COLUMN "viewFullOccurrence_individual_view".location__cultivated__bien; Type: COMMENT; Schema: public; Owner: -
11368
--
11369

  
11370
COMMENT ON COLUMN "viewFullOccurrence_individual_view".location__cultivated__bien IS 'whether the occurrence''s *location* was flagged as cultivated. note that this refers just to the cultivated status of the *location*; the occurrence may be cultivated even if the location isn''t.';
11371

  
11372

  
11373
--
11374
-- Name: COLUMN "viewFullOccurrence_individual_view"."locationevent.locationevent_id__@VegBIEN__.public@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11375
--
11376

  
11377
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."locationevent.locationevent_id__@VegBIEN__.public@vegpath.org" IS 'http://locationevent.locationevent_id__@VegBIEN__.public@vegpath.org;
11378
autogenerated ID for locationevent';
11379

  
11380

  
11381
--
11382
-- Name: COLUMN "viewFullOccurrence_individual_view"."eventDate__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11383
--
11384

  
11385
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."eventDate__@DwC__@vegpath.org" IS '"The date-time or interval during which an Event occurred. For occurrences, this is the date-time when the event was recorded."';
11386

  
11387

  
11388
--
11389
-- Name: COLUMN "viewFullOccurrence_individual_view"."(-minimum-)ElevationInMeters__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11390
--
11391

  
11392
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."(-minimum-)ElevationInMeters__@DwC__@vegpath.org" IS 'the "elevation (altitude, usually above sea level), in meters"';
11393

  
11394

  
11395
--
11396
-- Name: COLUMN "viewFullOccurrence_individual_view"."slopeAspect[_deg]__@VegX__.plot@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11397
--
11398

  
11399
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."slopeAspect[_deg]__@VegX__.plot@vegpath.org" IS '"Representative azimuth of slope gradient (0-360 degrees) or as a cardinal direction (e.g. N, S, NE)"';
11400

  
11401

  
11402
--
11403
-- Name: COLUMN "viewFullOccurrence_individual_view"."slopeGradient[_deg]__@VegX__.plot@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11404
--
11405

  
11406
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."slopeGradient[_deg]__@VegX__.plot@vegpath.org" IS '"Representative inclination of slope in degrees"';
11407

  
11408

  
11409
--
11410
-- Name: COLUMN "viewFullOccurrence_individual_view"."plot.area[_ha]__@VegX__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11411
--
11412

  
11413
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."plot.area[_ha]__@VegX__@vegpath.org" IS '"Total area of the plot"';
11414

  
11415

  
11416
--
11417
-- Name: COLUMN "viewFullOccurrence_individual_view"."samplingProtocol__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11418
--
11419

  
11420
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."samplingProtocol__@DwC__@vegpath.org" IS '"The name of, reference to, or description of the method or protocol used during an Event"';
11421

  
11422

  
11423
--
11424
-- Name: COLUMN "viewFullOccurrence_individual_view"."temperature[_C]__@VegX__.plotObs.obsCond@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11425
--
11426

  
11427
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."temperature[_C]__@VegX__.plotObs.obsCond@vegpath.org" IS '"Temperature during observation [...] [in] Celsius"';
11428

  
11429

  
11430
--
11431
-- Name: COLUMN "viewFullOccurrence_individual_view"."precip_mm__@SALVIAS__.Plot_metadata@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11432
--
11433

  
11434
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."precip_mm__@SALVIAS__.Plot_metadata@vegpath.org" IS '"Total annual precipitation, in mm"';
11435

  
11436

  
11437
--
11438
-- Name: COLUMN "viewFullOccurrence_individual_view"."stratumName__@VegX__.stratum@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11439
--
11440

  
11441
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."stratumName__@VegX__.stratum@vegpath.org" IS '"Name associated with this stratum"';
11442

  
11443

  
11444
--
11445
-- Name: COLUMN "viewFullOccurrence_individual_view"."communityConcept.name__@VegX__.communityDet@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11446
--
11447

  
11448
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."communityConcept.name__@VegX__.communityDet@vegpath.org" IS '"A textual label for a community type. A community type is an abstract grouping of organisms that tend to co-occur on the landscape due to shared ecological requirements or preferences."';
11449

  
11450

  
11451
--
11452
-- Name: COLUMN "viewFullOccurrence_individual_view"."observationContributor[s]__@VegBank__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11453
--
11454

  
11455
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."observationContributor[s]__@VegBank__@vegpath.org" IS '"intersection[s] that link[] a party with a specific plot observation event"';
11456

  
11457

  
11458
--
11459
-- Name: COLUMN "viewFullOccurrence_individual_view"."[custodial_]institutionCode[s]__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11460
--
11461

  
11462
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."[custodial_]institutionCode[s]__@DwC__@vegpath.org" IS '"The name[s] (or acronym[s]) in use by the institution[s] having custody of the object(s) or information referred to in the record"';
11463

  
11464

  
11465
--
11466
-- Name: COLUMN "viewFullOccurrence_individual_view"."collectionCode__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11467
--
11468

  
11469
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."collectionCode__@DwC__@vegpath.org" IS '"The name, acronym, coden, or initialism identifying the collection or data set from which the record was derived"';
11470

  
11471

  
11472
--
11473
-- Name: COLUMN "viewFullOccurrence_individual_view"."catalogNumber__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11474
--
11475

  
11476
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."catalogNumber__@DwC__@vegpath.org" IS '"An identifier (preferably unique) for the record within the data set or collection"';
11477

  
11478

  
11479
--
11480
-- Name: COLUMN "viewFullOccurrence_individual_view"."occurrenceID__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11481
--
11482

  
11483
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."occurrenceID__@DwC__@vegpath.org" IS '"An identifier for the Occurrence (as opposed to a particular digital record of the occurrence). In the absence of a persistent global unique identifier, construct one from a combination of identifiers in the record that will most closely make the occurrenceID globally unique."';
11484

  
11485

  
11486
--
11487
-- Name: COLUMN "viewFullOccurrence_individual_view"."recordedBy__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11488
--
11489

  
11490
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."recordedBy__@DwC__@vegpath.org" IS '"A list (concatenated and separated) of names of people, groups, or organizations responsible for recording the original Occurrence. The primary collector or observer, especially one who applies a personal identifier (recordNumber), should be listed first."';
11491

  
11492

  
11493
--
11494
-- Name: COLUMN "viewFullOccurrence_individual_view"."recordNumber__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11495
--
11496

  
11497
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."recordNumber__@DwC__@vegpath.org" IS '"An identifier given to the Occurrence at the time it was recorded. Often serves as a link between field notes and an Occurrence record, such as a specimen collector''s number."';
11498

  
11499

  
11500
--
11501
-- Name: COLUMN "viewFullOccurrence_individual_view"."(-Earliest-)DateCollected__-2007-04-17__@DwC__.hist@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11502
--
11503

  
11504
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."(-Earliest-)DateCollected__-2007-04-17__@DwC__.hist@vegpath.org" IS 'the "date-time (Common Era calendar) in a date-time period during which an organism or group of organisms was collected or observed"';
11505

  
11506

  
11507
--
11508
-- Name: COLUMN "viewFullOccurrence_individual_view"."[verbatim_]family__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11509
--
11510

  
11511
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."[verbatim_]family__@DwC__@vegpath.org" IS '"The full scientific name of the family in which the taxon is classified [*before* any TNRS scrubbing]"';
11512

  
11513

  
11514
--
11515
-- Name: COLUMN "viewFullOccurrence_individual_view"."[verbatim_]scientificName__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11516
--
11517

  
11518
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."[verbatim_]scientificName__@DwC__@vegpath.org" IS '"The full scientific name [*before* any TNRS scrubbing], with authorship and date information if known. When forming part of an Identification, this should be the name in lowest level taxonomic rank that can be determined."';
11519

  
11520

  
11521
--
11522
-- Name: COLUMN "viewFullOccurrence_individual_view"."identifiedBy__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11523
--
11524

  
11525
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."identifiedBy__@DwC__@vegpath.org" IS '"A list (concatenated and separated) of names of people, groups, or organizations who assigned the Taxon to the subject"';
11526

  
11527

  
11528
--
11529
-- Name: COLUMN "viewFullOccurrence_individual_view"."dateIdentified__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11530
--
11531

  
11532
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."dateIdentified__@DwC__@vegpath.org" IS '"The date on which the subject was identified as representing the Taxon"';
11533

  
11534

  
11535
--
11536
-- Name: COLUMN "viewFullOccurrence_individual_view"."identificationRemarks__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11537
--
11538

  
11539
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."identificationRemarks__@DwC__@vegpath.org" IS '"Comments or notes about the Identification"';
11540

  
11541

  
11542
--
11543
-- Name: COLUMN "viewFullOccurrence_individual_view"."Family_matched__@TNRS__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11544
--
11545

  
11546
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."Family_matched__@TNRS__@vegpath.org" IS 'http://TNRS.taxon_scrub.matchedFamily__@VegBIEN__.public@vegpath.org;
11547
"The closest matching family in the TNRS database to the family submitted"';
11548

  
11549

  
11550
--
11551
-- Name: COLUMN "viewFullOccurrence_individual_view"."Name_matched__@TNRS__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11552
--
11553

  
11554
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."Name_matched__@TNRS__@vegpath.org" IS '"Scientific name with the highest match score. May be an exact match or a fuzzy match."';
11555

  
11556

  
11557
--
11558
-- Name: COLUMN "viewFullOccurrence_individual_view"."Name_matched_author__@TNRS__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11559
--
11560

  
11561
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."Name_matched_author__@TNRS__@vegpath.org" IS '"Standard authority for the matched name"';
11562

  
11563

  
11564
--
11565
-- Name: COLUMN "viewFullOccurrence_individual_view"."[higher_plant_group~]higherClassification__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11566
--
11567

  
11568
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."[higher_plant_group~]higherClassification__@DwC__@vegpath.org" IS 'closed list derived from higher taxa';
11569

  
11570

  
11571
--
11572
-- Name: COLUMN "viewFullOccurrence_individual_view"."taxonomicStatus__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11573
--
11574

  
11575
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."taxonomicStatus__@DwC__@vegpath.org" IS '"The status of the use of the scientificName as a label for a taxon. Requires taxonomic opinion to define the scope of a taxon. [...] Examples: "invalid", "misapplied", "homotypic synonym", "accepted"."';
11576

  
11577

  
11578
--
11579
-- Name: COLUMN "viewFullOccurrence_individual_view".scrubbed_family; Type: COMMENT; Schema: public; Owner: -
11580
--
11581

  
11582
COMMENT ON COLUMN "viewFullOccurrence_individual_view".scrubbed_family IS 'the family of the TNRS accepted or matched name';
11583

  
11584

  
11585
--
11586
-- Name: COLUMN "viewFullOccurrence_individual_view".scrubbed_genus; Type: COMMENT; Schema: public; Owner: -
11587
--
11588

  
11589
COMMENT ON COLUMN "viewFullOccurrence_individual_view".scrubbed_genus IS 'the genus of the TNRS accepted or matched name';
11590

  
11591

  
11592
--
11593
-- Name: COLUMN "viewFullOccurrence_individual_view".scrubbed_specific_epithet; Type: COMMENT; Schema: public; Owner: -
11594
--
11595

  
11596
COMMENT ON COLUMN "viewFullOccurrence_individual_view".scrubbed_specific_epithet IS 'the specific epithet of the TNRS accepted or matched name';
11597

  
11598

  
11599
--
11600
-- Name: COLUMN "viewFullOccurrence_individual_view".scrubbed_species_binomial; Type: COMMENT; Schema: public; Owner: -
11601
--
11602

  
11603
COMMENT ON COLUMN "viewFullOccurrence_individual_view".scrubbed_species_binomial IS 'the species binomial of the TNRS accepted or matched name';
11604

  
11605

  
11606
--
11607
-- Name: COLUMN "viewFullOccurrence_individual_view".scrubbed_taxon_name_no_author; Type: COMMENT; Schema: public; Owner: -
11608
--
11609

  
11610
COMMENT ON COLUMN "viewFullOccurrence_individual_view".scrubbed_taxon_name_no_author IS 'the taxon name without author of the TNRS accepted or matched name';
11611

  
11612

  
11613
--
11614
-- Name: COLUMN "viewFullOccurrence_individual_view".scrubbed_author; Type: COMMENT; Schema: public; Owner: -
11615
--
11616

  
11617
COMMENT ON COLUMN "viewFullOccurrence_individual_view".scrubbed_author IS 'the author of the TNRS accepted or matched name';
11618

  
11619

  
11620
--
11621
-- Name: COLUMN "viewFullOccurrence_individual_view".scrubbed_taxon_name_with_author; Type: COMMENT; Schema: public; Owner: -
11622
--
11623

  
11624
COMMENT ON COLUMN "viewFullOccurrence_individual_view".scrubbed_taxon_name_with_author IS 'the taxon name with author of the TNRS accepted or matched name';
11625

  
11626

  
11627
--
11628
-- Name: COLUMN "viewFullOccurrence_individual_view"."speciesBinomialWithMorphospecies__@VegCore__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11629
--
11630

  
11631
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."speciesBinomialWithMorphospecies__@VegCore__@vegpath.org" IS 'http://TNRS.taxon_scrub.scrubbed_morphospecies_binomial__@VegBIEN__.public@vegpath.org;
11632
"combine the `taxon` plus `morphospecies` to produce a unique string, `taxonMorphospecies`";
11633
a morphospecies is a custom species name assigned in the field by the collector (which does not validate to anything in TNRS)';
11634

  
11635

  
11636
--
11637
-- Name: COLUMN "viewFullOccurrence_individual_view"."[growth_form=]habit__@SALVIAS__.Plot_data@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11638
--
11639

  
11640
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."[growth_form=]habit__@SALVIAS__.Plot_data@vegpath.org" IS '"Growth form"; "Closed pick list"';
11641

  
11642

  
11643
--
11644
-- Name: COLUMN "viewFullOccurrence_individual_view"."reproductiveCondition__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11645
--
11646

  
11647
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."reproductiveCondition__@DwC__@vegpath.org" IS '"The reproductive condition of the biological individual(s) represented in the Occurrence. Recommended best practice is to use a controlled vocabulary."';
11648

  
11649

  
11650
--
11651
-- Name: COLUMN "viewFullOccurrence_individual_view".cultivated_bien; Type: COMMENT; Schema: public; Owner: -
11652
--
11653

  
11654
COMMENT ON COLUMN "viewFullOccurrence_individual_view".cultivated_bien IS 'whether the occurrence was flagged as cultivated';
11655

  
11656

  
11657
--
11658
-- Name: COLUMN "viewFullOccurrence_individual_view"."cultivatedBasis_bien"; Type: COMMENT; Schema: public; Owner: -
11659
--
11660

  
11661
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."cultivatedBasis_bien" IS 'why the occurrence was flagged as cultivated';
11662

  
11663

  
11664
--
11665
-- Name: COLUMN "viewFullOccurrence_individual_view"."occurrenceRemarks__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11666
--
11667

  
11668
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."occurrenceRemarks__@DwC__@vegpath.org" IS '"Comments or notes about the Occurrence"';
11669

  
11670

  
11671
--
11672
-- Name: COLUMN "viewFullOccurrence_individual_view"."coverPercent__@VegX__.attribute.ordinal@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11673
--
11674

  
11675
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."coverPercent__@VegX__.attribute.ordinal@vegpath.org" IS '"Average cover of the index in percent"';
11676

  
11677

  
11678
--
11679
-- Name: COLUMN "viewFullOccurrence_individual_view"."taxonObservation[.id]__@VegBank__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11680
--
11681

  
11682
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."taxonObservation[.id]__@VegBank__@vegpath.org" IS '"identifier assigned [by the datasource] to each unique observation of a taxon in a plot"';
11683

  
11684

  
11685
--
11686
-- Name: COLUMN "viewFullOccurrence_individual_view"."taxonNameUsageConcept.authorCode__@VegX__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11687
--
11688

  
11689
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."taxonNameUsageConcept.authorCode__@VegX__@vegpath.org" IS '"Verbatum short code used by the author to signify the species at time of observation"';
11690

  
11691

  
11692
--
11693
-- Name: COLUMN "viewFullOccurrence_individual_view"."aggregateOrganismObservation.id__@VegX__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11694
--
11695

  
11696
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."aggregateOrganismObservation.id__@VegX__@vegpath.org" IS 'the ID for "An observation applying to all occurrences of an organism based on an aggregation factor. It contains an AggregateValue, which is an assessment of the overall occurrence of an organism in a Plot (e.g. number of stems, percentage cover, total biomass, basal area)."';
11697

  
11698

  
11699
--
11700
-- Name: COLUMN "viewFullOccurrence_individual_view"."individualOrganismObservation.id__@VegX__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11701
--
11702

  
11703
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."individualOrganismObservation.id__@VegX__@vegpath.org" IS 'the ID for "An observation applying to one occurrence of an organism (or part of an organism). It is a container for measurements made on the organism (e.g. diameter, height, crown dimensions, biomass, growth form, number of stems)."';
11704

  
11705

  
11706
--
11707
-- Name: COLUMN "viewFullOccurrence_individual_view"."individualID__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11708
--
11709

  
11710
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."individualID__@DwC__@vegpath.org" IS '"An identifier for an individual or named group of individual organisms represented in the Occurrence"';
11711

  
11712

  
11713
--
11714
-- Name: COLUMN "viewFullOccurrence_individual_view"."individualCount__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11715
--
11716

  
11717
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."individualCount__@DwC__@vegpath.org" IS '"The number of individuals represented present at the time of the Occurrence"';
11718

  
11719

  
11720
--
11721
-- Name: COLUMN "viewFullOccurrence_individual_view"."plantobservation.""_id__@VegBIEN__.public@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11722
--
11723

  
11724
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."plantobservation.""_id__@VegBIEN__.public@vegpath.org" IS 'http://plantobservation.plantobservation_id__@VegBIEN__.public@vegpath.org;
11725
autogenerated ID for plantobservation';
11726

  
11727

  
11728
--
11152 11729
-- Name: voucher; Type: TABLE; Schema: public; Owner: -; Tablespace: 
11153 11730
--
11154 11731

  
......
19040 19617

  
19041 19618

  
19042 19619
--
19620
-- Name: viewFullOccurrence_individual_view; Type: ACL; Schema: public; Owner: -
19621
--
19622

  
19623
REVOKE ALL ON TABLE "viewFullOccurrence_individual_view" FROM PUBLIC;
19624
REVOKE ALL ON TABLE "viewFullOccurrence_individual_view" FROM bien;
19625
GRANT ALL ON TABLE "viewFullOccurrence_individual_view" TO bien;
19626
GRANT SELECT ON TABLE "viewFullOccurrence_individual_view" TO bien_read;
19627

  
19628

  
19629
--
19043 19630
-- Name: voucher; Type: ACL; Schema: public; Owner: -
19044 19631
--
19045 19632

  
trunk/schemas/vegbien.sql
11149 11149

  
11150 11150

  
11151 11151
--
11152
-- Name: viewFullOccurrence_individual_view; Type: VIEW; Schema: public; Owner: -
11153
--
11154

  
11155
CREATE VIEW "viewFullOccurrence_individual_view" AS
11156
 SELECT "plot.**"."datasource__@Brad__.identifier_examples@vegpath.org",
11157
    "plot.**"."country__@DwC__@vegpath.org",
11158
    "plot.**"."stateProvince__@DwC__@vegpath.org",
11159
    "plot.**"."county__@DwC__@vegpath.org",
11160
    "plot.**"."locality__@DwC__@vegpath.org",
11161
    "plot.**"."decimalLatitude__@DwC__@vegpath.org",
11162
    "plot.**"."decimalLongitude__@DwC__@vegpath.org",
11163
    "plot.**"."coordinateUncertaintyInMeters__@DwC__@vegpath.org",
11164
    "plot.**"."georeferenceSources__@DwC__@vegpath.org",
11165
    "plot.**"."georeferenceProtocol__@DwC__@vegpath.org",
11166
    "plot.**".geovalid_bien,
11167
    "plot.**"."isNewWorld_bien",
11168
    "plot.**"."projectID__@VegX__.plotObservation@vegpath.org",
11169
    "plot.**"."projectContributor[s]__@VegBank__@vegpath.org",
11170
    "plot.**"."locationID__@DwC__@vegpath.org",
11171
    "plot.**"."plotName__@VegX__.plot@vegpath.org",
11172
    "plot.**"."subplot__@SALVIAS__.Plot_data@vegpath.org",
11173
    "plot.**".location__cultivated__bien,
11174
    "plot.**"."locationevent.locationevent_id__@VegBIEN__.public@vegpath.org",
11175
    "plot.**"."eventDate__@DwC__@vegpath.org",
11176
    "plot.**"."(-minimum-)ElevationInMeters__@DwC__@vegpath.org",
11177
    "plot.**"."slopeAspect[_deg]__@VegX__.plot@vegpath.org",
11178
    "plot.**"."slopeGradient[_deg]__@VegX__.plot@vegpath.org",
11179
    "plot.**"."plot.area[_ha]__@VegX__@vegpath.org",
11180
    "plot.**"."samplingProtocol__@DwC__@vegpath.org",
11181
    "plot.**"."temperature[_C]__@VegX__.plotObs.obsCond@vegpath.org",
11182
    "plot.**"."precip_mm__@SALVIAS__.Plot_metadata@vegpath.org",
11183
    "plot.**"."stratumName__@VegX__.stratum@vegpath.org",
11184
    "plot.**"."communityConcept.name__@VegX__.communityDet@vegpath.org",
11185
    "plot.**"."observationContributor[s]__@VegBank__@vegpath.org",
11186
    sourcelist.name AS "[custodial_]institutionCode[s]__@DwC__@vegpath.org",
11187
    specimenreplicate.collectioncode_dwc AS "collectionCode__@DwC__@vegpath.org",
11188
    specimenreplicate.catalognumber_dwc AS "catalogNumber__@DwC__@vegpath.org",
11189
    specimenreplicate.sourceaccessioncode AS "occurrenceID__@DwC__@vegpath.org",
11190
    collector.fullname AS "recordedBy__@DwC__@vegpath.org",
11191
    plantobservation.authorplantcode AS "recordNumber__@DwC__@vegpath.org",
11192
    COALESCE(aggregateoccurrence.collectiondate, "plot.**"."eventDate__@DwC__@vegpath.org") AS "(-Earliest-)DateCollected__-2007-04-17__@DwC__.hist@vegpath.org",
11193
    taxonverbatim.family AS "[verbatim_]family__@DwC__@vegpath.org",
11194
    COALESCE(taxonverbatim.taxonomicname, (taxonverbatim.taxonname || COALESCE((' '::text || taxonverbatim.author), ''::text)), taxonlabel.taxonomicname) AS "[verbatim_]scientificName__@DwC__@vegpath.org",
11195
    identifiedby.fullname AS "identifiedBy__@DwC__@vegpath.org",
11196
    taxondetermination.determinationdate AS "dateIdentified__@DwC__@vegpath.org",
11197
    taxondetermination.notes AS "identificationRemarks__@DwC__@vegpath.org",
11198
    taxon_scrub."*Name_matched_accepted_family" AS "Family_matched__@TNRS__@vegpath.org",
11199
    taxon_scrub."*Name_matched" AS "Name_matched__@TNRS__@vegpath.org",
11200
    taxon_scrub."*Name_matched_author" AS "Name_matched_author__@TNRS__@vegpath.org",
11201
    family_higher_plant_group.higher_plant_group AS "[higher_plant_group~]higherClassification__@DwC__@vegpath.org",
11202
    taxon_scrub."taxonomicStatus" AS "taxonomicStatus__@DwC__@vegpath.org",
11203
    taxon_scrub.scrubbed_family,
11204
    taxon_scrub.scrubbed_genus,
11205
    taxon_scrub.scrubbed_specific_epithet,
11206
    ((taxon_scrub.scrubbed_genus || ' '::text) || taxon_scrub.scrubbed_specific_epithet) AS scrubbed_species_binomial,
11207
    taxon_scrub.scrubbed_taxon_name_no_author,
11208
    taxon_scrub.scrubbed_author,
11209
    taxon_scrub.scrubbed_taxon_name_with_author,
11210
    taxon_scrub.scrubbed_morphospecies_binomial AS "speciesBinomialWithMorphospecies__@VegCore__@vegpath.org",
11211
    taxonoccurrence.growthform AS "[growth_form=]habit__@SALVIAS__.Plot_data@vegpath.org",
11212
    plantobservation.reproductivecondition AS "reproductiveCondition__@DwC__@vegpath.org",
11213
    (((cultivated_family_locations.country IS NOT NULL) OR _or(taxonoccurrence.iscultivated, "plot.**".location__cultivated__bien)))::integer AS cultivated_bien,
11214
        CASE
11215
            WHEN (taxonoccurrence.iscultivated IS NOT NULL) THEN taxonoccurrence.cultivatedbasis
11216
            WHEN ("plot.**".location__cultivated__bien IS NOT NULL) THEN NULL::text
11217
            ELSE NULL::text
11218
        END AS "cultivatedBasis_bien",
11219
    aggregateoccurrence.notes AS "occurrenceRemarks__@DwC__@vegpath.org",
11220
    _fraction_to_percent(aggregateoccurrence.cover_fraction) AS "coverPercent__@VegX__.attribute.ordinal@vegpath.org",
11221
    taxonoccurrence.sourceaccessioncode AS "taxonObservation[.id]__@VegBank__@vegpath.org",
11222
    taxonoccurrence.authortaxoncode AS "taxonNameUsageConcept.authorCode__@VegX__@vegpath.org",
11223
    aggregateoccurrence.sourceaccessioncode AS "aggregateOrganismObservation.id__@VegX__@vegpath.org",
11224
    plantobservation.sourceaccessioncode AS "individualOrganismObservation.id__@VegX__@vegpath.org",
11225
    plantobservation.authorplantcode AS "individualID__@DwC__@vegpath.org",
11226
    aggregateoccurrence.count AS "individualCount__@DwC__@vegpath.org",
11227
    plantobservation.plantobservation_id AS "plantobservation.""_id__@VegBIEN__.public@vegpath.org"
11228
   FROM ((((((((((((("plot.**"
11229
   LEFT JOIN taxonoccurrence ON ((taxonoccurrence.locationevent_id = "plot.**"."locationevent.locationevent_id__@VegBIEN__.public@vegpath.org")))
11230
   LEFT JOIN party collector ON ((collector.party_id = taxonoccurrence.collector_id)))
11231
   LEFT JOIN aggregateoccurrence USING (taxonoccurrence_id))
11232
   LEFT JOIN plantobservation USING (aggregateoccurrence_id))
11233
   LEFT JOIN specimenreplicate USING (plantobservation_id))
11234
   LEFT JOIN sourcelist ON ((sourcelist.sourcelist_id = specimenreplicate.duplicate_institutions_sourcelist_id)))
11235
   LEFT JOIN taxondetermination ON (((taxondetermination.taxonoccurrence_id = taxonoccurrence.taxonoccurrence_id) AND taxondetermination.iscurrent)))
11236
   LEFT JOIN party identifiedby ON ((identifiedby.party_id = taxondetermination.party_id)))
11237
   LEFT JOIN taxonverbatim USING (taxonverbatim_id))
11238
   LEFT JOIN taxonlabel USING (taxonlabel_id))
11239
   LEFT JOIN "TNRS".taxon_scrub ON ((taxon_scrub."*Name_submitted" = taxonlabel.taxonomicname)))
11240
   LEFT JOIN family_higher_plant_group ON ((family_higher_plant_group.family = taxon_scrub.scrubbed_family)))
11241
   LEFT JOIN cultivated_family_locations ON (((cultivated_family_locations.family = taxon_scrub.scrubbed_family) AND (cultivated_family_locations.country = "plot.**"."country__@DwC__@vegpath.org"))));
11242

  
11243

  
11244
--
11245
-- Name: COLUMN "viewFullOccurrence_individual_view"."datasource__@Brad__.identifier_examples@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11246
--
11247

  
11248
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."datasource__@Brad__.identifier_examples@vegpath.org" IS '"the person [or] institution that provided the data [to this database] (the *proximate* data provider)"';
11249

  
11250

  
11251
--
11252
-- Name: COLUMN "viewFullOccurrence_individual_view"."country__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11253
--
11254

  
11255
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."country__@DwC__@vegpath.org" IS 'http://geoscrub.geoscrub_output.acceptedCountry__@VegBIEN__@vegpath.org;
11256
"The name of the country or major administrative unit in which the Location occurs"';
11257

  
11258

  
11259
--
11260
-- Name: COLUMN "viewFullOccurrence_individual_view"."stateProvince__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11261
--
11262

  
11263
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."stateProvince__@DwC__@vegpath.org" IS '"The name of the next smaller administrative region than country (state, province, canton, department, region, etc.) in which the Location occurs"';
11264

  
11265

  
11266
--
11267
-- Name: COLUMN "viewFullOccurrence_individual_view"."county__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11268
--
11269

  
11270
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."county__@DwC__@vegpath.org" IS '"The full, unabbreviated name of the next smaller administrative region than stateProvince (county, shire, department, etc.) in which the Location occurs"';
11271

  
11272

  
11273
--
11274
-- Name: COLUMN "viewFullOccurrence_individual_view"."locality__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11275
--
11276

  
11277
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."locality__@DwC__@vegpath.org" IS '"The specific description of the place"';
11278

  
11279

  
11280
--
11281
-- Name: COLUMN "viewFullOccurrence_individual_view"."decimalLatitude__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11282
--
11283

  
11284
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."decimalLatitude__@DwC__@vegpath.org" IS '"The geographic latitude (in decimal degrees, using the spatial reference system given in geodeticDatum) of the geographic center of a Location"';
11285

  
11286

  
11287
--
11288
-- Name: COLUMN "viewFullOccurrence_individual_view"."decimalLongitude__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11289
--
11290

  
11291
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."decimalLongitude__@DwC__@vegpath.org" IS '"The geographic longitude (in decimal degrees, using the spatial reference system given in geodeticDatum) of the geographic center of a Location"';
11292

  
11293

  
11294
--
11295
-- Name: COLUMN "viewFullOccurrence_individual_view"."coordinateUncertaintyInMeters__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11296
--
11297

  
11298
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."coordinateUncertaintyInMeters__@DwC__@vegpath.org" IS 'for a point observation, this is the fuzziness of the coordinates. for a plot (or other shape), this is the radius of the circle that circumscribes the entire plot, or the fuzziness, whichever is greater. note that the DwC definition is confusingly worded: it uses the ambiguous term Location, which sometimes refers to the asserted named place, but which they intended to refer to the plot or point.';
11299

  
11300

  
11301
--
11302
-- Name: COLUMN "viewFullOccurrence_individual_view"."georeferenceSources__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11303
--
11304

  
11305
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."georeferenceSources__@DwC__@vegpath.org" IS '"A list (concatenated and separated) of maps, gazetteers, or other resources used to georeference the Location, described specifically enough to allow anyone in the future to use the same resources"';
11306

  
11307

  
11308
--
11309
-- Name: COLUMN "viewFullOccurrence_individual_view"."georeferenceProtocol__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11310
--
11311

  
11312
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."georeferenceProtocol__@DwC__@vegpath.org" IS '"A description or reference to the methods used to determine the spatial footprint, coordinates, and uncertainties"';
11313

  
11314

  
11315
--
11316
-- Name: COLUMN "viewFullOccurrence_individual_view".geovalid_bien; Type: COMMENT; Schema: public; Owner: -
11317
--
11318

  
11319
COMMENT ON COLUMN "viewFullOccurrence_individual_view".geovalid_bien IS 'whether the coordinates are within the boundary of the asserted named places';
11320

  
11321

  
11322
--
11323
-- Name: COLUMN "viewFullOccurrence_individual_view"."isNewWorld_bien"; Type: COMMENT; Schema: public; Owner: -
11324
--
11325

  
11326
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."isNewWorld_bien" IS 'whether the country is in the Americas';
11327

  
11328

  
11329
--
11330
-- Name: COLUMN "viewFullOccurrence_individual_view"."projectID__@VegX__.plotObservation@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11331
--
11332

  
11333
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."projectID__@VegX__.plotObservation@vegpath.org" IS 'http://project.sourceaccessioncode__@VegBIEN__.public@vegpath.org;
11334
"A reference to a specific ''project''"';
11335

  
11336

  
11337
--
11338
-- Name: COLUMN "viewFullOccurrence_individual_view"."projectContributor[s]__@VegBank__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11339
--
11340

  
11341
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."projectContributor[s]__@VegBank__@vegpath.org" IS '"intersection entit[ies] used to ''link'' a party with a specific project wherein vegetation plots are described"';
11342

  
11343

  
11344
--
11345
-- Name: COLUMN "viewFullOccurrence_individual_view"."locationID__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11346
--
11347

  
11348
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."locationID__@DwC__@vegpath.org" IS '"An identifier for the set of location information (data associated with dcterms:Location)"';
11349

  
11350

  
11351
--
11352
-- Name: COLUMN "viewFullOccurrence_individual_view"."plotName__@VegX__.plot@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11353
--
11354

  
11355
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."plotName__@VegX__.plot@vegpath.org" IS '"Name or label for a plot"';
11356

  
11357

  
11358
--
11359
-- Name: COLUMN "viewFullOccurrence_individual_view"."subplot__@SALVIAS__.Plot_data@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11360
--
11361

  
11362
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."subplot__@SALVIAS__.Plot_data@vegpath.org" IS 'http://location.authorlocationcode__@VegBIEN__.public@vegpath.org;
11363
"Code for subplot, line, or any other subsample or subdivision of plot"';
11364

  
11365

  
11366
--
11367
-- Name: COLUMN "viewFullOccurrence_individual_view".location__cultivated__bien; Type: COMMENT; Schema: public; Owner: -
11368
--
11369

  
11370
COMMENT ON COLUMN "viewFullOccurrence_individual_view".location__cultivated__bien IS 'whether the occurrence''s *location* was flagged as cultivated. note that this refers just to the cultivated status of the *location*; the occurrence may be cultivated even if the location isn''t.';
11371

  
11372

  
11373
--
11374
-- Name: COLUMN "viewFullOccurrence_individual_view"."locationevent.locationevent_id__@VegBIEN__.public@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11375
--
11376

  
11377
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."locationevent.locationevent_id__@VegBIEN__.public@vegpath.org" IS 'http://locationevent.locationevent_id__@VegBIEN__.public@vegpath.org;
11378
autogenerated ID for locationevent';
11379

  
11380

  
11381
--
11382
-- Name: COLUMN "viewFullOccurrence_individual_view"."eventDate__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11383
--
11384

  
11385
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."eventDate__@DwC__@vegpath.org" IS '"The date-time or interval during which an Event occurred. For occurrences, this is the date-time when the event was recorded."';
11386

  
11387

  
11388
--
11389
-- Name: COLUMN "viewFullOccurrence_individual_view"."(-minimum-)ElevationInMeters__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11390
--
11391

  
11392
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."(-minimum-)ElevationInMeters__@DwC__@vegpath.org" IS 'the "elevation (altitude, usually above sea level), in meters"';
11393

  
11394

  
11395
--
11396
-- Name: COLUMN "viewFullOccurrence_individual_view"."slopeAspect[_deg]__@VegX__.plot@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11397
--
11398

  
11399
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."slopeAspect[_deg]__@VegX__.plot@vegpath.org" IS '"Representative azimuth of slope gradient (0-360 degrees) or as a cardinal direction (e.g. N, S, NE)"';
11400

  
11401

  
11402
--
11403
-- Name: COLUMN "viewFullOccurrence_individual_view"."slopeGradient[_deg]__@VegX__.plot@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11404
--
11405

  
11406
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."slopeGradient[_deg]__@VegX__.plot@vegpath.org" IS '"Representative inclination of slope in degrees"';
11407

  
11408

  
11409
--
11410
-- Name: COLUMN "viewFullOccurrence_individual_view"."plot.area[_ha]__@VegX__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11411
--
11412

  
11413
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."plot.area[_ha]__@VegX__@vegpath.org" IS '"Total area of the plot"';
11414

  
11415

  
11416
--
11417
-- Name: COLUMN "viewFullOccurrence_individual_view"."samplingProtocol__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11418
--
11419

  
11420
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."samplingProtocol__@DwC__@vegpath.org" IS '"The name of, reference to, or description of the method or protocol used during an Event"';
11421

  
11422

  
11423
--
11424
-- Name: COLUMN "viewFullOccurrence_individual_view"."temperature[_C]__@VegX__.plotObs.obsCond@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11425
--
11426

  
11427
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."temperature[_C]__@VegX__.plotObs.obsCond@vegpath.org" IS '"Temperature during observation [...] [in] Celsius"';
11428

  
11429

  
11430
--
11431
-- Name: COLUMN "viewFullOccurrence_individual_view"."precip_mm__@SALVIAS__.Plot_metadata@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11432
--
11433

  
11434
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."precip_mm__@SALVIAS__.Plot_metadata@vegpath.org" IS '"Total annual precipitation, in mm"';
11435

  
11436

  
11437
--
11438
-- Name: COLUMN "viewFullOccurrence_individual_view"."stratumName__@VegX__.stratum@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11439
--
11440

  
11441
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."stratumName__@VegX__.stratum@vegpath.org" IS '"Name associated with this stratum"';
11442

  
11443

  
11444
--
11445
-- Name: COLUMN "viewFullOccurrence_individual_view"."communityConcept.name__@VegX__.communityDet@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11446
--
11447

  
11448
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."communityConcept.name__@VegX__.communityDet@vegpath.org" IS '"A textual label for a community type. A community type is an abstract grouping of organisms that tend to co-occur on the landscape due to shared ecological requirements or preferences."';
11449

  
11450

  
11451
--
11452
-- Name: COLUMN "viewFullOccurrence_individual_view"."observationContributor[s]__@VegBank__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11453
--
11454

  
11455
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."observationContributor[s]__@VegBank__@vegpath.org" IS '"intersection[s] that link[] a party with a specific plot observation event"';
11456

  
11457

  
11458
--
11459
-- Name: COLUMN "viewFullOccurrence_individual_view"."[custodial_]institutionCode[s]__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11460
--
11461

  
11462
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."[custodial_]institutionCode[s]__@DwC__@vegpath.org" IS '"The name[s] (or acronym[s]) in use by the institution[s] having custody of the object(s) or information referred to in the record"';
11463

  
11464

  
11465
--
11466
-- Name: COLUMN "viewFullOccurrence_individual_view"."collectionCode__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11467
--
11468

  
11469
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."collectionCode__@DwC__@vegpath.org" IS '"The name, acronym, coden, or initialism identifying the collection or data set from which the record was derived"';
11470

  
11471

  
11472
--
11473
-- Name: COLUMN "viewFullOccurrence_individual_view"."catalogNumber__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11474
--
11475

  
11476
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."catalogNumber__@DwC__@vegpath.org" IS '"An identifier (preferably unique) for the record within the data set or collection"';
11477

  
11478

  
11479
--
11480
-- Name: COLUMN "viewFullOccurrence_individual_view"."occurrenceID__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11481
--
11482

  
11483
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."occurrenceID__@DwC__@vegpath.org" IS '"An identifier for the Occurrence (as opposed to a particular digital record of the occurrence). In the absence of a persistent global unique identifier, construct one from a combination of identifiers in the record that will most closely make the occurrenceID globally unique."';
11484

  
11485

  
11486
--
11487
-- Name: COLUMN "viewFullOccurrence_individual_view"."recordedBy__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11488
--
11489

  
11490
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."recordedBy__@DwC__@vegpath.org" IS '"A list (concatenated and separated) of names of people, groups, or organizations responsible for recording the original Occurrence. The primary collector or observer, especially one who applies a personal identifier (recordNumber), should be listed first."';
11491

  
11492

  
11493
--
11494
-- Name: COLUMN "viewFullOccurrence_individual_view"."recordNumber__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11495
--
11496

  
11497
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."recordNumber__@DwC__@vegpath.org" IS '"An identifier given to the Occurrence at the time it was recorded. Often serves as a link between field notes and an Occurrence record, such as a specimen collector''s number."';
11498

  
11499

  
11500
--
11501
-- Name: COLUMN "viewFullOccurrence_individual_view"."(-Earliest-)DateCollected__-2007-04-17__@DwC__.hist@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11502
--
11503

  
11504
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."(-Earliest-)DateCollected__-2007-04-17__@DwC__.hist@vegpath.org" IS 'the "date-time (Common Era calendar) in a date-time period during which an organism or group of organisms was collected or observed"';
11505

  
11506

  
11507
--
11508
-- Name: COLUMN "viewFullOccurrence_individual_view"."[verbatim_]family__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11509
--
11510

  
11511
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."[verbatim_]family__@DwC__@vegpath.org" IS '"The full scientific name of the family in which the taxon is classified [*before* any TNRS scrubbing]"';
11512

  
11513

  
11514
--
11515
-- Name: COLUMN "viewFullOccurrence_individual_view"."[verbatim_]scientificName__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11516
--
11517

  
11518
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."[verbatim_]scientificName__@DwC__@vegpath.org" IS '"The full scientific name [*before* any TNRS scrubbing], with authorship and date information if known. When forming part of an Identification, this should be the name in lowest level taxonomic rank that can be determined."';
11519

  
11520

  
11521
--
11522
-- Name: COLUMN "viewFullOccurrence_individual_view"."identifiedBy__@DwC__@vegpath.org"; Type: COMMENT; Schema: public; Owner: -
11523
--
11524

  
11525
COMMENT ON COLUMN "viewFullOccurrence_individual_view"."identifiedBy__@DwC__@vegpath.org" IS '"A list (concatenated and separated) of names of people, groups, or organizations who assigned the Taxon to the subject"';
11526

  
11527

  
11528
--
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff