Platform
Resources
Pricing
Sign in
Get started
David Cass
Web content at the Houses of the Oireachtas
Workspace
Fork
Public
By
David Cass
Edited
Dec 6, 2023
Insert cell
Insert cell
May
=
fetch
(
`https://api.oireachtas.ie/v1/questions?date_start=${
year
}-05-01&date_end=${
year
}-05-31&limit=9999&qtype=oral,written`
)
.
then
(
(
response
)
=>
response
.
json
(
)
)
Insert cell
Insert cell
choice
=
chooseAYear
.
filter
(
d
=>
d
.
value
==
"2023"
)
Insert cell
year
=
choice
.
map
(
d
=>
d
.
value
)
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.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
May
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
chooseAYear
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
choice
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
year
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML