Commit
·
7b589fe
1
Parent(s):
9fde5ad
Update Climate_site/python_scripts/paper_functions.py
Browse files
Climate_site/python_scripts/paper_functions.py
CHANGED
|
@@ -1030,7 +1030,7 @@ def main_authors(technologies,number_technology , carbon_related , size , resear
|
|
| 1030 |
name_file = "iea"
|
| 1031 |
list_categories = key_words( name_file, False)
|
| 1032 |
dic_details = details(name_file , False)
|
| 1033 |
-
dic_papers , dic_papers_ranked = ranking_papers(number_technology, dic_details , False ,
|
| 1034 |
|
| 1035 |
dic_papers_co_authors = {}
|
| 1036 |
|
|
@@ -1093,7 +1093,7 @@ def main_authors(technologies,number_technology , carbon_related , size , resear
|
|
| 1093 |
dic_papers_co_authors[author_name_norm]["Number of citations"] = cited_by_count
|
| 1094 |
|
| 1095 |
|
| 1096 |
-
return pd.DataFrame(dic_papers_co_authors, index = [ "Author's name(s)" , "Number of occurence within the " + str(
|
| 1097 |
|
| 1098 |
else:
|
| 1099 |
return ("Select another category")
|
|
|
|
| 1030 |
name_file = "iea"
|
| 1031 |
list_categories = key_words( name_file, False)
|
| 1032 |
dic_details = details(name_file , False)
|
| 1033 |
+
dic_papers , dic_papers_ranked = ranking_papers(number_technology, dic_details , False , 200 , carbon_related , research_words )
|
| 1034 |
|
| 1035 |
dic_papers_co_authors = {}
|
| 1036 |
|
|
|
|
| 1093 |
dic_papers_co_authors[author_name_norm]["Number of citations"] = cited_by_count
|
| 1094 |
|
| 1095 |
|
| 1096 |
+
return pd.DataFrame(dic_papers_co_authors, index = [ "Author's name(s)" , "Number of occurence within the " + str(200) + " most related papers" , "Last Known Institution" , "Number of works" , "Number of citations" , "Number of related citations", "Author's id(s)"]).T.sort_values("Number of occurence within the " + str(200) + " most related papers" , ascending = False).head(size)
|
| 1097 |
|
| 1098 |
else:
|
| 1099 |
return ("Select another category")
|