Published
Edited
Jul 26, 2022
Insert cell
# underinsured
Insert cell
Insert cell
Insert cell
Insert cell
censusMedicaid_19to34_2017 = census({
vintage: 2017,
values: ["NAME", "B01001_001E","B27010_023E"], //population, insurance, employer insurance
sourcePath: ["acs", "acs5"],
geoHierarchy: {
state: "*"//,
//county: "*"
},
//statsKey: apiKey,
})
// NAME: "Mississippi"
// B01001_001E: 2986220
// state: "28"
Insert cell
Insert cell
Insert cell
Insert cell
arraySearch(cmsCatalog,'insur')
Insert cell
cmsCatalog.dataset.filter(x=>x['description'].match('insur'))
Insert cell
Insert cell
Insert cell
medicaid = (await fetch('https://data.medicaid.gov/api/1/metastore/schemas')).json()
Insert cell
medicaidEnrollment = (await fetch('https://data.medicaid.gov/api/1/datastore/sql?query=%5BSELECT%20%2A%20FROM%202f9b86d3-ca2a-5eac-a92d-18cdf120714a%5D%5BLIMIT%202%5D&show_db_columns=true')).json()
Insert cell
adultGroup = (await fetch('https://data.medicaid.gov/api/1/datastore/query/6c114b2c-cb83-559b-832f-4d8b06d6c1b9/0?offset=0&count=true&results=true&schema=true&keys=true&format=json&rowIds=false')).json()
Insert cell
Insert cell
Plotly = require("https://cdn.plot.ly/plotly-latest.min.js")
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more