Skip to content

Commit ce9ea9c

Browse files
committed
add references
1 parent 67ec40c commit ce9ea9c

3 files changed

Lines changed: 182 additions & 1 deletion

File tree

diabetologia.csl

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" default-locale="en-US" version="1.0" demote-non-dropping-particle="sort-only">
3+
<info>
4+
<title>Diabetologia</title>
5+
<id>http://www.zotero.org/styles/diabetologia</id>
6+
<link href="http://www.zotero.org/styles/diabetologia" rel="self"/>
7+
<link href="http://www.zotero.org/styles/springer-basic-brackets" rel="template"/>
8+
<link href="http://diabetologia-journal.org/for-authors/instructions-to-authors/" rel="documentation"/>
9+
<author>
10+
<name>Patrick O'Brien</name>
11+
<uri>https://twitter.com/patobrien333/</uri>
12+
</author>
13+
<category citation-format="numeric"/>
14+
<category field="biology"/>
15+
<category field="medicine"/>
16+
<issn>0012-186X</issn>
17+
<eissn>1432-0428</eissn>
18+
<updated>2019-02-06T16:38:10+00:00</updated>
19+
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
20+
</info>
21+
<locale>
22+
<terms>
23+
<term name="et-al">et al</term>
24+
</terms>
25+
</locale>
26+
<macro name="author">
27+
<names variable="author">
28+
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
29+
<substitute>
30+
<names variable="editor"/>
31+
<names variable="translator"/>
32+
</substitute>
33+
</names>
34+
</macro>
35+
<macro name="edition">
36+
<choose>
37+
<if is-numeric="edition">
38+
<group delimiter=" ">
39+
<number variable="edition" form="ordinal"/>
40+
<text term="edition" form="short" strip-periods="true"/>
41+
</group>
42+
</if>
43+
<else>
44+
<text variable="edition"/>
45+
</else>
46+
</choose>
47+
</macro>
48+
<macro name="title">
49+
<choose>
50+
<if type="book">
51+
<group delimiter=", ">
52+
<text variable="title"/>
53+
<text macro="edition"/>
54+
</group>
55+
</if>
56+
<else>
57+
<text variable="title"/>
58+
</else>
59+
</choose>
60+
</macro>
61+
<macro name="year-parenth">
62+
<date prefix="(" suffix=")" variable="issued">
63+
<date-part name="year"/>
64+
</date>
65+
</macro>
66+
<citation collapse="citation-number">
67+
<sort>
68+
<key variable="citation-number"/>
69+
</sort>
70+
<layout prefix="[" suffix="]" delimiter=", ">
71+
<text variable="citation-number"/>
72+
</layout>
73+
</citation>
74+
<bibliography et-al-min="7" et-al-use-first="3" second-field-align="flush">
75+
<layout>
76+
<text variable="citation-number" suffix=". "/>
77+
<group delimiter=" ">
78+
<text macro="author"/>
79+
<text macro="year-parenth"/>
80+
<text macro="title"/>
81+
</group>
82+
<choose>
83+
<if type="chapter paper-conference" match="any">
84+
<group delimiter=" " prefix=". ">
85+
<text term="in" text-case="capitalize-first" suffix=":"/>
86+
<names variable="editor">
87+
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
88+
<label form="short" strip-periods="true" prefix=" (" suffix=")"/>
89+
</names>
90+
<group delimiter=", ">
91+
<text variable="container-title"/>
92+
<text macro="edition"/>
93+
</group>
94+
</group>
95+
<group prefix=". " delimiter=", ">
96+
<text variable="publisher"/>
97+
<text variable="publisher-place"/>
98+
<group delimiter=" ">
99+
<label variable="page" form="short" strip-periods="true"/>
100+
<text variable="page"/>
101+
</group>
102+
</group>
103+
</if>
104+
<else-if type="article-journal">
105+
<choose>
106+
<if variable="page volume" match="any">
107+
<group prefix=". " delimiter=". ">
108+
<group delimiter=" ">
109+
<text variable="container-title" form="short" strip-periods="true"/>
110+
<group delimiter=":">
111+
<group>
112+
<text variable="volume"/>
113+
<text variable="issue" prefix="(" suffix=")"/>
114+
</group>
115+
<text variable="page"/>
116+
</group>
117+
</group>
118+
<text prefix="https://doi.org/" variable="DOI"/>
119+
</group>
120+
</if>
121+
<else>
122+
<group prefix=". " delimiter=". ">
123+
<text variable="container-title" form="short" strip-periods="true"/>
124+
<text prefix="https://doi.org/" variable="DOI"/>
125+
</group>
126+
</else>
127+
</choose>
128+
</else-if>
129+
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
130+
<group prefix=". " delimiter=", ">
131+
<text variable="publisher"/>
132+
<text variable="publisher-place"/>
133+
</group>
134+
</else-if>
135+
<else-if type="webpage post-weblog" match="any">
136+
<group prefix=". " delimiter=". ">
137+
<text prefix="In: " variable="container-title" form="short"/>
138+
<text variable="URL"/>
139+
<date variable="accessed">
140+
<date-part prefix="Accessed " name="day" suffix=" "/>
141+
<date-part name="month" form="short" suffix=" " strip-periods="true"/>
142+
<date-part name="year"/>
143+
</date>
144+
</group>
145+
</else-if>
146+
<else-if type="thesis">
147+
<group prefix=". " delimiter=", ">
148+
<text variable="genre" text-case="capitalize-first"/>
149+
<text variable="publisher"/>
150+
</group>
151+
</else-if>
152+
<else>
153+
<group prefix=". " delimiter=" ">
154+
<text variable="container-title" form="short"/>
155+
<group delimiter=":">
156+
<text variable="volume"/>
157+
<text variable="page"/>
158+
</group>
159+
</group>
160+
</else>
161+
</choose>
162+
</layout>
163+
</bibliography>
164+
</style>

index.qmd

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
title: "Track Canada's Labour Statistics"
3+
bibliography: references.bib
4+
csl: diabetologia.csl
35
author: "Victor Yuan"
46
date: today
57
date-modified: today
@@ -160,7 +162,7 @@ LEGEND_LABELS = [
160162

161163
# Sector Shifts: Where Canada's Jobs Are Moving
162164

163-
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.
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.
164166

165167
::: {.panel-tabset .nav-pills .column-page-inset}
166168

@@ -224,3 +226,9 @@ for INDUSTRY in ALL_INDUSTRIES:
224226
```
225227

226228
:::
229+
230+
231+
### References
232+
233+
::: {#refs}
234+
:::

references.bib

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@misc{statcan,
2+
title = {Employment by industry, monthly, seasonally adjusted and unadjusted, and trend-cycle, last 5 months},
3+
url = {https://www150.statcan.gc.ca/t1/tbl1/en/tv.action?pid=1410035501},
4+
doi = {10.25318/1410035501-ENG},
5+
abstract = {Number of employees by North American Industry Classification System (NAICS) and data type (seasonally adjusted, trend-cycle and unadjusted), last 5 months. Data are also available for the standard error of the estimate, the standard error of the month-to-month change and the standard error of the year-over-year change.},
6+
urldate = {2025-09-16},
7+
publisher = {Government of Canada},
8+
author = {{Statistics Canada}},
9+
}

0 commit comments

Comments
 (0)