Skip to content

Commit

Permalink
Update pediatric figures, make visible
Browse files Browse the repository at this point in the history
  • Loading branch information
keller-mark committed Apr 29, 2021
1 parent fca5097 commit d0b0561
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 16 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ end
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?


gem "webrick", "~> 1.7"
8 changes: 5 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ GEM
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
ffi (1.13.1)
ffi (1.15.0)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
i18n (1.8.5)
Expand Down Expand Up @@ -42,7 +42,7 @@ GEM
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.2.1)
listen (3.5.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
Expand Down Expand Up @@ -70,6 +70,7 @@ GEM
tzinfo (>= 1.0.0)
unicode-display_width (1.7.0)
wdm (0.1.1)
webrick (1.7.0)

PLATFORMS
ruby
Expand All @@ -80,6 +81,7 @@ DEPENDENCIES
tzinfo (~> 1.2)
tzinfo-data
wdm (~> 0.1.1)
webrick (~> 1.7)

BUNDLED WITH
2.1.4
2.2.16

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"config": {"view": {"continuousWidth": 400, "continuousHeight": 300}, "axis": {"labelFontSize": 14, "labelFontWeight": 300, "labelLimit": 1000, "titleFontSize": 16, "titleFontWeight": 300, "titlePadding": 10}, "concat": {"spacing": 0}, "header": {"labelFontSize": 13, "titleFontSize": 16, "titleFontWeight": 300}, "legend": {"cornerRadius": 0, "fillColor": "white", "labelFontSize": 14, "labelFontWeight": 300, "orient": "right", "padding": 10, "strokeColor": "lightgray", "symbolType": "circle", "titleFontSize": 16, "titleFontWeight": 400, "titleOrient": "top"}, "title": {"align": "left", "anchor": "middle", "fontSize": 18, "fontWeight": 400}}, "layer": [{"mark": "bar", "encoding": {"tooltip": [{"type": "nominal", "field": "race", "title": "Race"}, {"type": "nominal", "field": "country", "title": "Country"}, {"type": "nominal", "field": "variable", "title": "Severity"}, {"type": "quantitative", "field": "value", "title": "Number of Patients"}, {"type": "nominal", "field": "pct_nice", "title": "Percentage of Patients"}], "x": {"type": "nominal", "axis": {"title": "Race"}, "field": "race", "sort": ["All", "Amer. Indian or Alaska Nat.", "Asian", "Black", "Nat. Hawaiian or Other Pac. Isl.", "Hispanic or Latino", "White", "Other"]}, "y": {"type": "quantitative", "axis": {"title": "Number of Patients"}, "field": "value", "scale": {"domain": [0, 158.0]}}}, "height": 300, "width": 270}, {"mark": {"type": "text", "baseline": "middle", "color": "black", "dy": -10}, "encoding": {"text": {"type": "nominal", "field": "pct_nice"}, "tooltip": [{"type": "nominal", "field": "race", "title": "Race"}, {"type": "nominal", "field": "country", "title": "Country"}, {"type": "nominal", "field": "variable", "title": "Severity"}, {"type": "quantitative", "field": "value", "title": "Number of Patients"}, {"type": "nominal", "field": "pct_nice", "title": "Percentage of Patients"}], "x": {"type": "nominal", "axis": {"title": "Race"}, "field": "race", "sort": ["All", "Amer. Indian or Alaska Nat.", "Asian", "Black", "Nat. Hawaiian or Other Pac. Isl.", "Hispanic or Latino", "White", "Other"]}, "y": {"type": "quantitative", "axis": {"title": "Number of Patients"}, "field": "value"}}, "height": 300, "width": 270}], "data": {"name": "data-58bddbf0987bfc44388a6bff47f1afff"}, "title": {"text": ["Number of Patients by Race (USA only)"], "dx": 0, "subtitle": "Data as of 2020-10-22 | 8 Sites | Pediatric", "subtitleColor": "gray", "anchor": "middle"}, "$schema": "https://vega.github.io/schema/vega-lite/v4.8.1.json", "datasets": {"data-58bddbf0987bfc44388a6bff47f1afff": [{"age_group": "All", "country": "USA", "sex": "All", "ci_95_lower_x100": null, "color": null, "race": "Amer. Indian or Alaska Nat.", "ci_95_upper_x100": null, "n1minusp": null, "p": null, "ci_95_lower": null, "p_x100": null, "np": null, "pediatric": 1.0, "ci_95_upper": null, "variable": "All", "value": 0.0, "pct": 0.0, "pct_nice": "0.0%"}, {"age_group": "All", "country": "USA", "sex": "All", "ci_95_lower_x100": 9.635810565733854, "color": null, "race": "Asian", "ci_95_upper_x100": 70.36418943426614, "n1minusp": 6.0, "p": 0.4, "ci_95_lower": 0.09635810565733854, "p_x100": 40.0, "np": 4.0, "pediatric": 5.0, "ci_95_upper": 0.7036418943426614, "variable": "All", "value": 10.0, "pct": 0.02242152466367713, "pct_nice": "2.2%"}, {"age_group": "All", "country": "USA", "sex": "All", "ci_95_lower_x100": 48.76976250142304, "color": null, "race": "Black", "ci_95_upper_x100": 66.74747887788732, "n1minusp": 49.0, "p": 0.5775862068965517, "ci_95_lower": 0.48769762501423036, "p_x100": 57.758620689655174, "np": 67.0, "pediatric": 8.0, "ci_95_upper": 0.6674747887788731, "variable": "All", "value": 116.0, "pct": 0.2600896860986547, "pct_nice": "26.0%"}, {"age_group": "All", "country": "USA", "sex": "All", "ci_95_lower_x100": 24.720395705326467, "color": null, "race": "Hispanic or Latino", "ci_95_upper_x100": 56.36068537575461, "n1minusp": 21.999999999999996, "p": 0.40540540540540543, "ci_95_lower": 0.24720395705326467, "p_x100": 40.54054054054054, "np": 15.0, "pediatric": 3.0, "ci_95_upper": 0.5636068537575462, "variable": "All", "value": 37.0, "pct": 0.08295964125560538, "pct_nice": "8.3%"}, {"age_group": "All", "country": "USA", "sex": "All", "ci_95_lower_x100": null, "color": null, "race": "Nat. Hawaiian or Other Pac. Isl.", "ci_95_upper_x100": null, "n1minusp": null, "p": null, "ci_95_lower": null, "p_x100": null, "np": null, "pediatric": 1.0, "ci_95_upper": null, "variable": "All", "value": 0.0, "pct": 0.0, "pct_nice": "0.0%"}, {"age_group": "All", "country": "USA", "sex": "All", "ci_95_lower_x100": 20.56179450014905, "color": null, "race": "Other", "ci_95_upper_x100": 35.73450179614725, "n1minusp": 97.0, "p": 0.2814814814814815, "ci_95_lower": 0.2056179450014905, "p_x100": 28.14814814814815, "np": 38.0, "pediatric": 7.0, "ci_95_upper": 0.3573450179614725, "variable": "All", "value": 135.0, "pct": 0.30269058295964124, "pct_nice": "30.3%"}, {"age_group": "All", "country": "USA", "sex": "All", "ci_95_lower_x100": 39.25352404606816, "color": null, "race": "White", "ci_95_upper_x100": 55.34107054852644, "n1minusp": 77.99999999999999, "p": 0.47297297297297297, "ci_95_lower": 0.39253524046068156, "p_x100": 47.2972972972973, "np": 70.0, "pediatric": 8.0, "ci_95_upper": 0.5534107054852644, "variable": "All", "value": 148.0, "pct": 0.33183856502242154, "pct_nice": "33.2%"}]}}
{"config": {"view": {"continuousWidth": 400, "continuousHeight": 300}, "axis": {"labelFontSize": 14, "labelFontWeight": 300, "labelLimit": 1000, "titleFontSize": 16, "titleFontWeight": 300, "titlePadding": 10}, "concat": {"spacing": 0}, "header": {"labelFontSize": 13, "titleFontSize": 16, "titleFontWeight": 300}, "legend": {"cornerRadius": 0, "fillColor": "white", "labelFontSize": 14, "labelFontWeight": 300, "orient": "right", "padding": 10, "strokeColor": "lightgray", "symbolType": "circle", "titleFontSize": 16, "titleFontWeight": 400, "titleOrient": "top"}, "title": {"align": "left", "anchor": "middle", "fontSize": 18, "fontWeight": 400}}, "layer": [{"mark": "bar", "encoding": {"tooltip": [{"type": "nominal", "field": "race", "title": "Race"}, {"type": "nominal", "field": "country", "title": "Country"}, {"type": "nominal", "field": "variable", "title": "Severity"}, {"type": "quantitative", "field": "value", "title": "Number of Patients"}, {"type": "nominal", "field": "pct_nice", "title": "Percentage of Patients"}], "x": {"type": "nominal", "axis": {"title": "Race"}, "field": "race", "sort": ["All", "Amer. Indian or Alaska Nat.", "Asian", "Black", "Nat. Hawaiian or Other Pac. Isl.", "Hispanic or Latino", "White", "Other"]}, "y": {"type": "quantitative", "axis": {"title": "Number of Patients"}, "field": "value"}}, "height": 300, "width": 270}], "data": {"name": "data-58bddbf0987bfc44388a6bff47f1afff"}, "title": {"text": ["Number of Patients by Race (USA only)"], "dx": 0, "subtitle": "Data as of 2020-10-22 | 8 Sites | Pediatric", "subtitleColor": "gray", "anchor": "middle"}, "$schema": "https://vega.github.io/schema/vega-lite/v4.8.1.json", "datasets": {"data-58bddbf0987bfc44388a6bff47f1afff": [{"n1minusp": null, "age_group": "All", "np": null, "ci_95_upper_x100": null, "ci_95_lower": null, "sex": "All", "ci_95_lower_x100": null, "ci_95_upper": null, "race": "Amer. Indian or Alaska Nat.", "country": "USA", "p_x100": null, "color": null, "p": null, "pediatric": 1.0, "variable": "All", "value": 0.0, "pct": 0.0, "pct_nice": "0.0%"}, {"n1minusp": 6.0, "age_group": "All", "np": 4.0, "ci_95_upper_x100": 70.36418943426614, "ci_95_lower": 0.09635810565733854, "sex": "All", "ci_95_lower_x100": 9.635810565733854, "ci_95_upper": 0.7036418943426614, "race": "Asian", "country": "USA", "p_x100": 40.0, "color": null, "p": 0.4, "pediatric": 5.0, "variable": "All", "value": 10.0, "pct": 0.02242152466367713, "pct_nice": "2.2%"}, {"n1minusp": 49.0, "age_group": "All", "np": 67.0, "ci_95_upper_x100": 66.74747887788732, "ci_95_lower": 0.48769762501423036, "sex": "All", "ci_95_lower_x100": 48.76976250142304, "ci_95_upper": 0.6674747887788731, "race": "Black", "country": "USA", "p_x100": 57.758620689655174, "color": null, "p": 0.5775862068965517, "pediatric": 8.0, "variable": "All", "value": 116.0, "pct": 0.2600896860986547, "pct_nice": "26.0%"}, {"n1minusp": 21.999999999999996, "age_group": "All", "np": 15.0, "ci_95_upper_x100": 56.36068537575461, "ci_95_lower": 0.24720395705326467, "sex": "All", "ci_95_lower_x100": 24.720395705326467, "ci_95_upper": 0.5636068537575462, "race": "Hispanic or Latino", "country": "USA", "p_x100": 40.54054054054054, "color": null, "p": 0.40540540540540543, "pediatric": 3.0, "variable": "All", "value": 37.0, "pct": 0.08295964125560538, "pct_nice": "8.3%"}, {"n1minusp": null, "age_group": "All", "np": null, "ci_95_upper_x100": null, "ci_95_lower": null, "sex": "All", "ci_95_lower_x100": null, "ci_95_upper": null, "race": "Nat. Hawaiian or Other Pac. Isl.", "country": "USA", "p_x100": null, "color": null, "p": null, "pediatric": 1.0, "variable": "All", "value": 0.0, "pct": 0.0, "pct_nice": "0.0%"}, {"n1minusp": 97.0, "age_group": "All", "np": 38.0, "ci_95_upper_x100": 35.73450179614725, "ci_95_lower": 0.2056179450014905, "sex": "All", "ci_95_lower_x100": 20.56179450014905, "ci_95_upper": 0.3573450179614725, "race": "Other", "country": "USA", "p_x100": 28.14814814814815, "color": null, "p": 0.2814814814814815, "pediatric": 7.0, "variable": "All", "value": 135.0, "pct": 0.30269058295964124, "pct_nice": "30.3%"}, {"n1minusp": 77.99999999999999, "age_group": "All", "np": 70.0, "ci_95_upper_x100": 55.34107054852644, "ci_95_lower": 0.39253524046068156, "sex": "All", "ci_95_lower_x100": 39.25352404606816, "ci_95_upper": 0.5534107054852644, "race": "White", "country": "USA", "p_x100": 47.2972972972973, "color": null, "p": 0.47297297297297297, "pediatric": 8.0, "variable": "All", "value": 148.0, "pct": 0.33183856502242154, "pct_nice": "33.2%"}]}}
Loading

0 comments on commit d0b0561

Please sign in to comment.