Denmark Speeches
v0.1.0Danish parliamentary speeches -- who said what in the Folketing chamber, searchable.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
dk_speeches_by_member
Speeches given in the Danish Parliament (Folketing) chamber by one member, newest first, with party, date, agenda item, the bill or debate number (case_ref) with a link to the Folketing case page, word count and the opening of each speech. Resolve the speaker by name (spelling-tolerant; a name that matches nobody returns found:false with the nearest names) or by Folketing actor id, which every row also carries so it joins to folketinget_dk_* and dk_resolve_person. Covers 2014-10-07 to 2022-06-07 (947 sittings); the response states the coverage. Danish text.
| Parameter | Type | Description |
|---|---|---|
actor_id | number | Folketing actor id (from folketinget_dk_find_actor); use instead of member. |
from | string | ISO date, earliest speech to include. |
include_chair | boolean | Include speeches given as chair of the sitting (default true). Set false for substantive speeches only. |
limit | number | Rows per call (default 20, max 50). |
member | string | Member name, e.g. "Mette Frederiksen" or "Pia Kjærsgaard". |
offset | number | Rows to skip, for paging (use next_offset). |
to | string | ISO date, latest speech to include. |
dk_speeches_in_debate
Every speech in one Folketing debate: pass the bill, motion or debate number (case, e.g. "L 71", "B 12", "F 57", with session such as 20211 when the number is old) and/or a sitting date. Returns each agenda item with its speeches in order, speaker, party, Folketing actor id and the speech text (truncated per speech; max_chars). With a case, also returns the Folketing case id (sag_id) from its open data when available. Covers 2014-10-07 to 2022-06-07; the response states the coverage. Danish text.
| Parameter | Type | Description |
|---|---|---|
case | string | Bill (L), motion (B) or debate (F) number, e.g. "L 71". Numbers restart each session. |
date | string | Sitting date, ISO. With no case, returns every agenda item of that day. |
limit | number | Max speeches returned (default 40, max 100). |
max_chars | number | Max characters of text per speech (default 1200). Use dk_speech_get for a full speech. |
session | string | Folketing session code, e.g. "20211" for 2021-22. Needed when the number exists in several sessions. |
dk_speeches_search
Full-text search over Danish chamber speeches 2014-10-07 to 2022-06-07 (398,610 speeches), ranked by relevance, in Danish with stemming. Optional filters: member (name or actor_id), party (abbreviation such as V, S, DF, or full name) and from_year/to_year. Every row carries speaker, party, actor id, date, agenda item, bill or debate number with a link to the Folketing case page, and an excerpt around the match. Returns the total number of matching speeches.
| Parameter | Type | Description |
|---|---|---|
query * | string | Danish words or a quoted phrase, e.g. "klimaafgift" or "den grønne omstilling". |
actor_id | number | Restrict to one member by Folketing actor id. |
from_year | number | First year, 2014 or later. |
limit | number | Rows (default 10, max 25). |
member | string | Restrict to one member (name). |
party | string | Party abbreviation (V, S, DF, EL, ...) or name. |
to_year | number | Last year, 2022 or earlier. |
dk_speech_get
One Danish chamber speech in full, by speech_id (e.g. "ParlaMint-DK_20220607130013") or numeric speech_seq from any dk_speeches_* row. Returns the whole text, the speaker with party, birth date, ministerial terms and Folketing actor id, and the sitting, agenda item and bill or debate number.
| Parameter | Type | Description |
|---|---|---|
speech_id * | string | speech_id or speech_seq from a dk_speeches_* result. |