User Tools

Site Tools


research:test_charts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
research:test_charts [2016/05/24 15:30]
schuemie
research:test_charts [2016/05/24 15:55]
schuemie
Line 46: Line 46:
             type: '​category',​             type: '​category',​
             categories: ['> 1 year', '>2 years',​ '> 3 years',​ '> 4 years',​ '> 5 years'​]             categories: ['> 1 year', '>2 years',​ '> 3 years',​ '> 4 years',​ '> 5 years'​]
 +        },
 +        y: {
 +            min: 0,
 +            padding: {bottom: 0}
         }         }
     }     }
Line 63: Line 67:
             type: '​category',​             type: '​category',​
             categories: ['​2009',​ '​2010',​ '​2011',​ '​2012',​ '​2013',​ '​2014',​ '​2015'​]             categories: ['​2009',​ '​2010',​ '​2011',​ '​2012',​ '​2013',​ '​2014',​ '​2015'​]
 +        },
 +        y: {
 +            min: 0,
 +            padding: {bottom: 0}
         }         }
     }     }
Line 75: Line 83:
         columns: [         columns: [
             ['Drug exposure',​ 5, 7, 13, 20, 21, 20, 23],             ['Drug exposure',​ 5, 7, 13, 20, 21, 20, 23],
 +            ['​Device exposure',​ 0, 0, 1, 1, 0, 0, 0],
             ['​Condition occurrence',​ 3, 4, 7, 11, 9, 13, 14],             ['​Condition occurrence',​ 3, 4, 7, 11, 9, 13, 14],
             ['Drug era', 4, 5, 11, 14, 18, 17, 18],             ['Drug era', 4, 5, 11, 14, 18, 17, 18],
Line 91: Line 100:
             type: '​category',​             type: '​category',​
             categories: ['​2009',​ '​2010',​ '​2011',​ '​2012',​ '​2013',​ '​2014',​ '​2015'​]             categories: ['​2009',​ '​2010',​ '​2011',​ '​2012',​ '​2013',​ '​2014',​ '​2015'​]
 +        },
 +        y: {
 +            min: 0,
 +            padding: {bottom: 0}
 +        }
 +    }
 +</c3>
 +
 +== Average number of records per person per domain per setting ==
 +
 +<c3>
 +    data: {
 +        columns: [
 +            ['Drug exposure',​ 5, 7, 13, 20],
 +            ['​Device exposure',​ 0, 0, 0, 1],
 +            ['​Condition occurrence',​ 3, 4, 7, 11],            ​
 +            ['Drug era', 4, 5, 11, 14],
 +            ['​Condition era', 3, 3, 5, 8],
 +            ['​Procedure',​ 2, 3, 4, 5],
 +            ['​Visit',​ 5, 5, 6, 7],
 +            ['​Death',​ 0, 1, 1, 2,],
 +            ['​Measurement',​ 5, 6, 5, 7],
 +            ['​Observation',​ 5, 4, 5, 6],
 +
 +        ],
 +        type : '​bar',​
 +        groups: [
 +            ['Drug exposure',​ '​Device exposure',​ '​Condition occurrence',​ 'Drug era', '​Condition era', '​Procedure',​ '​Visit',​ '​Death',​ '​Measurement',​ '​Observation'​]
 +        ]
 +    },
 +    axis: {
 +        x: {
 +            type: '​category',​
 +            categories: ['​Inpatient',​ '​Outpatient',​ '​ER',​ '​Unknown'​]
 +        }
 +    }
 +</c3>
 +
 +== Percentage of records with cost information per domain ==
 +
 +<c3>
 +    data: {
 +        columns: [
 +            ['% with cost info', 0, 90, 80, 10],
 +            ['% without cost info', 100, 10, 20, 90],                               
 +        ],
 +        type : '​bar',​
 +        groups: [
 +            ['% with cost info', '% without cost info']
 +        ],
 +        colors: {
 +            '% without cost info': '#​dddddd'​
 +        },
 +    },
 +    axis: {
 +        rotated: true,
 +        x: {
 +            type: '​category',​
 +            categories: ['​Visit',​ '​Procedure',​ '​Drug',​ '​Device'​]
         }         }
     }     }
 </c3> </c3>
research/test_charts.txt ยท Last modified: 2016/05/26 07:57 by schuemie