Package: finnsurveytext 2.1.1

Adeline Clarke

finnsurveytext: Analyse Open-Ended Survey Responses in Finnish

Annotates Finnish textual survey responses into CoNLL-U format using Finnish treebanks from <https://universaldependencies.org/format.html> using UDPipe as described in Straka and Straková (2017) <doi:10.18653/v1/K17-3009>. Formatted data is then analysed using single or comparison n-gram plots, wordclouds, summary tables and Concept Network plots. The Concept Network plots use the TextRank algorithm as outlined in Mihalcea, Rada & Tarau, Paul (2004) <https://aclanthology.org/W04-3252/>.

Authors:Adeline Clarke [cre, aut], Krista Lagus [aut], Katja Laine [aut], Maria Litova [aut], Matti Nelimarkka [aut], Joni Oksanen [aut], Jaakko Peltonen [aut], Tuukka Oikarinen [aut], Jani-Matti Tirkkonen [aut], Ida Toivanen [aut], Maria Valaste [aut], Shannon Emilia Carson [ctb], Sirpa Lappalainen [ctb], Tuukka Puonti [ctb], Kimmo Vehkalahti [ctb], DARIAH-FI [cph, fnd]

finnsurveytext_2.1.1.tar.gz
finnsurveytext_2.1.1.zip(r-4.7-any)finnsurveytext_2.1.1.zip(r-4.6-any)finnsurveytext_2.1.1.zip(r-4.5-any)
finnsurveytext_2.1.1.tgz(r-4.6-any)finnsurveytext_2.1.1.tgz(r-4.5-any)
finnsurveytext_2.1.1.tar.gz(r-4.7-any)finnsurveytext_2.1.1.tar.gz(r-4.6-any)
finnsurveytext_2.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
finnsurveytext/json (API)

