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

Correct impact score #29

Open
wants to merge 12 commits into
base: dev
Choose a base branch
from
2 changes: 1 addition & 1 deletion setup/createEventsProceduresReciterDb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2440,7 +2440,7 @@ where a.journalImpactScore2 is null and a.issn is not null;

update analysis_summary_article a
join journal_impact_alternative i on i.eissn = a.issn
set journalImpactScore2 = i.impactScore2
set journalImpactScore2 = i.impactScore1
where a.journalImpactScore2 is null and a.issn is not null;


Expand Down
2 changes: 1 addition & 1 deletion update/retrieveDynamoDb.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ def scan_table(table_name, is_filter_expression): #runtime: about 15min
print(len(count_authors_dict))

f = open(outputPath + 'person_article_author1.csv','w', encoding='utf-8')
f.write("personIdentifier," + "pmid," + "authorFirstName," + "authorLastName," + "targetAuthor," + "rank," + "orcid" + "equalContrib" + "\n")
f.write("personIdentifier," + "pmid," + "authorFirstName," + "authorLastName," + "targetAuthor," + "rank," + "orcid," + "equalContrib" + "\n")

count = 0
for i in range(len(items)):
Expand Down