Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

86 missing wos ids #108

Merged
merged 6 commits into from
Jul 12, 2016
Merged

86 missing wos ids #108

merged 6 commits into from
Jul 12, 2016

Conversation

dazza-codes
Copy link
Contributor

@dazza-codes dazza-codes commented Jun 14, 2016

This script will log some details for all the ScienceWire publications with a missing WoSItemID. On a prod-db-dump, all of the identified publications did not have a WoSItemID in the ScienceWireSourceRecord. No attempt is made to re-harvest the publications; if that is a requirement, it can be added, but that will be extra work to change this script from a read-only operation into an update operation.

This should fix #86

@dazza-codes dazza-codes added this to the Sprint 7 milestone Jun 14, 2016
@dazza-codes dazza-codes changed the title 86 missing wos ids [WIP] 86 missing wos ids Jun 14, 2016
@dazza-codes
Copy link
Contributor Author

dazza-codes commented Jun 14, 2016

We've discovered that some SW pubs could be updated with a new WoSItemID value from SW, so they should be harvested when missing. This script can be enhanced to do so, marked this PR as [WIP] to evaluate this.

@dazza-codes dazza-codes force-pushed the 86-missing-wos-ids branch 2 times, most recently from db9a20c to e82e1a7 Compare June 14, 2016 23:25
@dazza-codes
Copy link
Contributor Author

dazza-codes commented Jun 14, 2016

Running the new script on my laptop prod-db-dump to check it out. The script updated about 30,000 SW publications in the prod-db-dump on my laptop. About 5,000 of those have a new WoSItemID value.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.08%) to 87.75% when pulling e1019ca on 86-missing-wos-ids into 5ef65b5 on master.

@dazza-codes dazza-codes changed the title [WIP] 86 missing wos ids Update missing WoSItemID values Jun 15, 2016
@dazza-codes dazza-codes changed the title Update missing WoSItemID values [WIP] 86 missing wos ids Jun 15, 2016
@dazza-codes dazza-codes changed the title [WIP] 86 missing wos ids 86 missing wos ids Jun 20, 2016
@drh-stanford
Copy link

This PR looks good. Can you add the scriptie description to https://github.com/sul-dlss/sul_pub/wiki/Useful-Rails-runner-scripties?

@drh-stanford drh-stanford self-assigned this Jul 12, 2016
@dazza-codes
Copy link
Contributor Author

@drh-stanford drh-stanford merged commit 1c44be2 into master Jul 12, 2016
@drh-stanford drh-stanford deleted the 86-missing-wos-ids branch July 12, 2016 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some publications from WoS (provenance=sciencewire) are missing WoS IDs?
3 participants