summaryrefslogtreecommitdiff
path: root/templates/community.md.erb
blob: 52b3de516513e2a92ce21d7b039b7253b92ee894 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# <%= name %> (<%= self[:comm_code] %>) <%= self[:sector] %> - [source][source]

* [Homepage][homepage]
* [Profile][profile]
* [Projection][projection]
* Residents: <%= self[:res_cnt] %>
  * 1 occupant homes: <%= self[:dwelsz_1] %>
  * 2 occupant homes: <%= self[:dwelsz_2] %>
  * 3 occupant homes: <%= self[:dwelsz_3] %>
  * 4/5 occupant homes: <%= self[:dwelsz_4_5] %>
  * 6 occupant homes: <%= self[:dwelsz_6] %>
* Dogs: <%= self[:dog_cnt] %>
* Cats: <%= self[:CAT_CNT] %>

| 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] %>   |

| Address | Value | Year Built | Size (SqFt) |
| ------- | ----- | ---------- | ----------- |
<%- self.properties.each do |property| -%>
| <%= property[:address] %> | <%= number_to_currency(property[:assessed_value]) %> | <%= property[:year_of_construction] %> | <%= property[:land_size_sf] %> |
<%- end -%>

[homepage]: <%= homepage_url %>
[profile]: <%= profile_url %>
[projection]: <%= projection_url %>
[source]: https://data.calgary.ca/Demographics/Census-by-Community-2019/rkfr-buzb/about_data