File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,16 @@ def __get_contributors(df):
151
151
return df ["contributorname" ].unique ()
152
152
153
153
154
+ def __get_project_names (df ):
155
+ """
156
+ Gets the unique list of project names.
157
+
158
+ Input: dataframe
159
+ Output: list
160
+ """
161
+ return df ["project" ].unique ()
162
+
163
+
154
164
def __get_list_of_projects (df ):
155
165
"""
156
166
Get the list of names for unique projects
@@ -214,6 +224,7 @@ def report():
214
224
report = {}
215
225
report ["date" ] = tdate
216
226
report ["number_of_datasets" ] = __get_number_of_datasets (df )
227
+ report ["number_of_project" ] = __get_number_of_projects (df )
217
228
report ["completeness_score" ] = __get_completeness_score (df )
218
229
report ["metadata_version" ] = __get_metadata_version (df )
219
230
report ["contributor" ] = __get_contributor (df )
@@ -227,7 +238,7 @@ def report():
227
238
report ["technique" ] = __get_technique (df )
228
239
report ["locations" ] = __get_locations (df )
229
240
report ["percentage_of_version_1" ] = __get__percentage_of_metadata_version_1 (df )
230
- report ["is_reachable" ] = df ["URL" ].apply (__is_reachable )
241
+ # report["is_reachable"] = df["URL"].apply(__is_reachable)
231
242
232
243
# plots
233
244
get_projects_treemap (df )
You can’t perform that action at this time.
0 commit comments