@@ -111,25 +111,25 @@ def smithsonian_intro(args):
111111 CC0_records_with_media = data ["CC0_records_with_CC0_media" ].sum ()
112112 CC0_media_percentage = f"{ data ['CC0_with_media_percentage' ].mean ():.2f} %"
113113 num_units = len (data )
114- min_unit = data ["Total_objects" ].min ()
114+ min_object = data ["Total_objects" ].min ()
115115 shared .update_readme (
116116 args ,
117117 SECTION_FILE ,
118118 SECTION_TITLE ,
119119 "Overview" ,
120120 None ,
121121 None ,
122- "The Smithsonian data returns the overall "
122+ "The Smithsonian Institute data returns the overall"
123123 " statistics of CC0 legal tool records."
124- " It serves as the main legal tool used by Smithsonian."
124+ " It serves as the main legal tool used by Smithsonian Institute ."
125125 "\n "
126- f"The results indicate a total record of { total_objects } objects,"
127- f" with a breakdown of { CC0_records } objects without CC0 Media and"
128- f" { CC0_records_with_media } objects with CC0 Media, taking a"
129- f" percentage of { CC0_media_percentage } in each unit ."
126+ f"The results indicate a total record of { total_objects :, } objects,"
127+ f" with a breakdown of { CC0_records :, } objects without CC0 Media and"
128+ f" { CC0_records_with_media :, } objects with CC0 Media, taking a"
129+ f" percentage of { CC0_media_percentage } in each institute member ."
130130 f" There are { num_units } unique units in the data"
131- " representing museums, libraries, zoos and many other"
132- f" with a minimum of { min_unit } objects." ,
131+ " representing museums, libraries, zoos and other institutions "
132+ f" with a minimum of { min_object } objects." ,
133133 )
134134
135135
@@ -143,7 +143,7 @@ def plot_totals_by_top10_units(args):
143143 "smithsonian_totals_by_units.csv" ,
144144 )
145145 LOGGER .info (f"data file: { file_path .replace (PATHS ['repo' ], '.' )} " )
146- name_label = "Unit "
146+ name_label = "Unit_name "
147147 data_label = "Total_objects"
148148 data = shared .open_data_file (LOGGER , file_path , index_col = name_label )
149149 data ["Total_objects" ] = data ["Total_objects" ].astype (int )
@@ -175,11 +175,11 @@ def plot_totals_by_top10_units(args):
175175 SECTION_TITLE ,
176176 title ,
177177 image_path ,
178- "Plots showing totals by units." ,
179- "This shows the distribution of top 10"
180- " units/ sub providers across smithsonian "
181- f" with an average of { average_unit } objects"
182- " across the top 10 sub providers ." ,
178+ "Plots showing totals by units. This shows the"
179+ " distribution of top 10 institute member across "
180+ " Smithsonian Institute with an average of "
181+ f" { average_unit :, } objects across the top 10 "
182+ "Institute members ." ,
183183 )
184184
185185
@@ -193,7 +193,7 @@ def plot_totals_by_lowest10_units(args):
193193 "smithsonian_totals_by_units.csv" ,
194194 )
195195 LOGGER .info (f"data file: { file_path .replace (PATHS ['repo' ], '.' )} " )
196- name_label = "Unit "
196+ name_label = "Unit_name "
197197 data_label = "Total_objects"
198198 data = shared .open_data_file (LOGGER , file_path , index_col = name_label )
199199 data ["Total_objects" ] = data ["Total_objects" ].astype (int )
@@ -227,9 +227,9 @@ def plot_totals_by_lowest10_units(args):
227227 image_path ,
228228 "Plots showing totals by units." ,
229229 "This shows the distribution of lowest 10"
230- " units/ sub providers across smithsonian "
230+ " institute member across Smithsonian Institute "
231231 f" with an average of { average_unit } objects"
232- " across the lowest 10 sub providers ." ,
232+ " across the lowest 10 institute members ." ,
233233 )
234234
235235
@@ -243,7 +243,7 @@ def plot_totals_by_records(args):
243243 "smithsonian_totals_by_records.csv" ,
244244 )
245245 LOGGER .info (f"data file: { file_path .replace (PATHS ['repo' ], '.' )} " )
246- name_label = "Unit "
246+ name_label = "Unit_name "
247247 stack_labels = [
248248 "CC0_without_media_percentage" ,
249249 "CC0_with_media_percentage" ,
@@ -274,8 +274,8 @@ def plot_totals_by_records(args):
274274 SECTION_TITLE ,
275275 title ,
276276 image_path ,
277- "Plots showing totals by CC0 records." ,
278- "This is the breakdown of CC0 records"
277+ "Plots showing totals by CC0 records. This is the"
278+ " breakdown of top 10 records with highest CC0 records"
279279 " without media, CC0 records with media and records"
280280 " that are not associated with CC0." ,
281281 )
0 commit comments