summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2024-05-24 11:42:02 -0600
committermo khan <mo@mokhan.ca>2024-05-24 11:42:02 -0600
commitf790b3e347533447b0f07c0a03d34e1156ca770b (patch)
tree52d0d3b5f2853ccc813312c467c5ef13db15b692 /templates
parent89321e04f40fa307bce7a69e66bf63dd47d894b0 (diff)
Add link to source for data
Diffstat (limited to 'templates')
-rw-r--r--templates/community.md.erb6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/community.md.erb b/templates/community.md.erb
index 8d94284..5545667 100644
--- a/templates/community.md.erb
+++ b/templates/community.md.erb
@@ -1,9 +1,11 @@
-# <%= name %> (<%= self[:comm_code] %>)
+# <%= name %> (<%= self[:comm_code] %>) - [source][source]
* [Homepage][homepage]
* [Profile][profile]
* [Projection][projection]
* Residents: <%= self[:res_cnt] %>
+* Dogs: <%= self[:dog_cnt] %>
+* Cats: <%= self[:CAT_CNT] %>
| Age | Male | Female | Non-binary |
| --- | ---- | ------ | ---------- |
@@ -13,7 +15,7 @@
| 45-54 | <%= self[:male_45_54] %> | <%= self[:fem_45_54] %> | <%= self[:other_45_54] %> |
| | <%= self[:male_cnt] %> | <%= self[:female_cnt] %> | <%= self[:other_cnt] %> |
-
[homepage]: <%= homepage_url %>
[profile]: <%= profile_url %>
[projection]: <%= projection_url %>
+[source]: https://data.calgary.ca/Demographics/Census-by-Community-2019/rkfr-buzb/about_data