1 |
7249
|
aaronmk
|
CREATE INDEX ON :table (acronym);
|
2 |
|
|
|
3 |
|
|
-- Remove institutions that we have direct data for
|
4 |
|
|
DELETE FROM :table
|
5 |
|
|
WHERE acronym IN (
|
6 |
7250
|
aaronmk
|
-- Comments are from e-mail from Brad Boyle on 2013-1-16
|
7 |
|
|
'MO' -- "all MO records in REMIB are also available from MO's own website"
|
8 |
|
|
--, 'ARIZ' -- Some REMIB ARIZ specimens not yet in ARIZ itself
|
9 |
|
|
--, 'NY' -- Some REMIB NY specimens not yet in NY itself
|
10 |
7249
|
aaronmk
|
)
|
11 |
|
|
/* list obtained using:
|
12 |
|
|
SELECT provider
|
13 |
|
|
FROM sourcelist
|
14 |
|
|
JOIN provider_count ON
|
15 |
|
|
level = 'top-level'
|
16 |
|
|
AND provider_count.provider = sourcelist.name
|
17 |
|
|
WHERE source_id = source_by_shortname('REMIB')
|
18 |
|
|
*/
|
19 |
|
|
;
|