forked from DataSF/housing-data-hub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
212 lines (209 loc) · 6.51 KB
/
_config.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
baseurl: /housing-policy-hub
permalink: /:categories/:title
markdown: redcarpet
redcarpet:
extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"]
navigation:
- text: Home
url: /
actual: /index.html
- text: 'Policies & Programs'
url: /policies/
actual: /policies/index.html
layout: policy
- text: Data Browser
url: /data-browser/
actual: /data-browser/index.html
layout: data
- text: About
url: /about/
actual: /about/index.html
prose:
rooturl: '_posts'
siteurl: 'http://jasonlally.com/housing-policy-hub'
media: 'images'
metadata:
_posts/data-browser:
- name: "layout"
field:
element: "hidden"
value: "data"
- name: "category"
field:
element: "text"
label: "Category"
- name: "title"
field:
element: "text"
label: "Title"
help: "The title will show up in the lefthand navigation"
- name: "chart-title"
field:
element: "text"
label: "Chart Title"
help: "This title will show up above the chart"
- name: "data"
field:
element: "text"
label: "Data Source Link"
help: "Enter the link to the data source here. If it is stored in the data folder of this site, please just enter the full filename only."
- name: "column"
field:
element: "text"
label: "Data Column"
help: "Enter the column name that you would either like to map or categorize your chart data by."
- name: "type"
field:
label: "Visualization Type"
help: "Select the type of visualization you would like to relate to the data source"
element: "select"
options:
- name: 'Area Chart'
value: 'area'
- name: 'Map: Point'
value: 'map-point'
- name: 'Bar Chart'
value: 'bar'
- name: 'Line Chart'
value: 'line'
- name: 'Map: Choropleth'
value: 'map'
- name: "scale"
field:
element: "text"
label: "Number of data categories"
help: "This is used to calculate the number of buckets for choropleth maps."
value: "5"
- name: "colors"
field:
element: select
label: "Choropleth Colors"
help: "If this dataset should be displayed in a map, specify the choropleth color ramp. These are based on colorbrewer color profiles."
options:
- name: 'Yellow-Green'
value: 'YlGn'
- name: 'Yellow-Green-Blue'
value: 'YlGnBu'
- name: 'Green-Blue'
value: 'GnBu'
- name: 'Blue-Green'
value: 'BuGn'
- name: 'Purple-Blue-Green'
value: 'PuBuGn'
- name: 'Purble-Blue'
value: 'PuBu'
- name: 'Blue-Purple'
value: 'BuPu'
- name: 'Red-Purple'
value: 'RdPu'
- name: 'Purple-Red'
value: 'PuRd'
- name: 'Orange-Red'
value: 'OrRd'
- name: 'Yellow-Orange-Red'
value: 'YlOrRd'
- name: 'Yellow-Orange-Brown'
value: 'YlOrBr'
- name: 'Purples'
value: 'Purples'
- name: 'Blues'
value: 'Blues'
- name: 'Greens'
value: 'Greens'
- name: 'Oranges'
value: 'Oranges'
- name: 'Reds'
value: 'Reds'
- name: 'Greys'
value: 'Greys'
- name: 'Diverging: Purple-Orange'
value: 'PuOr'
- name: 'Diverging: BrBG'
value: 'BrBG'
- name: 'Diverging: PiYG'
value: 'PiYG'
- name: 'Diverging: RdBu'
value: 'RdBu'
- name: 'Diverging: RdGy'
value: 'RdGy'
- name: 'Diverging: RdYlBu'
value: 'RdYlBu'
- name: 'Diverging: Spectral'
value: 'Spectral'
- name: 'Diverging: RdYlGn'
value: 'RdYlGn'
- name: 'Qualitative: Accent'
value: 'Accent'
- name: 'Qualitative: Dark2'
value: 'Dark2'
- name: 'Qualitative: Paired'
value: 'Paired'
- name: 'Qualitative: Pastel1'
value: 'Pastel1'
- name: 'Qualitative: Pastel2'
value: 'Pastel2'
- name: 'Qualitative: Set1'
value: 'Set1'
- name: 'Qualitative: Set2'
value: 'Set2'
- name: 'Qualitative: Set3'
value: 'Set3'
- name: "axis-type"
field:
element: "select"
label: "Axis Type"
help: 'The chart needs to know if your x-axis is a special type. In general, it is fine to keep the default.'
options:
- name: 'Default'
value: ''
- name: 'Category'
value: 'category'
- name: 'Time Series'
value: 'timeseries'
- name: 'Continuous'
value: ''
- name: "y-format"
field:
element: "select"
label: "Y Format"
options:
- name: "None"
value: ""
- name: "$x"
value: "$,"
- name: "x,xxx"
value: ","
- name: "units"
field:
element: "text"
label: "Unit description"
help: "Enter the description of the units, if displaying data on a map"
- name: "source"
field:
element: "text"
label: "Data Source Attribution"
help: "Where did this data come from?"
- name: "notes"
field:
element: "text"
label: "Notes"
help: "List any relevant notes about this datasource"
- name: "policy-link"
field:
element: "text"
label: "Policy Link"
help: "Provide a link to the relevant policy"
_posts/policies:
- name: 'layout'
field:
element: 'hidden'
value: 'policy'
- name: 'summary'
field:
element: 'text'
label: 'Summary'
- name: 'data-category'
field:
element: 'text'
label: 'Related Data Category'
help: 'Please indicate what category of data should show up in the embedded data browser in this policy page.'