Man pages for DataS-DHSC/consultations
Re-usable functions for describing the responses to a public consultation or call for evidence

dummy_responseDummy data with some relevant columns
pipePipe operator
prep_grouping_varSet grouping variable to tidyeval
survey_detect_qtypesDetect question types
survey_question_typesGroup columns into question types
survey_response_barplotVisualise responses
survey_response_tablesExtract and clean responses
survey_summary_textSummarise categorical responses as text
survey_suppress_small_numbersSuppress small groups in data
text_best_n_topicsSelect best number of topics for LDA
text_drop_keyword_responsesRemove responses with keywords
text_drop_multiple_allcaps_responsesRemove responses with multiple all-caps words
text_dtm_prepPrepare data for topic modelling
text_lda_dtmCalculate LDA topic model
text_prep_multiword_phrasesPrepare multi-word phrases before unnesting
text_remove_wordsRemove words before analysis
text_stem_wordsStem words before analysis
text_tf_idf_outCalculate TF-IDF scores
text_unnest_remove_stem_wordsPre-clean consultation responses
text_vis_tf_idfVisualise tf-idf output
DataS-DHSC/consultations documentation built on Jan. 28, 2022, 1:56 a.m.