Parameters |
{"datasource": "2054__table", "viz_type": "dist_bar", "slice_id": 8870, "url_params": {}, "granularity_sqla": null, "time_grain_sqla": "P1D", "time_range": "Last week", "metrics": [{"expressionType": "SIMPLE", "column": {"id": 50565, "column_name": "total_number", "verbose_name": null, "description": null, "expression": "", "filterable": false, "groupby": false, "is_dttm": false, "type": "BIGINT", "database_expression": null, "python_date_format": null, "optionName": "_col_total_number"}, "aggregate": "SUM", "sqlExpression": null, "hasCustomLabel": true, "fromFormData": true, "label": "Total", "optionName": "metric_kpcnhvmqbxk_8o1p79pd9la"}, {"expressionType": "SIMPLE", "column": {"id": 50570, "column_name": "have_authorization", "verbose_name": null, "description": null, "expression": "", "filterable": false, "groupby": false, "is_dttm": false, "type": "BIGINT", "database_expression": null, "python_date_format": null}, "aggregate": "SUM", "sqlExpression": null, "hasCustomLabel": true, "fromFormData": true, "label": "Have authorization", "optionName": "metric_kteqoft1yta_x097rcw4go"}, {"expressionType": "SIMPLE", "column": {"id": 50571, "column_name": "have_authorization_percentage", "verbose_name": null, "description": null, "expression": "", "filterable": false, "groupby": false, "is_dttm": false, "type": "DOUBLE PRECISION", "database_expression": null, "python_date_format": null}, "aggregate": "SUM", "sqlExpression": null, "hasCustomLabel": true, "fromFormData": true, "label": "%", "optionName": "metric_tphnfulxvr_uh4a9krkv9k"}], "adhoc_filters": [{"expressionType": "SIMPLE", "subject": "year", "operator": "==", "comparator": "2018", "clause": "WHERE", "sqlExpression": null, "fromFormData": true, "filterOptionName": "filter_oz4y54ua6om_2p67vbr32ua"}, {"expressionType": "SIMPLE", "subject": "code", "operator": "==", "comparator": "RCI", "clause": "WHERE", "sqlExpression": null, "fromFormData": true, "filterOptionName": "filter_jtejeyln4xc_zq276rzotk"}], "groupby": ["code"], "columns": [], "row_limit": 10000, "contribution": false, "color_scheme": "bnbColors", "show_legend": true, "show_bar_value": false, "bar_stacked": false, "order_bars": false, "y_axis_format": ".3s", "y_axis_label": "", "show_controls": false, "x_axis_label": "", "bottom_margin": "auto", "x_ticks_layout": "auto", "reduce_x_ticks": false, "remote_id": 754, "datasource_name": "overall_care_facilities_data", "schema": "public", "database_name": "UNICEF Cambodia", "import_time": 1642578313}
|
Query Context |
{"datasource":{"id":49,"type":"table"},"force":false,"queries":[{"time_range":"Last week","granularity":null,"filters":[{"col":"year","op":"==","val":"2018"},{"col":"code","op":"==","val":"RCI"}],"extras":{"time_grain_sqla":"P1D","having":"","where":""},"applied_time_extras":{},"columns":["code"],"metrics":[{"aggregate":"SUM","column":{"column_name":"total_number","database_expression":null,"description":null,"expression":"","filterable":false,"groupby":false,"id":50565,"is_dttm":false,"optionName":"_col_total_number","python_date_format":null,"type":"BIGINT","verbose_name":null},"expressionType":"SIMPLE","fromFormData":true,"hasCustomLabel":true,"label":"Total","optionName":"metric_kpcnhvmqbxk_8o1p79pd9la","sqlExpression":null},{"aggregate":"SUM","column":{"column_name":"have_authorization","database_expression":null,"description":null,"expression":"","filterable":false,"groupby":false,"id":50570,"is_dttm":false,"python_date_format":null,"type":"BIGINT","verbose_name":null},"expressionType":"SIMPLE","fromFormData":true,"hasCustomLabel":true,"label":"Have authorization","optionName":"metric_kteqoft1yta_x097rcw4go","sqlExpression":null},{"aggregate":"SUM","column":{"column_name":"have_authorization_percentage","database_expression":null,"description":null,"expression":"","filterable":false,"groupby":false,"id":50571,"is_dttm":false,"python_date_format":null,"type":"DOUBLE PRECISION","verbose_name":null},"expressionType":"SIMPLE","fromFormData":true,"hasCustomLabel":true,"label":"%","optionName":"metric_tphnfulxvr_uh4a9krkv9k","sqlExpression":null}],"annotation_layers":[],"row_limit":10000,"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{}}],"form_data":{"adhoc_filters":[{"clause":"WHERE","comparator":"2018","expressionType":"SIMPLE","filterOptionName":"filter_oz4y54ua6om_2p67vbr32ua","fromFormData":true,"operator":"==","sqlExpression":null,"subject":"year"},{"clause":"WHERE","comparator":"RCI","expressionType":"SIMPLE","filterOptionName":"filter_jtejeyln4xc_zq276rzotk","fromFormData":true,"operator":"==","sqlExpression":null,"subject":"code"}],"bar_stacked":false,"bottom_margin":"auto","color_scheme":"bnbColors","columns":[],"contribution":false,"database_name":"UNICEF Cambodia","datasource":"49__table","datasource_name":"overall_care_facilities_data","granularity_sqla":null,"groupby":["code"],"import_time":1642578313,"metrics":[{"aggregate":"SUM","column":{"column_name":"total_number","database_expression":null,"description":null,"expression":"","filterable":false,"groupby":false,"id":50565,"is_dttm":false,"optionName":"_col_total_number","python_date_format":null,"type":"BIGINT","verbose_name":null},"expressionType":"SIMPLE","fromFormData":true,"hasCustomLabel":true,"label":"Total","optionName":"metric_kpcnhvmqbxk_8o1p79pd9la","sqlExpression":null},{"aggregate":"SUM","column":{"column_name":"have_authorization","database_expression":null,"description":null,"expression":"","filterable":false,"groupby":false,"id":50570,"is_dttm":false,"python_date_format":null,"type":"BIGINT","verbose_name":null},"expressionType":"SIMPLE","fromFormData":true,"hasCustomLabel":true,"label":"Have authorization","optionName":"metric_kteqoft1yta_x097rcw4go","sqlExpression":null},{"aggregate":"SUM","column":{"column_name":"have_authorization_percentage","database_expression":null,"description":null,"expression":"","filterable":false,"groupby":false,"id":50571,"is_dttm":false,"python_date_format":null,"type":"DOUBLE PRECISION","verbose_name":null},"expressionType":"SIMPLE","fromFormData":true,"hasCustomLabel":true,"label":"%","optionName":"metric_tphnfulxvr_uh4a9krkv9k","sqlExpression":null}],"order_bars":false,"reduce_x_ticks":false,"remote_id":754,"row_limit":10000,"schema":"public","show_bar_value":false,"show_controls":false,"show_legend":true,"slice_id":2312,"time_grain_sqla":"P1D","time_range":"Last week","url_params":{},"viz_type":"dist_bar","x_axis_label":"","x_ticks_layout":"auto","y_axis_format":".3s","y_axis_label":"","force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}
|