(select page from pages where name = 'text.npr.org'),
'a.topic-title'
)
Inputs.table(
db.sql`
select
html_attr_get(html, 'link', 'href') as link
from html_each(
(select page from pages where name = 'whitehouse.gov'),
'link[rel=stylesheet]'
)`
)
db
select
html_text(items.html, "strong") as name,
html_attr_get(
html_extract(items.html, 'a[href*=".zip"]'),
'a',
'href'
) as href
from html_each(
(select page from pages where name = 'lacounty-results'),
'.expandable_item.indent'
) as items
scripts=db.sql`select
pages.name,
script_tags.rowid as id,
text as code
from pages
join html_each(page, 'script') as script_tags
where not html_attr_has(script_tags.html, 'script', 'src')`
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.