Project

General

Profile

« Previous | Next » 

Revision 7249

Added inputs/REMIB/Specimen/postprocess.sql to remove institutions that we have direct data for

View differences:

inputs/REMIB/Specimen/postprocess.sql
1
CREATE INDEX ON :table (acronym);
2

  
3
-- Remove institutions that we have direct data for
4
DELETE FROM :table
5
WHERE acronym IN (
6
      'ARIZ'
7
    , 'MO'
8
    , 'NY'
9
)
10
/* list obtained using:
11
SELECT provider
12
FROM sourcelist
13
JOIN provider_count ON
14
    level = 'top-level'
15
AND provider_count.provider = sourcelist.name
16
WHERE source_id = source_by_shortname('REMIB')
17
*/
18
;

Also available in: Unified diff