summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2024-05-24 10:57:58 -0600
committermo khan <mo@mokhan.ca>2024-05-24 10:57:58 -0600
commitce600e04b46cfab0f09d2f5b2503d84da675f406 (patch)
tree24811ae878d092a0a0d96485fd510da477bc2536 /templates
parent344a51f2ee799e8070a36631d199a38ff339bd8c (diff)
Add demographic counts to README
Diffstat (limited to 'templates')
-rw-r--r--templates/community.md.erb12
1 files changed, 11 insertions, 1 deletions
diff --git a/templates/community.md.erb b/templates/community.md.erb
index a916173..37604c7 100644
--- a/templates/community.md.erb
+++ b/templates/community.md.erb
@@ -1 +1,11 @@
-# <%= name %>
+# <%= name %> (<%= self[:community_code] %>)
+
+* # of Residents: <%= self[:residents_count] %>
+
+| Age | Male | Female | Non-binary |
+| --- | ---- | ------ | ---------- |
+| 20-24 | <%= self[:male_20_24] %> | <%= self[:fem_20_24] %> | <%= self[:other_20_24] %> |
+| 25-34 | <%= self[:male_25_34] %> | <%= self[:fem_25_34] %> | <%= self[:other_25_34] %> |
+| 35-44 | <%= self[:male_35_44] %> | <%= self[:fem_35_44] %> | <%= self[:other_35_44] %> |
+| 45-54 | <%= self[:male_45_54] %> | <%= self[:fem_45_54] %> | <%= self[:other_45_54] %> |
+| | <%= self[:male_cnt] %> | <%= self[:female_cnt] %> | <%= self[:other_cnt] %> |