Skip to content

Commit

Permalink
Added RSS stuff to data extraction from UKSI Access DB
Browse files Browse the repository at this point in the history
  • Loading branch information
burkmarr committed Sep 26, 2023
1 parent c572e0d commit 6e40434
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions administrating/warehouse/importing-uksi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,26 @@ now been removed from the online recording copy of UKSI.
SELECT INPUT_TAXON_VERSION_KEY, RECOMMENDED_TAXON_VERSION_KEY
FROM NAMESERVER;
**Query 11 - title=recording_schemes**

Retrieves all extant recording schemes - their keys and their titles.

.. code-block:: sql
SELECT SCHEME_KEY, SCHEME_NAME
FROM SCHEME
WHERE DELETED_DATE IS NULL;
**Query 12 - title=recording_scheme_taxa**

Retrieves the relationships between recording schemes and their taxa.

.. code-block:: sql
SELECT SCHEME_KEY, ORGANISM_KEY
FROM SCHEME_TAXA
WHERE DELETED_DATE IS NULL;
Now, run query 1 which fixes ORGANISM_MASTER records so they reliably point to an accepted name,
never a synonym.

Expand Down

0 comments on commit 6e40434

Please sign in to comment.