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

Refactor code for calculating citation impact to improve efficiency #28

Open
paulalbert1 opened this issue Jun 27, 2018 · 0 comments
Open

Comments

@paulalbert1
Copy link
Contributor

Current state

The script checks for updates only be checking to see if citations are new or citation count is updated. Then it calculates the percentile rank and indexes entity IDs. This does not account for cases where external authors become internal authors.

Proposed solution

In update query, get all entity IDs from violin_wcmc_article, check authorships in field_data_endpoints table, and get the entity ID from node table from authorships and compare it against violin_wcmc_author table for those entity IDs. Additionally, also check for changes to citation count as well, and mark those entity IDs for indexing. Also, check the entity IDs where authorship entity IDs has changed in violin_wcmc_author table.

@paulalbert1 paulalbert1 changed the title Refactor code for calculating citation impact to improve efficieny Refactor code for calculating citation impact to improve efficiency Jun 27, 2018
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

No branches or pull requests

1 participant