An output_schema (currently: dopa) is created.
After processing (scripted in non_spatial_processing.sql), the output schema contains:
- dopa_species (main table)
id_no
bigint, derived from non_spatial_taxonomy, selected if existing in previously created table all_species_listphylum
text, derived from non_spatial_taxonomyclass
text, derived from non_spatial_taxonomyorder_
text, derived from non_spatial_taxonomyfamily
text, derived from non_spatial_taxonomygenus
text, derived from non_spatial_taxonomybinomial
, text derived from non_spatial_taxonomyendemic
, booleanecosystems
text[], derived from non_spatial_assessments, field systemscategory
text, derived from non_spatial_assessments, field redlistcategorythreatened
boolean, derived from non_spatial_assessments, field redlistcategory, selecting 'Critically Endangered','Endangered' and 'Vulnerable' speciescountry
text[], derived from _non_spatial_countries, field code (ISO2 country code), selecting in the fields:- presence: 'Extant'
- origin: 'Native','Reintroduced','Assisted Colonisation'
- seasonality: 'Non-Breeding Season','Breeding Season','Resident',NULL (this last one is a weakness, we wait for clairfication from IUCN).
country_n
integer, derived from counts on previous fieldcountry
,conservation
_needed text[], derived from non_spatial_conservation_neededhabitats
text[], derived from non_spatial_habitatsresearch
_needed text[], derived from non_spatial_research_neededstresses
text[], derived from non_spatial_threats, fields stresscode,stressnamethreats
text[], derived from non_spatial_threatsusetrade
integer[], derived from non_spatial_usetrade
- class_species_category
- class_species_conservation_needed
- class_species_habitats
- class_species_research_needed
- class_species_stresses
- class_species_threats
- class_species_usetrade.