Skip to content
Snippets Groups Projects
Commit 98959478 authored by Elias Chetouane's avatar Elias Chetouane
Browse files

Création du fichier contenant le nombre total de dois pour affichage sur le site web.

parent fda31d91
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,10 @@ if temp_rows :
df_out.to_csv("../dois-uga.csv", index = False)
print(f"\n\nnb of doi exported \t{len(df_out)}")
# write the number of dois found in a file to display on the website
with open("nb-dois.txt", 'w') as f :
f.write(str(len(df_out)))
## output another csv with datacite client and number of datasets
df_client_raw = df_out["client"].value_counts().to_frame()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment