Description Usage Arguments Value Note
View source: R/enhance_manifesto_df.R
enhance_manifesto_df
helper
1 |
u.df |
the 1-row manifesto dataframe recording the entire manifesto text in a unit-length character column 'text' |
The input u.df
tibble
enhanced by column
'qs_nr' (running quasi-sentence counter),
'sent_nr' (running sentence counter),
'role' (indicator, here 'qs' for all rows), and
'bloc_nr'
The function takes the unit-legnth character contained in column 'text' of the 1-row data frame,
and splits it into sentences.
Sentences are then numbered, and because the manifesto is uncoded, qs_nr == sent_nr
,
'role' is 'qs' and bloc_nr is 1 for all rows.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.