Files changed (2) hide show
  1. tools/chart_tools.py +16 -16
  2. tools/stats_tools.py +1 -1
tools/chart_tools.py CHANGED
@@ -23,7 +23,7 @@ chart_tools = [
23
  },
24
  "x_column": {
25
  "type": "array",
26
- "description": f"""An array of strings that correspond to the the columns in our query.csv file that contain the x values of the graph. There can be more than one column
27
  that can each be plotted against the y_column, if needed.""",
28
  "items": {
29
  "type": "string",
@@ -31,14 +31,14 @@ chart_tools = [
31
  },
32
  "y_column": {
33
  "type": "string",
34
- "description": f"""The column in our query.csv file that contain the y values of the graph.""",
35
  "items": {
36
  "type": "string",
37
  }
38
  },
39
  "category": {
40
  "type": "string",
41
- "description": f"""An optional column in our query.csv file that contain a parameter that will define the category for the data.""",
42
  "items": {
43
  "type": "string",
44
  }
@@ -128,21 +128,21 @@ chart_tools = [
128
  },
129
  "x_column": {
130
  "type": "string",
131
- "description": f"""The column in our query.csv file that contain the x values of the graph.""",
132
  "items": {
133
  "type": "string",
134
  }
135
  },
136
  "y_column": {
137
  "type": "string",
138
- "description": f"""The column in our query.csv file that contain the y values of the graph.""",
139
  "items": {
140
  "type": "string",
141
  }
142
  },
143
  "category": {
144
  "type": "string",
145
- "description": f"""An optional column in our query.csv file that contain a parameter that will define the category for the data.""",
146
  "items": {
147
  "type": "string",
148
  }
@@ -184,28 +184,28 @@ chart_tools = [
184
  },
185
  "x_column": {
186
  "type": "string",
187
- "description": f"""The column in our query.csv file that contains the x values of the graph.""",
188
  "items": {
189
  "type": "string",
190
  }
191
  },
192
  "y_column": {
193
  "type": "string",
194
- "description": f"""The column in our query.csv file that contains the y values of the graph.""",
195
  "items": {
196
  "type": "string",
197
  }
198
  },
199
  "category": {
200
  "type": "string",
201
- "description": f"""An optional column in our query.csv file that contains a parameter that will define the category for the data.""",
202
  "items": {
203
  "type": "string",
204
  }
205
  },
206
  "facet_row": {
207
  "type": "string",
208
- "description": f"""An optional column in our query.csv file that contains a parameter that will define a faceted subplot, where different rows
209
  correspond to different values of the query specified in this parameter.""",
210
  "items": {
211
  "type": "string",
@@ -213,7 +213,7 @@ chart_tools = [
213
  },
214
  "facet_col": {
215
  "type": "string",
216
- "description": f"""An optional column in our query.csv file that contain a parameter that will define the faceted column, corresponding to
217
  different values of our query specified in this parameter.""",
218
  "items": {
219
  "type": "string",
@@ -256,14 +256,14 @@ chart_tools = [
256
  },
257
  "values": {
258
  "type": "string",
259
- "description": f"""The column in our query.csv file that contain the values of the pie chart.""",
260
  "items": {
261
  "type": "string",
262
  }
263
  },
264
  "names": {
265
  "type": "string",
266
- "description": f"""The column in our query.csv file that contain the label or section of each piece of the pie graph and allow us to know what each piece of the pie chart represents.""",
267
  "items": {
268
  "type": "string",
269
  }
@@ -305,7 +305,7 @@ chart_tools = [
305
  },
306
  "x_column": {
307
  "type": "string",
308
- "description": f"""The column in our query.csv file that contains the x values of the histogram.
309
  This would correspond to the counts that would be distributed in the histogram.""",
310
  "items": {
311
  "type": "string",
@@ -313,7 +313,7 @@ chart_tools = [
313
  },
314
  "y_column": {
315
  "type": "string",
316
- "description": f"""An optional column in our query.csv file that contains the y values of the histogram.""",
317
  "items": {
318
  "type": "string",
319
  }
@@ -329,7 +329,7 @@ chart_tools = [
329
  },
330
  "category": {
331
  "type": "string",
332
- "description": f"""An optional column in our query.csv file that contains a parameter that will define the category for the data.""",
333
  "items": {
334
  "type": "string",
335
  }
 
23
  },
24
  "x_column": {
25
  "type": "array",
26
+ "description": f"""An array of strings that correspond to the the column names in our query.csv file that contain the x values of the graph. There can be more than one column
27
  that can each be plotted against the y_column, if needed.""",
28
  "items": {
29
  "type": "string",
 
31
  },
32
  "y_column": {
33
  "type": "string",
34
+ "description": f"""The column name in our query.csv file that contain the y values of the graph.""",
35
  "items": {
36
  "type": "string",
37
  }
38
  },
39
  "category": {
40
  "type": "string",
41
+ "description": f"""An optional column name in our query.csv file that contain a parameter that will define the category for the data.""",
42
  "items": {
43
  "type": "string",
44
  }
 
128
  },
129
  "x_column": {
130
  "type": "string",
131
+ "description": f"""The column name in our query.csv file that contain the x values of the graph.""",
132
  "items": {
133
  "type": "string",
134
  }
135
  },
136
  "y_column": {
137
  "type": "string",
138
+ "description": f"""The column name in our query.csv file that contain the y values of the graph.""",
139
  "items": {
140
  "type": "string",
141
  }
142
  },
143
  "category": {
144
  "type": "string",
145
+ "description": f"""An optional column name in our query.csv file that contain a parameter that will define the category for the data.""",
146
  "items": {
147
  "type": "string",
148
  }
 
184
  },
185
  "x_column": {
186
  "type": "string",
187
+ "description": f"""The column name in our query.csv file that contains the x values of the graph.""",
188
  "items": {
189
  "type": "string",
190
  }
191
  },
192
  "y_column": {
193
  "type": "string",
194
+ "description": f"""The column name in our query.csv file that contains the y values of the graph.""",
195
  "items": {
196
  "type": "string",
197
  }
198
  },
199
  "category": {
200
  "type": "string",
201
+ "description": f"""An optional column name in our query.csv file that contains a parameter that will define the category for the data.""",
202
  "items": {
203
  "type": "string",
204
  }
205
  },
206
  "facet_row": {
207
  "type": "string",
208
+ "description": f"""An optional column name in our query.csv file that contains a parameter that will define a faceted subplot, where different rows
209
  correspond to different values of the query specified in this parameter.""",
210
  "items": {
211
  "type": "string",
 
213
  },
214
  "facet_col": {
215
  "type": "string",
216
+ "description": f"""An optional column name in our query.csv file that contain a parameter that will define the faceted column, corresponding to
217
  different values of our query specified in this parameter.""",
218
  "items": {
219
  "type": "string",
 
256
  },
257
  "values": {
258
  "type": "string",
259
+ "description": f"""The column name in our query.csv file that contain the values of the pie chart.""",
260
  "items": {
261
  "type": "string",
262
  }
263
  },
264
  "names": {
265
  "type": "string",
266
+ "description": f"""The column name in our query.csv file that contain the label or section of each piece of the pie graph and allow us to know what each piece of the pie chart represents.""",
267
  "items": {
268
  "type": "string",
269
  }
 
305
  },
306
  "x_column": {
307
  "type": "string",
308
+ "description": f"""The column name in our query.csv file that contains the x values of the histogram.
309
  This would correspond to the counts that would be distributed in the histogram.""",
310
  "items": {
311
  "type": "string",
 
313
  },
314
  "y_column": {
315
  "type": "string",
316
+ "description": f"""An optional column name in our query.csv file that contains the y values of the histogram.""",
317
  "items": {
318
  "type": "string",
319
  }
 
329
  },
330
  "category": {
331
  "type": "string",
332
+ "description": f"""An optional column name in our query.csv file that contains a parameter that will define the category for the data.""",
333
  "items": {
334
  "type": "string",
335
  }
tools/stats_tools.py CHANGED
@@ -30,7 +30,7 @@ stats_tools = [
30
  },
31
  "category": {
32
  "type": "string",
33
- "description": f"""An optional column in our query.csv file that contain a parameter that will define the category for the data.
34
  Do not send value if no category is needed or specified. This category must be present in our query.csv file to be valid.""",
35
  "items": {
36
  "type": "string",
 
30
  },
31
  "category": {
32
  "type": "string",
33
+ "description": f"""An optional column name in our query.csv file that contain a parameter that will define the category for the data.
34
  Do not send value if no category is needed or specified. This category must be present in our query.csv file to be valid.""",
35
  "items": {
36
  "type": "string",