Class: Export::Dwca::GbifProfile::SpeciesDistribution
- Inherits:
-
Object
- Object
- Export::Dwca::GbifProfile::SpeciesDistribution
- Defined in:
- lib/export/dwca/gbif_profile/species_distribution.rb
Constant Summary collapse
- NAMESPACES =
{ :taxonID => 'http://rs.tdwg.org/dwc/terms/taxonID', :locality => 'http://rs.tdwg.org/dwc/terms/locality', :locationID => 'http://rs.tdwg.org/dwc/terms/locationID', :countryCode => 'http://rs.tdwg.org/dwc/terms/countryCode', :lifeStage => 'http://rs.tdwg.org/dwc/terms/lifeStage', :occurrenceStatus => 'http://rs.tdwg.org/dwc/terms/occurrenceStatus', :threatStatus => 'http://rs.gbif.org/terms/1.0/threatStatus', :establishmentMeans => 'http://rs.tdwg.org/dwc/terms/establishmentMeans', :appendixCITES => 'http://rs.gbif.org/terms/1.0/appendixCITES', :eventDate => 'http://rs.tdwg.org/dwc/terms/eventDate', :startDayOfYear => 'http://rs.tdwg.org/dwc/terms/startDayOfYear', :endDayOfYear => 'http://rs.tdwg.org/dwc/terms/endDayOfYear', :source => 'http://purl.org/dc/terms/source', :occurrenceRemarks => 'http://rs.tdwg.org/dwc/terms/occurrenceRemarks' }.freeze
Instance Attribute Summary collapse
-
#appendixCITES ⇒ String
appendixCITES (http://rs.gbif.org/terms/1.0/appendixCITES).
-
#countryCode ⇒ String
countryCode (http://rs.tdwg.org/dwc/terms/countryCode).
-
#endDayOfYear ⇒ String
endDayOfYear (http://rs.tdwg.org/dwc/terms/endDayOfYear).
-
#establishmentMeans ⇒ String
establishmentMeans (http://rs.tdwg.org/dwc/terms/establishmentMeans).
-
#eventDate ⇒ String
eventDate (http://rs.tdwg.org/dwc/terms/eventDate).
-
#lifeStage ⇒ String
lifeStage (http://rs.tdwg.org/dwc/terms/lifeStage).
-
#locality ⇒ String
locality (http://rs.tdwg.org/dwc/terms/locality).
-
#locationID ⇒ String
locationID (http://rs.tdwg.org/dwc/terms/locationID).
-
#occurrenceRemarks ⇒ String
occurrenceRemarks (http://rs.tdwg.org/dwc/terms/occurrenceRemarks).
-
#occurrenceStatus ⇒ String
occurrenceStatus (http://rs.tdwg.org/dwc/terms/occurrenceStatus).
-
#source ⇒ String
source (http://purl.org/dc/terms/source).
-
#startDayOfYear ⇒ String
startDayOfYear (http://rs.tdwg.org/dwc/terms/startDayOfYear).
-
#taxonID ⇒ String
taxonID (http://rs.tdwg.org/dwc/terms/taxonID).
-
#threatStatus ⇒ String
threatStatus (http://rs.gbif.org/terms/1.0/threatStatus).
Instance Attribute Details
#appendixCITES ⇒ String
appendixCITES (http://rs.gbif.org/terms/1.0/appendixCITES)
The CITES (Convention on International Trade in Endangered Species of Wild Fauna and Flora) Appendix number the taxa is listed. It is possible to have different appendix numbers for different areas, but "global" as an area is also valid if its the same worldwide
Vocabulary: http://rs.gbif.org/vocabulary/un/cites_appendix.xml
Example: "II"
123 124 125 |
# File 'lib/export/dwca/gbif_profile/species_distribution.rb', line 123 def appendixCITES @appendixCITES end |
#countryCode ⇒ String
countryCode (http://rs.tdwg.org/dwc/terms/countryCode)
ISO3166 alpha 2 (3 is permissable) country codes the area belongs to or as an alternative for a lcoationID if the area is a country. For multiple countries separate values with a comma "," Use country name if necessary.
Example: "AR" "US;CA;MX"
62 63 64 |
# File 'lib/export/dwca/gbif_profile/species_distribution.rb', line 62 def countryCode @countryCode end |
#endDayOfYear ⇒ String
endDayOfYear (http://rs.tdwg.org/dwc/terms/endDayOfYear)
Seasonal temporal subcontext within the eventDate context. The latest ordinal day of the year on which the distribution record is valid
Example: "120"
154 155 156 |
# File 'lib/export/dwca/gbif_profile/species_distribution.rb', line 154 def endDayOfYear @endDayOfYear end |
#establishmentMeans ⇒ String
establishmentMeans (http://rs.tdwg.org/dwc/terms/establishmentMeans)
Term describing whether the organism occurs natively, is introduced or cultivated.
Vocabulary: http://rs.gbif.org/vocabulary/gbif/establishment_means.xml
Example: "introduced"
110 111 112 |
# File 'lib/export/dwca/gbif_profile/species_distribution.rb', line 110 def establishmentMeans @establishmentMeans end |
#eventDate ⇒ String
eventDate (http://rs.tdwg.org/dwc/terms/eventDate)
Relevant temporal context for the distribution record. Preferably given as a year range or single year on which the distribution record is valid. For the same area and taxon there could therefore be several records with different temporal context, e.g. in 5 year intervals for invasive species.
Example: "1930"; "1939-1945"
134 135 136 |
# File 'lib/export/dwca/gbif_profile/species_distribution.rb', line 134 def eventDate @eventDate end |
#lifeStage ⇒ String
lifeStage (http://rs.tdwg.org/dwc/terms/lifeStage)
The distribution information pertains solely to a specific life stage of the taxon. See the Life Stage vocabulary at http://rs.gbif.org/vocabulary/gbif/life_stage.xml for recommended values.
Vocabulary: http://rs.gbif.org/vocabulary/gbif/life_stage.xml
Example: "adult"
75 76 77 |
# File 'lib/export/dwca/gbif_profile/species_distribution.rb', line 75 def lifeStage @lifeStage end |
#locality ⇒ String
locality (http://rs.tdwg.org/dwc/terms/locality)
The verbatim name of the area this distributon record is about.
Example: "Patagonia"
39 40 41 |
# File 'lib/export/dwca/gbif_profile/species_distribution.rb', line 39 def locality @locality end |
#locationID ⇒ String
locationID (http://rs.tdwg.org/dwc/terms/locationID)
A code for the named area this distributon record is about. See http://en.wikipedia.org/wiki/ISO_3166-2 for state codes within a country, otherwise use a prefix for each code to indicate the source of the code. See http://rs.gbif.org/areas/ for GBIF recommended area vocabularies
Example: "TDWG:AGS-TF; ISO3166:AR; WOEID:564721"
51 52 53 |
# File 'lib/export/dwca/gbif_profile/species_distribution.rb', line 51 def locationID @locationID end |
#occurrenceRemarks ⇒ String
occurrenceRemarks (http://rs.tdwg.org/dwc/terms/occurrenceRemarks)
Comments or notes about the distribution
Example: "Excluded because of misidentification"
173 174 175 |
# File 'lib/export/dwca/gbif_profile/species_distribution.rb', line 173 def occurrenceRemarks @occurrenceRemarks end |
#occurrenceStatus ⇒ String
occurrenceStatus (http://rs.tdwg.org/dwc/terms/occurrenceStatus)
Term describing the status of the organism in the given area based on how frequent the species occurs. See the Occurrence status vocabulary at http://rs.gbif.org/vocabulary/gbif/occurrence_status.xml for recommended values.
Vocabulary: http://rs.gbif.org/vocabulary/gbif/occurrence_status.xml
Example: "Absent" "present"
88 89 90 |
# File 'lib/export/dwca/gbif_profile/species_distribution.rb', line 88 def occurrenceStatus @occurrenceStatus end |
#source ⇒ String
source (http://purl.org/dc/terms/source)
Source reference for this distribution record. Can be proper publication citation, a webpage URL, etc.
Example: "Euro+Med Plantbase - the information resource for Euro-Mediterranean plant diversity (2006-). Published on the Internet http://ww2.bgbm.org/EuroPlusMed/ July, 2009"
165 166 167 |
# File 'lib/export/dwca/gbif_profile/species_distribution.rb', line 165 def source @source end |
#startDayOfYear ⇒ String
startDayOfYear (http://rs.tdwg.org/dwc/terms/startDayOfYear)
Seasonal temporal subcontext within the eventDate context. Useful for migratory species. The earliest ordinal day of the year on which the distribution record is valid. Numbering starts with 1 for January 1 and ends with 365 (or 366 if it is a leap year) for December 31.
Example: "90"
145 146 147 |
# File 'lib/export/dwca/gbif_profile/species_distribution.rb', line 145 def startDayOfYear @startDayOfYear end |
#taxonID ⇒ String
taxonID (http://rs.tdwg.org/dwc/terms/taxonID)
The first field in the data file should be the taxonID representing the taxon in the core data file to which this distribution record points. This identifier provides the link between the core data record and the extension record.
31 32 33 |
# File 'lib/export/dwca/gbif_profile/species_distribution.rb', line 31 def taxonID @taxonID end |
#threatStatus ⇒ String
threatStatus (http://rs.gbif.org/terms/1.0/threatStatus)
Threat status of a species as defined by IUCN: http://www.iucnredlist.org/static/categories_criteria_3_1 - categories
Vocabulary: http://rs.gbif.org/vocabulary/iucn/threat_status.xml
Example: "EX" "EW" "CR"
99 100 101 |
# File 'lib/export/dwca/gbif_profile/species_distribution.rb', line 99 def threatStatus @threatStatus end |