root/inputs/REMIB/Specimen/postprocess.sql @ 7249
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 |
;
|