Last active
August 29, 2015 13:56
-
-
Save hobbes7878/8829469 to your computer and use it in GitHub Desktop.
Groupable Sortable Bar Chart with JSONSelect
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Add items to select | |
| var chems = JSONSelect.match(".chem",rawdata).sort(); | |
| //All as first option | |
| chems.splice(chems.indexOf("All"),1) | |
| var opt = document.createElement('option'); | |
| opt.value='All'; | |
| opt.innerHTML='All'; | |
| document.getElementById("drug_drop").options.add(opt) | |
| chems.forEach(function(d){ | |
| var opt = document.createElement('option'); | |
| opt.value=d; | |
| opt.innerHTML=d; | |
| document.getElementById("drug_drop").options.add(opt) | |
| }); | |
| var margin = {top: 20, right: 20, bottom: 50, left: 75}, | |
| width = 500 - margin.left - margin.right, | |
| height = 300 - margin.top - margin.bottom; | |
| var x = d3.scale.ordinal() | |
| .rangeRoundBands([0, width], .4,.6); | |
| var y = d3.scale.linear() | |
| .range([height, 0]); | |
| //Scale Sidebar | |
| //Get ALL values and pop em out | |
| var all_max = new Array(); | |
| for (var i=0; i<rawdata.length; i++){ | |
| if(rawdata[i].chem == "All"){ | |
| for (var u=0; u<rawdata[i].data.grouped.length; u++){ | |
| all_max.push(rawdata[i].data.grouped[u].value) | |
| }; | |
| for (var u=0; u<rawdata[i].data.ungrouped.length; u++){ | |
| all_max.push(rawdata[i].data.ungrouped[u].value) | |
| }; | |
| }; | |
| }; | |
| maxs = JSONSelect.match(".value",rawdata) | |
| for(var pop in all_max){ | |
| maxs.splice(maxs.indexOf(all_max[pop]),1); | |
| }; | |
| sidebar_max = d3.max(maxs); | |
| var sidebar = d3.scale.linear() | |
| .domain([0, sidebar_max]) | |
| .range([height,2]); | |
| var xAxis = d3.svg.axis() | |
| .scale(x) | |
| .ticks(0) | |
| .orient("bottom"); | |
| var yAxis = d3.svg.axis() | |
| .scale(y) | |
| .orient("left"); | |
| var svg = d3.select("#chart").append("svg") | |
| .attr("width", width + margin.left + margin.right) | |
| .attr("height", height + margin.top + margin.bottom) | |
| .append("g") | |
| .attr("transform", "translate(" + margin.left + "," + margin.top + ")"); | |
| svg.append('rect') | |
| .attr("class", "graph_back cot_back") | |
| .attr("x",width/3+5) | |
| .attr("y",-5) | |
| .attr("width",width/3-10) | |
| .attr("height",height+5) | |
| .attr("opacity",0); | |
| svg.append('rect') | |
| .attr("class", "graph_back dep_back") | |
| .attr("x",width/4+8) | |
| .attr("y",-5) | |
| .attr("width",width/4-8) | |
| .attr("height",height+5); | |
| svg.append('rect') | |
| .attr("class", "graph_back dep_back") | |
| .attr("x",(width/4)*3-8) | |
| .attr("y",-5) | |
| .attr("width",width/4-8) | |
| .attr("height",height+5); | |
| svg.append('text') | |
| .attr("class","cot_back") | |
| .attr("x",width/4*1) | |
| .attr("y",height+45) | |
| .attr("font-size",15) | |
| .style("font-family","serif") | |
| .attr("fill","#444444") | |
| .attr("transform","rotate(45,"+width/4+" "+155+")") | |
| .text("Most"); | |
| svg.append('text') | |
| .attr("class","cot_back") | |
| .attr("x",width/4*1.35) | |
| .attr("y",height+45) | |
| .attr("font-size",15) | |
| .style("font-family","serif") | |
| .attr("fill","#444444") | |
| .attr("transform","rotate(45,"+width/4*1.35+" "+155+")") | |
| .text("More"); | |
| svg.append('text') | |
| .attr("class","cot_back") | |
| .attr("x",width/4*1.67) | |
| .attr("y",height+45) | |
| .attr("font-size",15) | |
| .style("font-family","serif") | |
| .attr("fill","#444444") | |
| .attr("transform","rotate(45,"+width/4*1.67+" "+155+")") | |
| .text("Less"); | |
| svg.append('text') | |
| .attr("class","cot_back") | |
| .attr("x",width/4*1.98) | |
| .attr("y",height+45) | |
| .attr("font-size",15) | |
| .style("font-family","serif") | |
| .attr("fill","#444444") | |
| .attr("transform","rotate(45,"+width/4*1.98+" "+155+")") | |
| .text("Least"); | |
| svg.append('text') | |
| .attr("class","cot_back") | |
| .attr("x",width-10) | |
| .attr("y",height+22) | |
| .attr("font-size",24) | |
| .style("font-family","serif") | |
| .style("font-style","italic") | |
| .attr("fill","#800000") | |
| .style("text-anchor", "end") | |
| .text("GP Local Deprivation"); | |
| svg.append('text') | |
| .attr("class","dep_back") | |
| .attr("x",width/4*1) | |
| .attr("y",height+62) | |
| .attr("font-size",100) | |
| .style("font-family","serif") | |
| .attr("fill","#555555") | |
| .attr("transform","rotate(90,"+width/4+" "+225+")") | |
| .text("}"); | |
| svg.append('text') | |
| .attr("class","dep_back") | |
| .attr("x",width/4*2) | |
| .attr("y",height+70) | |
| .attr("font-size",100) | |
| .style("font-family","serif") | |
| .attr("fill","#555555") | |
| .attr("transform","rotate(90,"+width/4*2+" "+225+")") | |
| .text("}"); | |
| svg.append('text') | |
| .attr("class","dep_back") | |
| .attr("x",width/4*3) | |
| .attr("y",height+78) | |
| .attr("font-size",100) | |
| .style("font-family","serif") | |
| .attr("fill","#555555") | |
| .attr("transform","rotate(90,"+width/4*3+" "+225+")") | |
| .text("}"); | |
| svg.append('text') | |
| .attr("class","dep_back") | |
| .attr("x",width/4*4) | |
| .attr("y",height+86) | |
| .attr("font-size",100) | |
| .style("font-family","serif") | |
| .attr("fill","#555555") | |
| .attr("transform","rotate(90,"+width/4*4+" "+225+")") | |
| .text("}"); | |
| svg.append('text') | |
| .attr("class","dep_back") | |
| .attr("x",(width/4*1)/1.7) | |
| .attr("y",height+45) | |
| .attr("font-size",14) | |
| .style("font-family","serif") | |
| .attr("fill","#555555") | |
| .style("text-anchor", "middle") | |
| .text("Most Deprived"); | |
| svg.append('text') | |
| .attr("class","dep_back") | |
| .attr("x",(width/4*2)/1.3) | |
| .attr("y",height+45) | |
| .attr("font-size",14) | |
| .style("font-family","serif") | |
| .attr("fill","#555555") | |
| .style("text-anchor", "middle") | |
| .text("More Deprived"); | |
| svg.append('text') | |
| .attr("class","dep_back") | |
| .attr("x",(width/4*3)/1.22) | |
| .attr("y",height+45) | |
| .attr("font-size",14) | |
| .style("font-family","serif") | |
| .attr("fill","#555555") | |
| .style("text-anchor", "middle") | |
| .text("Less Deprived"); | |
| svg.append('text') | |
| .attr("class","dep_back") | |
| .attr("x",(width/4*4)/1.17) | |
| .attr("y",height+45) | |
| .attr("font-size",14) | |
| .style("font-family","serif") | |
| .attr("fill","#555555") | |
| .style("text-anchor", "middle") | |
| .text("Least Deprived"); | |
| //Grouped Labels | |
| svg.append('text') | |
| .attr("class","grp_back") | |
| .attr("x",(width/3)-40) | |
| .attr("y",height+20) | |
| .attr("font-size",20) | |
| .style("font-family","serif") | |
| .attr("fill","#555555") | |
| .style("text-anchor", "middle") | |
| .text("NIR"); | |
| svg.append('text') | |
| .attr("class","grp_back") | |
| .attr("x",(width/2)) | |
| .attr("y",height+20) | |
| .attr("font-size",20) | |
| .style("font-family","serif") | |
| .attr("fill","#555555") | |
| .style("text-anchor", "middle") | |
| .text("ENG"); | |
| svg.append('text') | |
| .attr("class","grp_back") | |
| .attr("x",(width-105)) | |
| .attr("y",height+20) | |
| .attr("font-size",20) | |
| .style("font-family","serif") | |
| .attr("fill","#555555") | |
| .style("text-anchor", "middle") | |
| .text("WAL"); | |
| //RANGER | |
| svg.append("polygon") | |
| .attr("class","range_guide_back ranger") | |
| .attr("points","-40,"+height+" -40,2 -65,2 -65,"+height) | |
| .style("opacity",0); | |
| svg.append("polygon") | |
| .attr("class","range_guide ranger") | |
| .attr("points","-40,"+height+" -40,2 -65,2 -65,"+height) | |
| .style("opacity",0); | |
| svg.append('text') | |
| .attr("class","ranger") | |
| .attr("x",-64) | |
| .attr("y",-9) | |
| .attr("font-size",11) | |
| .style("font-family","sans-serif") | |
| .attr("fill","#555555") | |
| .text("Top") | |
| .style("opacity",0); | |
| svg.append('text') | |
| .attr("class","ranger") | |
| .attr("x",-64) | |
| .attr("y",0) | |
| .attr("font-size",11) | |
| .style("font-family","sans-serif") | |
| .attr("fill","#555555") | |
| .text("Drug") | |
| .style("opacity",0); | |
| function update(rawdata, chem, grouper) { | |
| var sorter = 1; | |
| //GET DATA with jsonSelect | |
| if(grouper==0){ | |
| var selector = '.chem:val("'+chem+'") ~ .data .grouped' | |
| }else{ | |
| var selector = '.chem:val("'+chem+'") ~ .data .ungrouped' | |
| }; | |
| var data = JSONSelect.match(selector,rawdata)[0]; | |
| //Add IDs to data | |
| data.forEach(function(d) { | |
| d.id = d.country + d.deprive; | |
| d.value = +d.value}); | |
| var data_max = JSONSelect.match('.chem:val("'+chem+'") ~ .data .ungrouped',rawdata)[0]; | |
| data_max.forEach(function(d) {d.value = +d.value}); | |
| var sub_max = d3.max(data_max, function(d) { return d.value; }); | |
| svg.selectAll(".range_guide") | |
| .transition().duration(1000) | |
| .attr("points","-40,"+height+" -40,"+sidebar(sub_max)+" -65,"+sidebar(sub_max)+" -65,"+height); | |
| d3.selectAll(".cot_back").transition().duration(1000) | |
| .attr("opacity",function(){if(grouper==0){return 0;}else{return 1;} }); | |
| d3.select("#sort_button").transition().duration(1000) | |
| .style("opacity",function(){if(grouper==0){return .25;}else{return 1;} }) | |
| .style("pointer-events",function(){if(grouper==0){return "none";}else{return "auto";} } ); | |
| keycall(); | |
| d3.selectAll(".grp_back").transition().duration(700) | |
| .attr("opacity",function(){if(grouper==1){return 0;}else{return 1;} }); | |
| d3.selectAll(".dep_back").attr("opacity",0); | |
| //DRAW STUFF | |
| x.domain(data.sort( | |
| function(a,b){ | |
| return d3.ascending( (a.country + a.deprive), (b.country + b.deprive)); | |
| }) | |
| .map(function(d) { return d.id; })) | |
| y.domain([0, d3.max(data, function(d) { return d.value; })]); | |
| var bars = svg.selectAll(".bar") | |
| .data(data); | |
| bars.enter().append("rect") | |
| .attr("y",height) | |
| .attr("height",0) | |
| .on("mouseover",function(d){ | |
| var selected_bar = this; | |
| svg.select(".pointer."+d.id) | |
| .style("opacity",1); | |
| }) | |
| .on("mouseout",function(d){ | |
| svg.selectAll(".pointer") | |
| .style("opacity",0); | |
| }); | |
| bars | |
| .transition().duration(1000) | |
| .attr("y",height) | |
| .attr("height",0) | |
| .attr("width", x.rangeBand()) | |
| .attr("x", function(d) { return x(d.id); }) | |
| .transition().duration(1000) | |
| .attr("class", function(d){return "bar "+d.country+" "+d.id;}) | |
| .attr("y", function(d) { return y(d.value); }) | |
| .attr("height", function(d) { return height - y(d.value); }); | |
| bars | |
| .exit().transition().duration(1000) | |
| .attr("y",height) | |
| .attr("height",0).remove(); | |
| var pointers = svg.selectAll(".pointer") | |
| .data(data); | |
| pointers.enter().append("polygon") | |
| .attr("class",function(d){return "pointer "+d.id;}) | |
| .style("opacity",0); | |
| pointers | |
| .attr("class",function(d){return "pointer "+d.id;}) | |
| .transition() | |
| .attr("points",function(d){ return "-15,"+(y(d.value)+5)+" 0,"+(y(d.value))+" -15,"+(y(d.value)-5);}); | |
| pointers.exit().remove(); | |
| svg.select(".x.axis") | |
| .transition() | |
| .duration(1000) | |
| .call(xAxis); | |
| svg.select(".y.axis") | |
| .transition() | |
| .duration(1000) | |
| .call(yAxis); | |
| d3.select("#sort_button") | |
| .on("click", function(){ | |
| change(data=data) | |
| if(sorter==1){ | |
| sorter=0 | |
| }else{ | |
| sorter=1 | |
| } | |
| }); | |
| function change(data) { | |
| d3.selectAll(".cot_back").transition().duration(1500) | |
| .attr("opacity",function(){ | |
| if(grouper==0){ return 0;}else{ | |
| if(sorter==1){return 0;}else{return 1;} | |
| } | |
| }); | |
| d3.selectAll(".dep_back").transition().duration(1500) | |
| .attr("opacity",function(){ | |
| if(grouper==0){ return 0;}else{ | |
| if(sorter==0){return 0;}else{return 1;} | |
| } | |
| }); | |
| // Copy-on-write since tweens are evaluated after a delay. | |
| var x0x = x.domain(data.sort( | |
| function(a,b){ | |
| if(sorter==0){ | |
| return d3.ascending( (a.country + a.deprive), (b.country + b.deprive)); | |
| }else{ | |
| return d3.ascending( (a.deprive + a.country), (b.deprive + b.country)); | |
| } | |
| } | |
| ) | |
| .map(function(d) { return d.id; })) | |
| .copy(); | |
| var transition = svg.transition().duration(1000), | |
| delay = function(d, i) { return i * 50; }; | |
| transition.selectAll(".bar") | |
| .delay(delay) | |
| .attr("x", function(d) { return x0x(d.id); }); | |
| transition.select(".x.axis") | |
| .call(xAxis) | |
| .selectAll("g") | |
| .delay(delay); | |
| }; | |
| function keycall(){ | |
| if(grouper==0){ | |
| d3.selectAll(".key") | |
| .transition().duration(700) | |
| .attr("transform","translate(0,0)") | |
| }else{ | |
| d3.selectAll(".key") | |
| .transition().duration(700) | |
| .attr("transform","translate(-200,0)") | |
| } | |
| }; | |
| }; | |
| //Add axes outside function | |
| svg.append("g") | |
| .attr("class", "x axis") | |
| .attr("transform", "translate(0," + height + ")") | |
| .call(xAxis); | |
| svg.append("g") | |
| .attr("class", "y axis") | |
| .call(yAxis) | |
| .append("text") | |
| .attr("transform", "rotate(-90)") | |
| .attr("y", 6) | |
| .attr("dy", ".71em") | |
| .style("text-anchor", "end") | |
| .text("Daily Doses per 1,000 Patients"); | |
| update(rawdata, chem, grouper) | |
| d3.select("#group_button") | |
| .on("click", function(){ | |
| update(rawdata, chem, grouper) | |
| if(grouper==1){grouper=0}else{grouper=1} | |
| }); | |
| var grouper = 1; | |
| d3.select("#drug_drop").on("change", | |
| function(){ | |
| update(rawdata,chem=this.value,grouper=0) | |
| if(this.value=='All'){ | |
| d3.selectAll(".ranger") | |
| .style("opacity",0); | |
| }else{ | |
| d3.selectAll(".ranger") | |
| .style("opacity",1); | |
| } | |
| grouper=1 | |
| }); | |
| //KEY | |
| var key_bar_x = width+50 | |
| key_bar_y = -30 | |
| dur = 700; | |
| svg.append("polygon") | |
| .attr("class","key A_NIR") | |
| .transition().duration(dur) | |
| .attr("points",(key_bar_x+0)+","+(key_bar_y+12)+" "+(key_bar_x+15)+","+(key_bar_y+12)+" "+(key_bar_x+15)+","+(key_bar_y+25)+" "+(key_bar_x+0)+","+(key_bar_y+25)); | |
| svg.append("text") | |
| .attr("class","key") | |
| .transition().duration(dur) | |
| .attr("x",key_bar_x+17) | |
| .attr("y",key_bar_y+22) | |
| .style("fill", "black") | |
| .text("NIR"); | |
| svg.append("polygon") | |
| .attr("class","key B_ENG") | |
| .transition().duration(dur) | |
| .attr("points",(key_bar_x+45)+","+(key_bar_y+12)+" "+(key_bar_x+60)+","+(key_bar_y+12)+" "+(key_bar_x+60)+","+(key_bar_y+25)+" "+(key_bar_x+45)+","+(key_bar_y+25)); | |
| svg.append("text") | |
| .attr("class","key") | |
| .transition().duration(dur) | |
| .attr("x",key_bar_x+62) | |
| .attr("y",key_bar_y+22) | |
| .style("fill", "black") | |
| .text("ENG"); | |
| svg.append("polygon") | |
| .attr("class","key C_WAL") | |
| .transition().duration(dur) | |
| .attr("points",(key_bar_x+90)+","+(key_bar_y+12)+" "+(key_bar_x+105)+","+(key_bar_y+12)+" "+(key_bar_x+105)+","+(key_bar_y+25)+" "+(key_bar_x+90)+","+(key_bar_y+25)); | |
| svg.append("text") | |
| .attr("class","key") | |
| .transition().duration(dur) | |
| .attr("x",key_bar_x+107) | |
| .attr("y",key_bar_y+22) | |
| .style("fill", "black") | |
| .text("WAL"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <script src="https://rawgithub.com/mbostock/d3/master/d3.min.js"></script> | |
| <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> | |
| <script src="https://rawgithub.com/lloyd/JSONSelect/master/src/jsonselect.js"></script> | |
| <link rel="stylesheet" type="text/css" href="styles.css"> | |
| </head> | |
| <body> | |
| <script type="text/javascript" src="viz-data.js"></script> | |
| <script type="text/javascript"> | |
| //Initials | |
| var grouper = 0, | |
| sorter = 1, | |
| chem = 'All'; | |
| </script> | |
| <div id="chart"> | |
| <select id="drug_drop"></select> | |
| <a href="" onclick="return false;" id="group_button" class="chart_button_left">Group</a> | |
| <a href="" onclick="return false;" id="sort_button" class="chart_button_right">Sort</a><br> | |
| </div> | |
| <script type="text/javascript" src="d3-viz.js"></script> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body { | |
| font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
| position: relative; | |
| width: 960px; | |
| } | |
| #chart{ | |
| float:left; | |
| clear:both; | |
| margin:25px; | |
| } | |
| .y.axis text { | |
| font: 14px serif; | |
| } | |
| .y.axis path, | |
| .y.axis line { | |
| fill: none; | |
| stroke: #000; | |
| shape-rendering: crispEdges; | |
| } | |
| .x.axis text{ | |
| font-size: 0px; | |
| } | |
| .bar { | |
| fill-opacity: .9; | |
| stroke:black; | |
| stroke-width:1px; | |
| } | |
| .bar:hover{ | |
| stroke:red; | |
| stroke-width:2px; | |
| } | |
| .pointer{ | |
| fill:red; | |
| stroke:#800000; | |
| stroke-width:1px; | |
| } | |
| .A_NIR{ | |
| fill:steelblue; | |
| } | |
| .B_ENG{ | |
| fill:#800000; | |
| } | |
| .C_WAL{ | |
| fill:orange; | |
| } | |
| .x.axis path { | |
| display: none; | |
| } | |
| .graph_back{ | |
| fill:rgba(84,84,84,0.25); | |
| } | |
| #drug_drop{ | |
| font-family: 'Times New Roman',serif; | |
| font-size: 24px; | |
| color:black; | |
| width:200px; | |
| background-color: white; | |
| margin-left: 10px; | |
| cursor:pointer; | |
| max-height: 100px; | |
| overflow-y:scroll; | |
| } | |
| .key{ | |
| font-family: arial, sans-serif; | |
| font-size: 12px; | |
| color:black; | |
| font-style: italic; | |
| } | |
| .range_guide_back{ | |
| fill:#999999; | |
| fill-opacity:.5; | |
| } | |
| .range_guide{ | |
| fill:rgba(255,0,0,.6); | |
| } | |
| .chart_button_left { | |
| background-color:#ffffff; | |
| -webkit-border-top-left-radius:15px; | |
| -moz-border-radius-topleft:15px; | |
| border-top-left-radius:15px; | |
| -webkit-border-top-right-radius:0px; | |
| -moz-border-radius-topright:0px; | |
| border-top-right-radius:0px; | |
| -webkit-border-bottom-right-radius:0px; | |
| -moz-border-radius-bottomright:0px; | |
| border-bottom-right-radius:0px; | |
| -webkit-border-bottom-left-radius:15px; | |
| -moz-border-radius-bottomleft:15px; | |
| border-bottom-left-radius:15px; | |
| text-indent:-1.21px; | |
| border:1px solid black; | |
| display:inline-block; | |
| color:black; | |
| font-family:Times New Roman; | |
| font-size:24px; | |
| font-style:normal; | |
| height:35px; | |
| line-height:35px; | |
| width:121px; | |
| text-decoration:none; | |
| text-align:center; | |
| }.chart_button_left:hover { | |
| background-color:#cccccc; | |
| }.chart_button_left:active { | |
| position:relative; | |
| top:1px; | |
| } | |
| .chart_button_right { | |
| background-color:#ffffff; | |
| -webkit-border-top-left-radius:0px; | |
| -moz-border-radius-topleft:0px; | |
| border-top-left-radius:0px; | |
| -webkit-border-top-right-radius:15px; | |
| -moz-border-radius-topright:15px; | |
| border-top-right-radius:15px; | |
| -webkit-border-bottom-right-radius:15px; | |
| -moz-border-radius-bottomright:15px; | |
| border-bottom-right-radius:15px; | |
| -webkit-border-bottom-left-radius:0px; | |
| -moz-border-radius-bottomleft:0px; | |
| border-bottom-left-radius:0px; | |
| text-indent:-1.21px; | |
| border:1px solid black; | |
| display:inline-block; | |
| color:black; | |
| font-family:Times New Roman; | |
| font-size:24px; | |
| font-style:normal; | |
| height:35px; | |
| line-height:35px; | |
| width:121px; | |
| text-decoration:none; | |
| text-align:center; | |
| }.chart_button_right:hover { | |
| background-color:#cccccc; | |
| }.chart_button_right:active { | |
| position:relative; | |
| top:1px; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var rawdata = | |
| [ | |
| { | |
| "chem": "Trimipramine", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 6.1 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 2.9 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 4.3 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 3.9 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 3.9 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 3.5 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 8.6 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 3.1 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 4.8 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 7.9 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 2.5 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 4.9 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 2.7 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 2.3 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 3.9 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Mirtazapine", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 314.2 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 137.0 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 274.6 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 409.4 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 195.4 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 348.4 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 298.6 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 138.0 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 304.5 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 278.2 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 115.3 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 235.1 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 274.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 88.1 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 211.7 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Tranylcypromine", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 10.9 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 7.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 10.7 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 17.7 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 9.2 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 7.9 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 11.9 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 8.0 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 8.7 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 10.8 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 7.1 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 10.0 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 6.6 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 6.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 13.4 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Fluvoxamine", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 8.0 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 4.5 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 6.9 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 8.6 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 6.0 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 5.8 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 8.2 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 5.0 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 9.1 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 8.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 3.5 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 8.8 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 6.8 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 3.5 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 4.7 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Imipramine", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 6.7 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 4.4 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 6.6 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 5.5 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 5.3 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 8.0 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 8.5 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 4.5 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 7.2 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 5.9 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 4.3 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 5.9 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 7.4 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 3.6 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 5.1 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Clomipramine", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 15.6 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 9.1 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 17.8 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 19.4 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 11.0 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 20.3 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 16.8 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 9.8 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 18.7 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 15.5 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 8.5 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 17.7 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 10.4 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 7.5 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 14.5 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Doxepin", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 3.4 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 2.8 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 4.0 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 3.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 4.2 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 3.9 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 3.9 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 2.9 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 4.3 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 3.8 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 2.2 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 4.9 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 3.0 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 2.1 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 3.3 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Amitriptyline", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 224.4 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 146.0 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 239.5 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 266.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 176.2 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 263.0 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 219.7 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 156.1 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 259.4 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 228.2 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 138.0 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 237.1 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 184.2 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 112.8 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 197.9 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Fluoxetine", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 784.4 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 269.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 528.7 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 975.1 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 296.9 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 604.7 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 800.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 288.6 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 559.8 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 702.7 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 266.2 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 526.7 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 665.1 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 228.2 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 419.2 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Citalopram", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 796.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 452.0 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 961.6 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 885.8 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 487.4 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 1046.1 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 791.2 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 466.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 1048.6 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 816.8 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 446.5 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 921.1 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 693.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 403.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 833.9 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Dosulepin", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 52.9 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 22.8 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 33.3 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 62.7 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 26.8 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 32.6 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 60.1 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 24.3 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 37.2 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 50.4 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 21.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 33.8 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 37.9 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 18.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 29.8 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Venlafaxine", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 444.2 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 111.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 182.3 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 536.8 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 120.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 198.7 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 429.7 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 110.8 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 193.5 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 406.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 111.4 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 180.4 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 409.0 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 102.4 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 155.8 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Lofepramine", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 21.2 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 14.1 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 27.2 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 25.4 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 17.2 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 31.8 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 20.4 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 15.1 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 31.5 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 22.8 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 13.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 23.7 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 15.4 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 11.0 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 21.8 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Bupropion", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 2.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 1.8 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": null | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 2.5 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 2.1 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": null | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 3.0 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 1.8 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": null | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 2.0 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 1.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": null | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 1.9 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 1.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": null | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Phenelzine", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 4.2 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 2.2 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 4.3 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 3.7 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 2.9 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 4.7 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 4.9 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 2.3 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 3.8 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 4.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 2.1 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 4.8 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 4.0 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 2.0 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 3.8 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Escitalopram", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 228.7 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 41.3 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 37.9 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 196.2 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 43.8 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 38.5 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 217.1 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 39.6 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 36.0 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 253.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 40.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 34.4 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 246.2 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 40.4 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 42.8 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Reboxetine", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 8.7 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 3.6 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 8.7 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 8.1 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 4.9 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 11.1 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 9.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 3.8 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 8.6 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 9.5 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 3.3 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 8.8 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 7.9 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 2.8 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 6.2 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Moclobemide", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 7.5 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 4.3 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 8.0 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 6.5 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 5.4 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 10.9 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 9.0 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 4.6 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 6.8 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 8.0 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 4.0 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 8.3 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 7.0 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 3.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 5.6 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Duloxetine", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 128.9 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 36.2 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 109.8 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 144.5 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 43.1 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 126.1 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 131.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 37.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 123.0 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 126.2 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 34.9 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 102.0 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 114.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 28.9 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 88.3 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Paroxetine", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 101.9 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 62.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 130.1 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 132.2 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 71.4 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 136.0 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 92.9 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 63.9 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 154.1 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 96.7 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 61.1 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 120.7 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 87.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 53.6 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 111.6 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "All", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 3897.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 1620.4 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 3057.4 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 4603.7 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 1847.9 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 3447.7 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 3862.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 1690.3 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 3294.4 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 3672.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 1562.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 2896.4 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 3467.2 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 1359.8 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 2594.7 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Agomelatine", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 20.0 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 4.5 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 5.7 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 15.7 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 6.4 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 7.2 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 24.9 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 4.6 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 5.3 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 19.8 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 4.0 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 3.8 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 19.1 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 3.9 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 7.2 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Nortriptyline", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 5.6 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 7.4 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 8.9 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 4.2 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 8.3 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 9.7 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 7.0 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 7.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 9.7 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 6.2 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 7.4 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 9.6 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 4.5 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 6.5 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 6.5 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Mianserin", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 2.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 1.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 3.3 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 1.1 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 2.1 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 5.5 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 3.9 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 1.7 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 3.8 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 2.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 1.4 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 1.6 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 1.8 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 1.6 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 1.7 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Sertraline", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 739.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 301.1 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 483.1 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 902.5 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 345.0 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 551.7 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 732.9 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 323.3 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 498.7 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 633.9 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 286.0 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 436.3 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 688.6 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 246.6 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 447.8 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "chem": "Trazodone", | |
| "data": { | |
| "grouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "All", | |
| "value": 19.7 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "All", | |
| "value": 13.9 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "All", | |
| "value": 26.6 | |
| } | |
| ], | |
| "ungrouped": [ | |
| { | |
| "country": "A_NIR", | |
| "deprive": "A_Most", | |
| "value": 26.8 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "A_Most", | |
| "value": 19.9 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "A_Most", | |
| "value": 34.1 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "B_More", | |
| "value": 19.0 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "B_More", | |
| "value": 14.8 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "B_More", | |
| "value": 30.7 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "C_Less", | |
| "value": 17.3 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "C_Less", | |
| "value": 11.8 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "C_Less", | |
| "value": 21.9 | |
| }, | |
| { | |
| "country": "A_NIR", | |
| "deprive": "D_Least", | |
| "value": 15.8 | |
| }, | |
| { | |
| "country": "B_ENG", | |
| "deprive": "D_Least", | |
| "value": 8.6 | |
| }, | |
| { | |
| "country": "C_WAL", | |
| "deprive": "D_Least", | |
| "value": 19.7 | |
| } | |
| ] | |
| } | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment