Revision 7288
Added by ben leinfelder over 12 years ago
src/doi_registration.sql | ||
---|---|---|
264 | 264 |
update doi_registration |
265 | 265 |
set title = regexp_replace(title, E'^\\s+', '', 'g'); |
266 | 266 |
|
267 |
update doi_registration |
|
268 |
set ezid_account = 'KNB' |
|
269 |
where guid like 'doi:10.5063%'; |
|
270 |
--16988 |
|
271 |
|
|
272 |
update doi_registration |
|
273 |
set ezid_account = 'PISCO' |
|
274 |
where guid like 'doi:10.6085%'; |
|
275 |
--98078 |
|
276 |
|
|
277 |
update doi_registration |
|
278 |
set ezid_account = 'LTER' |
|
279 |
where guid like 'doi:10.6073%'; |
|
280 |
--49482 |
|
281 |
|
|
267 | 282 |
COPY (select ezid_account, guid as doi, url, title, creator, publisher, pub_date from doi_registration order by doi) |
268 | 283 |
TO '/tmp/doi_registration.csv' |
269 | 284 |
WITH CSV HEADER; |
285 |
--164548 |
|
270 | 286 |
|
271 | 287 |
--drop table doi_registration; |
272 | 288 |
|
Also available in: Unified diff
update the table to indicate which DOI account we are targeting
https://redmine.dataone.org/issues/2815