diff --git a/superset-frontend/cypress-base/cypress/integration/chart_list/list_view.test.ts b/superset-frontend/cypress-base/cypress/integration/chart_list/list_view.test.ts index 0b99aeaa8..5b5503613 100644 --- a/superset-frontend/cypress-base/cypress/integration/chart_list/list_view.test.ts +++ b/superset-frontend/cypress-base/cypress/integration/chart_list/list_view.test.ts @@ -46,6 +46,6 @@ describe('chart list view', () => { .first() .find('[data-test="table-row-cell"]') .find('[data-test="cell-text"]') - .contains('Location of Current Developers'); + .contains('Country of Citizenship'); }); }); diff --git a/superset/examples/configs/charts/Filtering_Vaccines.yaml b/superset/examples/configs/charts/Filtering_Vaccines.yaml new file mode 100644 index 000000000..a8e6a1ba6 --- /dev/null +++ b/superset/examples/configs/charts/Filtering_Vaccines.yaml @@ -0,0 +1,55 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +slice_name: Filtering Vaccines +viz_type: filter_box +params: + adhoc_filters: [] + datasource: 69__table + date_filter: false + filter_configs: + - asc: true + clearable: true + column: Country_Name + key: D00hRxPLE + label: Country + multiple: true + searchAllOptions: false + - asc: true + clearable: true + column: Product_Category + key: jJ7x2cuIc + label: Vaccine Approach + multiple: true + searchAllOptions: false + - asc: true + clearable: true + column: Clinical Stage + key: EgGwwAUU6 + multiple: true + searchAllOptions: false + queryFields: {} + slice_id: 3965 + time_range: No filter + time_range_endpoints: + - inclusive + - exclusive + url_params: {} + viz_type: filter_box +cache_timeout: null +uuid: c29381ce-0e99-4cf3-bf0f-5f55d6b94176 +version: 1.0.0 +dataset_uuid: 974b7a1c-22ea-49cb-9214-97b7dbd511e0 diff --git a/superset/examples/configs/charts/Vaccine_Candidates_per_Approach__Stage.yaml b/superset/examples/configs/charts/Vaccine_Candidates_per_Approach__Stage.yaml new file mode 100644 index 000000000..1e505f924 --- /dev/null +++ b/superset/examples/configs/charts/Vaccine_Candidates_per_Approach__Stage.yaml @@ -0,0 +1,54 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +slice_name: Vaccine Candidates per Approach & Stage +viz_type: heatmap +params: + adhoc_filters: [] + all_columns_x: Clinical Stage + all_columns_y: Product_Category + bottom_margin: auto + canvas_image_rendering: pixelated + datasource: 69__table + left_margin: auto + linear_color_scheme: schemeYlOrBr + metric: count + normalize_across: heatmap + queryFields: + metric: metrics + row_limit: 10000 + show_legend: false + show_perc: true + show_values: true + slice_id: 3962 + sort_x_axis: alpha_asc + sort_y_axis: alpha_asc + time_range: No filter + time_range_endpoints: + - inclusive + - exclusive + url_params: {} + viz_type: heatmap + xscale_interval: null + y_axis_bounds: + - null + - null + y_axis_format: SMART_NUMBER + yscale_interval: null +cache_timeout: null +uuid: 0c953c84-0c9a-418d-be9f-2894d2a2cee0 +version: 1.0.0 +dataset_uuid: 974b7a1c-22ea-49cb-9214-97b7dbd511e0 diff --git a/superset/examples/configs/charts/Vaccine_Candidates_per_Country.yaml b/superset/examples/configs/charts/Vaccine_Candidates_per_Country.yaml new file mode 100644 index 000000000..0bcd3ae4c --- /dev/null +++ b/superset/examples/configs/charts/Vaccine_Candidates_per_Country.yaml @@ -0,0 +1,43 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +slice_name: Vaccine Candidates per Country +viz_type: treemap +params: + adhoc_filters: [] + color_scheme: presetColors + datasource: 69__table + groupby: + - Country_Name + label_colors: {} + metrics: + - count + number_format: SMART_NUMBER + queryFields: + groupby: groupby + metrics: metrics + row_limit: 10000 + time_range: No filter + time_range_endpoints: + - inclusive + - exclusive + treemap_ratio: 1.618033988749895 + url_params: {} + viz_type: treemap +cache_timeout: null +uuid: e2f5a8a7-feb0-4f79-bc6b-01fe55b98b3c +version: 1.0.0 +dataset_uuid: 974b7a1c-22ea-49cb-9214-97b7dbd511e0 diff --git a/superset/examples/configs/charts/Vaccine_Candidates_per_Country_261.yaml b/superset/examples/configs/charts/Vaccine_Candidates_per_Country_261.yaml new file mode 100644 index 000000000..20afb8988 --- /dev/null +++ b/superset/examples/configs/charts/Vaccine_Candidates_per_Country_261.yaml @@ -0,0 +1,62 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +slice_name: Vaccine Candidates per Country +viz_type: world_map +params: + adhoc_filters: [] + color_picker: + a: 1 + b: 135 + g: 122 + r: 0 + country_fieldtype: name + datasource: 14__table + entity: Country_Name + linear_color_scheme: schemeYlOrBr + max_bubble_size: '25' + metric: count + row_limit: 10000 + secondary_metric: + aggregate: COUNT + column: + column_name: Country_Name + description: null + expression: null + filterable: true + groupby: true + id: 583 + is_dttm: false + python_date_format: null + type: TEXT + verbose_name: null + expressionType: SIMPLE + hasCustomLabel: false + isNew: false + label: COUNT(Country_Name) + optionName: metric_i8otphezfu_5urmjjs7c1 + sqlExpression: null + show_bubbles: true + time_range: No filter + time_range_endpoints: + - inclusive + - exclusive + url_params: {} + viz_type: world_map +cache_timeout: null +uuid: ddc91df6-fb40-4826-bdca-16b85af1c024 +version: 1.0.0 +dataset_uuid: 974b7a1c-22ea-49cb-9214-97b7dbd511e0 diff --git a/superset/examples/configs/charts/Vaccine_Candidates_per_Country__Stage.yaml b/superset/examples/configs/charts/Vaccine_Candidates_per_Country__Stage.yaml new file mode 100644 index 000000000..864363417 --- /dev/null +++ b/superset/examples/configs/charts/Vaccine_Candidates_per_Country__Stage.yaml @@ -0,0 +1,43 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +slice_name: Vaccine Candidates per Country & Stage +viz_type: sunburst +params: + adhoc_filters: [] + color_scheme: supersetColors + datasource: 69__table + groupby: + - Product_Category + - Clinical Stage + linear_color_scheme: schemeYlOrBr + metric: count + queryFields: + groupby: groupby + metric: metrics + secondary_metric: metrics + row_limit: 10000 + slice_id: 3964 + time_range: No filter + time_range_endpoints: + - inclusive + - exclusive + url_params: {} + viz_type: sunburst +cache_timeout: null +uuid: f69c556f-15fe-4a82-a8bb-69d5b6954123 +version: 1.0.0 +dataset_uuid: 974b7a1c-22ea-49cb-9214-97b7dbd511e0 diff --git a/superset/examples/configs/charts/Vaccine_Candidates_per_Country__Stage_749.yaml b/superset/examples/configs/charts/Vaccine_Candidates_per_Country__Stage_749.yaml new file mode 100644 index 000000000..f6305d0fd --- /dev/null +++ b/superset/examples/configs/charts/Vaccine_Candidates_per_Country__Stage_749.yaml @@ -0,0 +1,50 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +slice_name: Vaccine Candidates per Country & Stage +viz_type: heatmap +params: + adhoc_filters: [] + all_columns_x: Clinical Stage + all_columns_y: Country_Name + bottom_margin: auto + canvas_image_rendering: pixelated + datasource: 14__table + left_margin: auto + linear_color_scheme: schemeYlOrBr + metric: count + normalize_across: heatmap + row_limit: 10000 + show_legend: true + show_perc: true + sort_x_axis: alpha_asc + sort_y_axis: alpha_asc + time_range: No filter + time_range_endpoints: + - inclusive + - exclusive + url_params: {} + viz_type: heatmap + xscale_interval: null + y_axis_bounds: + - null + - null + y_axis_format: SMART_NUMBER + yscale_interval: null +cache_timeout: null +uuid: cd111331-d286-4258-9020-c7949a109ed2 +version: 1.0.0 +dataset_uuid: 974b7a1c-22ea-49cb-9214-97b7dbd511e0 diff --git a/superset/examples/configs/charts/Vaccine_Candidates_per_Phase.yaml b/superset/examples/configs/charts/Vaccine_Candidates_per_Phase.yaml new file mode 100644 index 000000000..0fb0509d7 --- /dev/null +++ b/superset/examples/configs/charts/Vaccine_Candidates_per_Phase.yaml @@ -0,0 +1,49 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +slice_name: Vaccine Candidates per Phase +viz_type: pie +params: + adhoc_filters: [] + color_scheme: supersetColors + datasource: 69__table + donut: true + groupby: + - Clinical Stage + innerRadius: 44 + label_line: true + labels_outside: true + metric: count + number_format: SMART_NUMBER + outerRadius: 61 + pie_label_type: key + queryFields: + groupby: groupby + metric: metrics + row_limit: 10000 + show_labels: true + show_legend: false + slice_id: 3957 + time_range: No filter + time_range_endpoints: + - inclusive + - exclusive + url_params: {} + viz_type: pie +cache_timeout: null +uuid: 30b73c65-85e7-455f-bb24-801bb0cdc670 +version: 1.0.0 +dataset_uuid: 974b7a1c-22ea-49cb-9214-97b7dbd511e0 diff --git a/superset/examples/configs/charts/Vaccine_Candidates_per_Phase_587.yaml b/superset/examples/configs/charts/Vaccine_Candidates_per_Phase_587.yaml new file mode 100644 index 000000000..03f9244ec --- /dev/null +++ b/superset/examples/configs/charts/Vaccine_Candidates_per_Phase_587.yaml @@ -0,0 +1,43 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +slice_name: Vaccine Candidates per Phase +viz_type: dist_bar +params: + adhoc_filters: [] + bottom_margin: auto + color_scheme: SUPERSET_DEFAULT + columns: [] + datasource: 14__table + groupby: + - Clinical Stage + label_colors: {} + metrics: + - count + row_limit: 10000 + show_legend: false + time_range: No filter + time_range_endpoints: + - inclusive + - exclusive + url_params: {} + viz_type: dist_bar + x_ticks_layout: auto + y_axis_format: SMART_NUMBER +cache_timeout: null +uuid: 392f293e-0892-4316-bd41-c927b65606a4 +version: 1.0.0 +dataset_uuid: 974b7a1c-22ea-49cb-9214-97b7dbd511e0 diff --git a/superset/examples/configs/dashboards/COVID_Vaccine_Dashboard.yaml b/superset/examples/configs/dashboards/COVID_Vaccine_Dashboard.yaml new file mode 100644 index 000000000..28bfe4cda --- /dev/null +++ b/superset/examples/configs/dashboards/COVID_Vaccine_Dashboard.yaml @@ -0,0 +1,321 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +dashboard_title: COVID Vaccine Dashboard +description: null +css: '' +slug: null +uuid: f4065089-110a-41fa-8dd7-9ce98a65e250 +position: + CHART-63bEuxjDMJ: + children: [] + id: CHART-63bEuxjDMJ + meta: + chartId: 3961 + height: 76 + sliceName: Vaccine Candidates per Country + sliceNameOverride: Map of Vaccine Candidates + uuid: ddc91df6-fb40-4826-bdca-16b85af1c024 + width: 7 + parents: + - ROOT_ID + - TABS-wUKya7eQ0Z + - TAB-BCIJF4NvgQ + - ROW-zvw7luvEL + type: CHART + CHART-F-fkth0Dnv: + children: [] + id: CHART-F-fkth0Dnv + meta: + chartId: 3960 + height: 76 + sliceName: Vaccine Candidates per Country + sliceNameOverride: Treemap of Vaccine Candidates per Country + uuid: e2f5a8a7-feb0-4f79-bc6b-01fe55b98b3c + width: 5 + parents: + - ROOT_ID + - TABS-wUKya7eQ0Z + - TAB-BCIJF4NvgQ + - ROW-zvw7luvEL + type: CHART + CHART-RjD_ygqtwH: + children: [] + id: CHART-RjD_ygqtwH + meta: + chartId: 3957 + height: 59 + sliceName: Vaccine Candidates per Phase + sliceNameOverride: Vaccine Candidates per Phase + uuid: 30b73c65-85e7-455f-bb24-801bb0cdc670 + width: 2 + parents: + - ROOT_ID + - TABS-wUKya7eQ0Z + - TAB-BCIJF4NvgQ + - ROW-xSeNAspgw + type: CHART + CHART-aGfmWtliqA: + children: [] + id: CHART-aGfmWtliqA + meta: + chartId: 3956 + height: 59 + sliceName: Vaccine Candidates per Phase + uuid: 392f293e-0892-4316-bd41-c927b65606a4 + width: 4 + parents: + - ROOT_ID + - TABS-wUKya7eQ0Z + - TAB-BCIJF4NvgQ + - ROW-xSeNAspgw + type: CHART + CHART-dCUpAcPsji: + children: [] + id: CHART-dCUpAcPsji + meta: + chartId: 3963 + height: 82 + sliceName: Vaccine Candidates per Country & Stage + sliceNameOverride: Heatmap of Countries & Clinical Stages + uuid: cd111331-d286-4258-9020-c7949a109ed2 + width: 4 + parents: + - ROOT_ID + - TABS-wUKya7eQ0Z + - TAB-BCIJF4NvgQ + - ROW-zhOlQLQnB + type: CHART + CHART-eirDduqb1A: + children: [] + id: CHART-eirDduqb1A + meta: + chartId: 3965 + height: 59 + sliceName: Filtering Vaccines + sliceNameOverride: Filter Box of Vaccines + uuid: c29381ce-0e99-4cf3-bf0f-5f55d6b94176 + width: 3 + parents: + - ROOT_ID + - TABS-wUKya7eQ0Z + - TAB-BCIJF4NvgQ + - ROW-xSeNAspgw + type: CHART + CHART-fYo7IyvKZQ: + children: [] + id: CHART-fYo7IyvKZQ + meta: + chartId: 3964 + height: 82 + sliceName: Vaccine Candidates per Country & Stage + sliceNameOverride: Sunburst of Country & Clinical Stages + uuid: f69c556f-15fe-4a82-a8bb-69d5b6954123 + width: 5 + parents: + - ROOT_ID + - TABS-wUKya7eQ0Z + - TAB-BCIJF4NvgQ + - ROW-zhOlQLQnB + type: CHART + CHART-j4hUvP5dDD: + children: [] + id: CHART-j4hUvP5dDD + meta: + chartId: 3962 + height: 82 + sliceName: Vaccine Candidates per Approach & Stage + sliceNameOverride: Heatmap of Aproaches & Clinical Stages + uuid: 0c953c84-0c9a-418d-be9f-2894d2a2cee0 + width: 3 + parents: + - ROOT_ID + - TABS-wUKya7eQ0Z + - TAB-BCIJF4NvgQ + - ROW-zhOlQLQnB + type: CHART + DASHBOARD_VERSION_KEY: v2 + GRID_ID: + children: [] + id: GRID_ID + parents: + - ROOT_ID + type: GRID + HEADER_ID: + id: HEADER_ID + meta: + text: COVID Vaccine Dashboard + type: HEADER + MARKDOWN-VjQQ5SFj5v: + children: [] + id: MARKDOWN-VjQQ5SFj5v + meta: + code: '# COVID-19 Vaccine Dashboard + + + Everywhere you look, you see negative news about COVID-19. This is to be expected; + it''s been a brutal year and this disease is no joke. This dashboard hopes + to use visualization to inject some optimism about the coming return to normalcy + we enjoyed before 2020! There''s lots to be optimistic about: + + + - the sheer volume of attempts to fund the R&D needed to produce and bring + an effective vaccine to market + + - the large number of countries involved in at least one vaccine candidate + (and the diversity of economic status of these countries) + + - the diversity of vaccine approaches taken + + - the fact that 2 vaccines have already been approved (and a hundreds of thousands + of patients have already been vaccinated) + + + ### The Dataset + + + This dashboard is powered by data maintained by the Millken Institute ([link + to dataset](https://airtable.com/shrSAi6t5WFwqo3GM/tblEzPQS5fnc0FHYR/viwDBH7b6FjmIBX5x?blocks=bipZFzhJ7wHPv7x9z)). + We researched each vaccine candidate and added our own best guesses for the + country responsible for each vaccine effort. + + + _Note that this dataset was last updated on 12/23/2020_. + + + ' + height: 59 + width: 3 + parents: + - ROOT_ID + - TABS-wUKya7eQ0Z + - TAB-BCIJF4NvgQ + - ROW-xSeNAspgw + type: MARKDOWN + ROOT_ID: + children: + - TABS-wUKya7eQ0Z + id: ROOT_ID + type: ROOT + ROW-xSeNAspgw: + children: + - MARKDOWN-VjQQ5SFj5v + - CHART-aGfmWtliqA + - CHART-RjD_ygqtwH + - CHART-eirDduqb1A + id: ROW-xSeNAspgw + meta: + '0': ROOT_ID + background: BACKGROUND_TRANSPARENT + parents: + - ROOT_ID + - TABS-wUKya7eQ0Z + - TAB-BCIJF4NvgQ + type: ROW + ROW-zhOlQLQnB: + children: + - CHART-j4hUvP5dDD + - CHART-dCUpAcPsji + - CHART-fYo7IyvKZQ + id: ROW-zhOlQLQnB + meta: + '0': ROOT_ID + background: BACKGROUND_TRANSPARENT + parents: + - ROOT_ID + - TABS-wUKya7eQ0Z + - TAB-BCIJF4NvgQ + type: ROW + ROW-zvw7luvEL: + children: + - CHART-63bEuxjDMJ + - CHART-F-fkth0Dnv + id: ROW-zvw7luvEL + meta: + '0': ROOT_ID + background: BACKGROUND_TRANSPARENT + parents: + - ROOT_ID + - TABS-wUKya7eQ0Z + - TAB-BCIJF4NvgQ + type: ROW + TAB-BCIJF4NvgQ: + children: + - ROW-xSeNAspgw + - ROW-zvw7luvEL + - ROW-zhOlQLQnB + id: TAB-BCIJF4NvgQ + meta: + text: Overview + parents: + - ROOT_ID + - TABS-wUKya7eQ0Z + type: TAB + TABS-wUKya7eQ0Z: + children: + - TAB-BCIJF4NvgQ + id: TABS-wUKya7eQ0Z + meta: {} + parents: + - ROOT_ID + type: TABS +metadata: + timed_refresh_immune_slices: [] + expanded_slices: {} + refresh_frequency: 0 + default_filters: '{}' + color_scheme: supersetColors + label_colors: + '0': '#D3B3DA' + '1': '#9EE5E5' + 0. Pre-clinical: '#1FA8C9' + 2. Phase II or Combined I/II: '#454E7C' + 1. Phase I: '#5AC189' + 3. Phase III: '#FF7F44' + 4. Authorized: '#666666' + root: '#1FA8C9' + Protein subunit: '#454E7C' + Phase II: '#5AC189' + Pre-clinical: '#FF7F44' + Phase III: '#666666' + Phase I: '#E04355' + Phase I/II: '#FCC700' + Inactivated virus: '#A868B7' + Virus-like particle: '#3CCCCB' + Replicating bacterial vector: '#A38F79' + DNA-based: '#8FD3E4' + RNA-based vaccine: '#A1A6BD' + Authorized: '#ACE1C4' + Non-replicating viral vector: '#FEC0A1' + Replicating viral vector: '#B2B2B2' + Unknown: '#EFA1AA' + Live attenuated virus: '#FDE380' + COUNT(*): '#D1C6BC' + filter_scopes: + '3965': + Country_Name: + scope: + - ROOT_ID + immune: [] + Product_Category: + scope: + - ROOT_ID + immune: [] + Clinical Stage: + scope: + - ROOT_ID + immune: [] +version: 1.0.0 diff --git a/superset/examples/configs/datasets/examples/covid_vaccines.yaml b/superset/examples/configs/datasets/examples/covid_vaccines.yaml new file mode 100644 index 000000000..954b15979 --- /dev/null +++ b/superset/examples/configs/datasets/examples/covid_vaccines.yaml @@ -0,0 +1,207 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +table_name: covid_vaccines +main_dttm_col: null +description: null +default_endpoint: null +offset: 0 +cache_timeout: null +schema: null +sql: '' +params: null +template_params: null +filter_select_enabled: false +fetch_values_predicate: null +extra: null +uuid: 974b7a1c-22ea-49cb-9214-97b7dbd511e0 +metrics: +- metric_name: count + verbose_name: COUNT(*) + metric_type: null + expression: COUNT(*) + description: null + d3format: null + extra: null + warning_text: null +columns: +- column_name: Clinical Stage + verbose_name: null + is_dttm: null + is_active: null + type: STRING + groupby: true + filterable: true + expression: "CASE \nWHEN Stage_of_Development = 'Pre-clinical' THEN '0. Pre-clinical'\n\ + WHEN Stage_of_Development = 'Phase I' THEN '1. Phase I' \nWHEN Stage_of_Development\ + \ = 'Phase I/II' or Stage_of_Development = 'Phase II' THEN '2. Phase II or\ + \ Combined I/II'\nWHEN Stage_of_Development = 'Phase III' THEN '3. Phase III'\n\ + WHEN Stage_of_Development = 'Authorized' THEN '4. Authorized'\nEND" + description: null + python_date_format: null +- column_name: FDA_Approved_Indications + verbose_name: null + is_dttm: false + is_active: null + type: DOUBLE PRECISION + groupby: true + filterable: true + expression: null + description: null + python_date_format: null +- column_name: Anticipated_Next_Steps + verbose_name: null + is_dttm: false + is_active: null + type: TEXT + groupby: true + filterable: true + expression: null + description: null + python_date_format: null +- column_name: IOC_Country_Code + verbose_name: null + is_dttm: false + is_active: null + type: TEXT + groupby: true + filterable: true + expression: null + description: null + python_date_format: null +- column_name: Clinical_Trials_for_Other_Diseases_or_Related_Use + verbose_name: null + is_dttm: false + is_active: null + type: TEXT + groupby: true + filterable: true + expression: null + description: null + python_date_format: null +- column_name: Country_Name + verbose_name: null + is_dttm: false + is_active: null + type: TEXT + groupby: true + filterable: true + expression: null + description: null + python_date_format: null +- column_name: Product_Category + verbose_name: null + is_dttm: false + is_active: null + type: TEXT + groupby: true + filterable: true + expression: null + description: null + python_date_format: null +- column_name: Clinical_Trials + verbose_name: null + is_dttm: false + is_active: null + type: TEXT + groupby: true + filterable: true + expression: null + description: null + python_date_format: null +- column_name: Date_Last_Updated + verbose_name: null + is_dttm: false + is_active: null + type: TEXT + groupby: true + filterable: true + expression: null + description: null + python_date_format: null +- column_name: Product_Description + verbose_name: null + is_dttm: false + is_active: null + type: TEXT + groupby: true + filterable: true + expression: null + description: null + python_date_format: null +- column_name: Developer_or_Researcher + verbose_name: null + is_dttm: false + is_active: null + type: TEXT + groupby: true + filterable: true + expression: null + description: null + python_date_format: null +- column_name: Stage_of_Development + verbose_name: null + is_dttm: false + is_active: null + type: TEXT + groupby: true + filterable: true + expression: null + description: null + python_date_format: null +- column_name: Funder + verbose_name: null + is_dttm: false + is_active: null + type: TEXT + groupby: true + filterable: true + expression: null + description: null + python_date_format: null +- column_name: Published_Results + verbose_name: null + is_dttm: false + is_active: null + type: TEXT + groupby: true + filterable: true + expression: null + description: null + python_date_format: null +- column_name: Sources + verbose_name: null + is_dttm: false + is_active: null + type: TEXT + groupby: true + filterable: true + expression: null + description: null + python_date_format: null +- column_name: Treatment_vs_Vaccine + verbose_name: null + is_dttm: false + is_active: null + type: TEXT + groupby: true + filterable: true + expression: null + description: null + python_date_format: null +version: 1.0.0 +database_uuid: a2dc77af-e654-49bb-b321-40f6b559a1ee +data: https://raw.githubusercontent.com/apache-superset/examples-data/master/datasets/examples/covid_vaccines.csv