Senate
Part of the Parliament by the numbers
Same legislature, Senate side — with the latest known stage of the process.
data space «parlamento» — this micro app reads and writes the suite’s shared data space.
What it records
- Legislature
The other micro apps in the same suite
How it works
This is a Reactive app: a plain text document that your browser turns into a working app — forms, live data, tables, statistics and even charts, with nothing to install or configure.
- Use it right away. Hit “Use this app”: it opens right in your browser, ready to go, with data saved only on your device.
- Your data stays yours. Everything is stored locally on your device, kept separate for each app: no account, no server, nothing to set up.
- Make it your own. The text below is the entire app: copy it, tweak fields, views and words, and your changes become interactive instantly.
- Share it as a file. An app is a simple file: save it, export it or share it with a link; and with encrypted collaboration several people edit the same data in real time.
The app’s source
# 📘 Senate
## The bills
Same legislature, Senate side — with the latest known stage of the process.
::input[legS]{value="19" placeholder="Legislature"}
::od-query{into="ddl" sql="SELECT titolo_breve AS titolo_breve, natura AS natura, ramo AS ramo, stato AS stato, data_stato AS data_stato, relatore AS relatore, url AS url FROM senato_ddl WHERE legislatura = TRY_CAST('{#legS}' AS INTEGER) ORDER BY data_stato DESC LIMIT 30" limit="30"}
:::table{path="ddl" headers="Title,Nature,Chamber of origin,Status,Date,Rapporteur" pagesize="10"}
{titolo_breve} | {natura} | {ramo} | {stato} | {data_stato} | {relatore}
:::
### Passed into law
The bills from this legislature that completed their process.
::od-query{into="leggi" sql="SELECT COALESCE(titolo_breve, titolo) AS titolo_breve, numero_legge AS numero_legge, data_legge AS data_legge, url AS url FROM senato_ddl WHERE legislatura = TRY_CAST('{#legS}' AS INTEGER) AND numero_legge IS NOT NULL ORDER BY data_legge DESC LIMIT 20" limit="20"}
:::cards{path="leggi" search="false"}
**{titolo_breve}**
Law no. {numero_legge} of {data_legge}
[Record]({url})
:::