You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
f"{stats['DIFF_1M'] * 1000:<+8,.0f} {f'({stats["PDIFF_1M"]:+.2f}%)':<10} Past Month",
212
+
f"{stats['DIFF_5M'] * 1000:<+8,.0f} {f'({stats["PDIFF_5M"]:+.2f}%)':<10} Past 5 Months",
213
+
f"{stats['DIFF_1Y'] * 1000:<+8,.0f} {f'({stats["PDIFF_1Y"]:+.2f}%)':<10} Past Year",
214
+
f"{stats['DIFF_5Y'] * 1000:<+8,.0f} {f'({stats["PDIFF_5Y"]:+.2f}%)':<10} Past 5 Years",
215
+
]
216
+
217
+
subtitle_text = "\n".join(periods)
218
+
return subtitle_text
219
+
```
220
+
163
221
# Sector Shifts: Where Canada's Jobs Are Moving
164
222
165
-
Track the number of industries gaining or losing jobs each month. Boxes are shaded based on percentage change from previous month in each industry's employment levels. Data pulled directly from StatCan @statcan.
223
+
Track the number of industries gaining or losing jobs each month. Boxes are shaded based on percentage change from previous month in each industry's employment levels. Change in employment levels is listed for 1 month, 5 months, 1 year, and 5 years. Data pulled directly from StatCan @statcan.
166
224
167
225
::: {.panel-tabset .nav-pills .column-page-inset}
168
226
169
227
### Select an Industry
170
228
171
229
```{python}
172
230
# | output: asis
231
+
plot_data = labour_processed_filtered
232
+
INDUSTRY = "Total employed, all industries"
233
+
234
+
# use the unfiltered labour df to generate the stats for the total
0 commit comments