Description Usage Arguments Value
View source: R/parse_protocol.R
Uses the xml structure of a plenary protocol to create three tibbles for further data analysis.
1 | parse_protocol(path, check_schema = TRUE)
|
path |
A string containing the path to the xml file you want to parse |
check_schema |
A logical value indicating whether you want to check compatibility of the xml schema used in your xml file. |
Three tibbles in a named list:
"speakers": A tibble of all speaking politicians containing speaker id, name, party and similar information.
"paragraphs": A tibble of all paragraphs in speeches, containing speaker id, speech id and content of the paragraph.
"comments": A tibble of all comments given during speeches and about reactions to speeches, containing speech id and comment id as well as content of the comment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.