# Install 'finnsurveytext' in R:
install.packages('finnsurveytext', repos = c('https://dariah-fi-survey-concept-network.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dariah-fi-survey-concept-network/finnsurveytext/issues

Pkgdown/docs site:https://dariah-fi-survey-concept-network.github.io

Datasets:
  • child - Child Barometer 2016 response data
  • dev_coop - Young People's Views on Development Cooperation 2012 response data
  • english_sample_survey - English Sample Survey Data: Patient Joe
  • fst_child - Child Barometer 2016 Bullying response data in CoNLL-U format with NLTK stopwords removed and background variables
  • fst_child_2 - Child Barometer 2016 Bullying response data in CoNLL-U format with NLTK stopwords removed
  • fst_dev_coop - Young People's Views on Development Cooperation 2012 q11_3 response data in CoNLL-U format with NTLK stopwords removed and background variables.
  • fst_dev_coop_2 - Young People's Views on Development Cooperation 2012 q11_3 response data in CoNLL-U format with NTLK stopwords removed

On CRAN:

Conda:

dariah-fi

4.46 score 29 scripts 283 downloads 41 exports 97 dependencies

Last updated from:0128839f48. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK194
source / vignettesOK272
linux-release-x86_64OK191
macos-release-arm64OK140
macos-oldrel-arm64OK232
windows-develOK113
windows-releaseOK114
windows-oldrelOK102
wasm-releaseOK147

Exports:%>%fst_cn_compare_plotfst_cn_edgesfst_cn_get_uniquefst_cn_get_unique_separatefst_cn_nodesfst_cn_plotfst_cn_searchfst_comparison_cloudfst_concept_networkfst_concept_network_comparefst_find_stopwordsfst_formatfst_format_svydesignfst_freqfst_freq_comparefst_freq_plotfst_freq_tablefst_get_unique_ngramsfst_get_unique_ngrams_separatefst_join_uniquefst_length_comparefst_length_summaryfst_ngramsfst_ngrams_comparefst_ngrams_compare_plotfst_ngrams_plotfst_ngrams_tablefst_ngrams_table2fst_posfst_pos_comparefst_preparefst_prepare_svydesignfst_print_available_modelsfst_rm_stop_punctfst_summarisefst_summarise_comparefst_summarise_shortfst_use_svydesignfst_wordcloudrunDemo

Dependencies:abindbackportsbase64encbootbroomcachemcarcarDataclicolorspacecorrplotcowplotcpp11data.tableDerivdigestdoBydplyrfarverfastmapforecastFormulafracdiffgenericsggforceggplot2ggpubrggraphggrepelggsciggsignifgluegraphlayoutsgridExtragtableigraphisobandISOcodesjsonlitelabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmemoisemgcvminqamodelrnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpolyclippolynompurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangrstatixS7scalesSparseMstopwordsstringistringrsurvivalsystemfontstextranktibbletidygraphtidyrtidyselecttimeDatetweenrudpipeurcautf8vctrsviridisviridisLitewithrwordcloudzoo

Overview-PackageTutorial
Overview of finnsurveytext | 0. Install and Load Package | 1. Data Preparation | Option 1: Data is in a dataframe | Option 2: Data is in a svydesign object | 2. Data Exploration | Summary Tables | Identification of frequent words and phrases | Wordclouds | N-gram plots | 3. Concept Network | 4. Comparison Functions | Data | 1. Child Barometer Data | 2. Development Cooperation Data | 3. Patient Joe (open-ended question)

Last update: 2024-11-28
Started: 2024-08-01

ReadMe
Background | Motivation | Components | Function Demos and Tutorials | Sample Data | Installation and License | References

Last update: 2024-11-28
Started: 2023-11-02

Readme and manuals

Help Manual

Help pageTopics
Child Barometer 2016 response datachild
Young People's Views on Development Cooperation 2012 response datadev_coop
English Sample Survey Data: Patient Joeenglish_sample_survey
Child Barometer 2016 Bullying response data in CoNLL-U format with NLTK stopwords removed and background variablesfst_child
Child Barometer 2016 Bullying response data in CoNLL-U format with NLTK stopwords removedfst_child_2
Concept Network- Plot comparison Concept Networkfst_cn_compare_plot
Concept Network - Get TextRank edgesfst_cn_edges
Concept Network- Get unique nodes from a list of top n-grams tablesfst_cn_get_unique
Concept Network- Get unique nodes from separate top n-grams tablesfst_cn_get_unique_separate
Concept Network - Get TextRank nodesfst_cn_nodes
Plot Concept Networkfst_cn_plot
Concept Network - Search TextRank for conceptsfst_cn_search
Make comparison cloudfst_comparison_cloud
Concept Network - Make Concept Network plotfst_concept_network
Concept Network- Compare and plot Concept Networkfst_concept_network_compare
Young People's Views on Development Cooperation 2012 q11_3 response data in CoNLL-U format with NTLK stopwords removed and background variables.fst_dev_coop
Young People's Views on Development Cooperation 2012 q11_3 response data in CoNLL-U format with NTLK stopwords removedfst_dev_coop_2
Get available stopwords listsfst_find_stopwords
Annotate open-ended survey responses in into CoNLL-U formatfst_format
Annotate open-ended survey responses within a `svydesign` object into CoNLL-U formatfst_format_svydesign
Find and Plot Top Wordsfst_freq
Compare and plot top wordsfst_freq_compare
Make Top Words plotfst_freq_plot
Make Top Words Tablefst_freq_table
Get unique n-grams from a list of top n-grams tablesfst_get_unique_ngrams
Get unique n-grams from separate top n-grams tablesfst_get_unique_ngrams_separate
Merge N-grams table with unique wordsfst_join_unique
Compare response lengthsfst_length_compare
Make Length Summary Tablefst_length_summary
Find and Plot Top N-gramsfst_ngrams
Compare and plot top n-gramsfst_ngrams_compare
Plot comparison n-gramsfst_ngrams_compare_plot
Make N-grams plotfst_ngrams_plot
Make Top N-grams Tablefst_ngrams_table
Make Top N-grams Table 2fst_ngrams_table2
Make POS Summary Tablefst_pos
Compare parts-of-speechfst_pos_compare
Read In and format survey text responsesfst_prepare
Read In and format survey text responses from `svydesign` objectfst_prepare_svydesign
Find treebanks available for usefst_print_available_models
Remove stopwords and punctuation from CoNLL-U dataframefst_rm_stop_punct
Make Summary Tablefst_summarise
Make comparison summaryfst_summarise_compare
Make Simple Summary Tablefst_summarise_short
Add `svydesign` weights to CoNLL-U datafst_use_svydesign
Make Wordcloudfst_wordcloud
Run Shiny App DemorunDemo