Skip to content

Commit ab0e62b

Browse files
committed
improve description and wording
1 parent 47f2420 commit ab0e62b

1 file changed

Lines changed: 22 additions & 28 deletions

File tree

scripts/3-report/smithsonian_report.py

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -119,23 +119,23 @@ def smithsonian_intro(args):
119119
"Overview",
120120
None,
121121
None,
122-
"The Smithsonian Institute data returns the overall"
123-
" statistics of CC0 legal tool records."
124-
" It serves as the main legal tool used by Smithsonian Institute."
122+
"The Smithsonian Institute data returns the overall statistics of CC0"
123+
" legal tool records. CC0 serves as the main legal tool used by the"
124+
" Smithsonian Institute.\n"
125125
"\n"
126126
f"The results indicate a total record of {total_objects:,} objects,"
127127
f" with a breakdown of {CC0_records:,} objects without CC0 Media and"
128128
f" {CC0_records_with_media:,} objects with CC0 Media, taking a"
129129
f" percentage of {CC0_media_percentage} in each institute member."
130-
f" There are {num_units} unique units in the data"
131-
" representing museums, libraries, zoos and other institutions"
132-
f" with a minimum of {min_object} objects.",
130+
f" There are {num_units} unique units in the data representing"
131+
" museums, libraries, zoos and other institutions with a minimum of"
132+
f" {min_object} objects.",
133133
)
134134

135135

136136
def plot_totals_by_top10_units(args):
137137
"""
138-
Create plots showing totals by top 10 units
138+
Create a plot showing the totals by top 10 units
139139
"""
140140
LOGGER.info(plot_totals_by_top10_units.__doc__.strip())
141141
file_path = shared.path_join(
@@ -176,17 +176,15 @@ def plot_totals_by_top10_units(args):
176176
SECTION_TITLE,
177177
title,
178178
image_path,
179-
"Plots showing totals by units. This shows the"
180-
" distribution of top 10 institute member across"
181-
" Smithsonian Institute with an average of"
182-
f" {average_unit:,} objects across the top 10"
183-
" Institute members.",
179+
"The plot shows totals by units. It shows the distribution of top 10"
180+
" institute member across the Smithsonian Institute with an average of"
181+
f" {average_unit:,} objects across the top 10 Institute members.",
184182
)
185183

186184

187185
def plot_totals_by_lowest10_units(args):
188186
"""
189-
Create plots showing totals by lowest 10 units
187+
Create a plot showing totals by lowest 10 units
190188
"""
191189
LOGGER.info(plot_totals_by_lowest10_units.__doc__.strip())
192190
file_path = shared.path_join(
@@ -227,17 +225,15 @@ def plot_totals_by_lowest10_units(args):
227225
SECTION_TITLE,
228226
title,
229227
image_path,
230-
"Plots showing totals by units.",
231-
"This shows the distribution of lowest 10"
232-
" institute member across Smithsonian Institute"
233-
f" with an average of {average_unit} objects"
234-
" across the lowest 10 institute members.",
228+
"The plot shows totals by units. It shows the distribution of lowest"
229+
" 10 institute member across Smithsonian Institute with an average of"
230+
f" {average_unit} objects across the lowest 10 institute members.",
235231
)
236232

237233

238234
def plot_totals_by_top10_unit_records(args):
239235
"""
240-
Create plots showing breakdown of CC0 records by top 10 units
236+
Create a plot showing the breakdown of CC0 records by top 10 units
241237
"""
242238
LOGGER.info(plot_totals_by_top10_unit_records.__doc__.strip())
243239
file_path = shared.path_join(
@@ -279,16 +275,15 @@ def plot_totals_by_top10_unit_records(args):
279275
SECTION_TITLE,
280276
title,
281277
image_path,
282-
"Plots showing totals by CC0 records. This is the"
283-
" top 10 units with a breakdown of CC0 records"
284-
" without media, CC0 records with media and records"
285-
" that are not associated with CC0.",
278+
"The plot shows totals by CC0 records. It shows the top 10 units with"
279+
" a breakdown of CC0 records without media, CC0 records with media and"
280+
" records that are not associated with CC0.",
286281
)
287282

288283

289284
def plot_totals_by_lowest10_unit_records(args):
290285
"""
291-
Create plots showing breakdown of CC0 records by lowest 10 units
286+
Create a plot showing the breakdown of CC0 records by lowest 10 units
292287
"""
293288
LOGGER.info(plot_totals_by_lowest10_unit_records.__doc__.strip())
294289
file_path = shared.path_join(
@@ -330,10 +325,9 @@ def plot_totals_by_lowest10_unit_records(args):
330325
SECTION_TITLE,
331326
title,
332327
image_path,
333-
"Plots showing totals by CC0 records. This is the"
334-
" lowest 10 units with a breakdown of CC0 records"
335-
" without media, CC0 records with media and records"
336-
" that are not associated with CC0.",
328+
"The plot shows totals by CC0 records. It shows the lowest 10 units"
329+
" with a breakdown of CC0 records without media, CC0 records with"
330+
" media and records that are not associated with CC0.",
337331
)
338332

339333

0 commit comments

Comments
 (0)