The goal of this project is to graphically display the distribution of intensive care services in Australia.
As of now, the map displays the position of hospitals as red circles, and ICU availability as a heatmap.
Data used was obtained via:
- Captured text from page and converted it to JSON using grep.
- Added Google Places Data
9 Po Kin Road
Sheung Shui NEW TERRITORIES
HONG KONG Dr Koon Lam Koon Lam BASIC Foundation
- Ran the following scriptlet in the page:
var icus = [];
document.querySelectorAll('td[style*="357px"]').forEach(td => {
icus.push({institution: td.querySelector('strong').textContent, location: td.textContent})
});
window.document.body.innerHTML = <pre>${JSON.stringify(icus, false, 2)}</pre>
;