Learn R Programming

⚠️There's a newer version (2.4.6) of this package.Take me there.

qdap (version 2.2.1)

Bridging the Gap Between Qualitative Data and Quantitative Analysis

Description

Automates many of the tasks associated with quantitative discourse analysis of transcripts containing discourse including frequency counts of sentence types, words, sentences, turns of talk, syllables and other assorted analysis tasks. The package provides parsing tools for preparing transcript data. Many functions enable the user to aggregate data by any number of grouping variables, providing analysis and seamless integration with other R packages that undertake higher level analysis and visualization of text. This affords the user a more efficient and targeted analysis. 'qdap' is designed for transcript analysis, however, many functions are applicable to other areas of Text Mining/Natural Language Processing.

Copy Link

Version

Install

install.packages('qdap')

Monthly Downloads

1,406

Version

2.2.1

License

GPL-2

Maintainer

Last Published

May 11th, 2015

Functions in qdap (2.2.1)

Filter.all_words

Filter
cm_df.temp

Break Transcript Dialogue into Blank Code Matrix
%&%

qdap Chaining
colcomb2class

Combine Columns to Class
check_spelling_interactive.factor

Check Spelling
cm_code.transform

Transform Codes
Animate.formality

Animate Formality
counts.SMOG

Readability Measures
counts.formality

Formality
Network

Generic Network Method
add_incomplete

Detect Incomplete Sentences; Add | Endmark
Animate

Generic Animate Method
check_spelling_interactive.check_spelling

Check Spelling
automated_readability_index

Readability Measures
plot.cmspans

Plots a cmspans object
Dissimilarity

Dissimilarity Statistics
plot.automated_readability_index

Plots a automated_readability_index Object
Animate.discourse_map

Discourse Map
check_text

Check Text For Potential Problems
outlier_labeler

Locate Outliers in Numeric String
beg2char

Grab Begin/End of String to Character
check_spelling

Check Spelling
DATA.SPLIT

Fictitious Split Sentence Classroom Dialogue
DATA

Fictitious Classroom Dialogue
cm_range.temp

Range Code Sheet
cm_code.blank

Blank Code Transformation
Animate.lexical_classification

Animate Formality
Animate.gantt_plot

Gantt Plot
capitalizer

Capitalize Select Words
counts.polarity

Polarity
dispersion_plot

Lexical Dispersion Plot
counts.subject_pronoun_type

Question Counts
wfm

Word Frequency Matrix
Search

Search Columns of a Data Frame
Animate.character

Animate Character
cm_2long

A Generic to Long Function
print.animated_lexical_classification

Prints an animated_lexical_classification Object
counts.linsear_write

Readability Measures
plot.cumulative_polarity

Plots a cumulative_polarity Object
mraja1spl

Romeo and Juliet: Act 1 Dialogue Merged with Demographics and Split
duplicates

Find Duplicated Words in a Text String
end_mark

Sentence End Marks
object_pronoun_type

Count Object Pronouns Per Grouping Variable
chunker

Break Text Into Ordered Word Chunks
plot.lexical_classification

Plots a lexical_classification Object
cm_time.temp

Time Span Code Sheet
check_spelling_interactive.character

Check Spelling
adjacency_matrix

Takes a Matrix and Generates an Adjacency Matrix
dist_tab

SPSS Style Frequency Tables
incomplete_replace

Denote Incomplete End Marks With "|"
gradient_cloud

Gradient Word Cloud
bracketX

Bracket Parsing
print.cumulative_combo_syllable_sum

Prints a cumulative_combo_syllable_sum Object
counts.flesch_kincaid

Readability Measures
plot.cumulative_animated_formality

Plots a cumulative_animated_formality Object
is.global

Test If Environment is Global
cm_range2long

Transform Codes to Start-End Durations
end_inc

Test for Incomplete Sentences
DATA2

Fictitious Repeated Measures Classroom Dialogue
freq_terms

Find Frequent Terms
Network.lexical_classification

Network Lexical Classification
condense

Condense Dataframe Columns
Network.polarity

Network Polarity
common.list

list Method for common
cm_code.combine

Combine Codes
print.kullback_leibler

Prints a kullback_leibler Object.
counts.pos

Parts of Speech
cm_time2long

Transform Codes to Start-End Times
cm_dummy2long

Convert cm_combine.dummy Back to Long
cm_code.overlap

Find Co-occurrence Between Codes
cm_df2long

Transform Codes to Start-End Durations
counts.character_table

Term Counts
multigsub

Multiple gsub
cm_df.fill

Range Coding
build_qdap_vignette

Replace Temporary Introduction to qdap Vignette
as.tdm

tm Package Compatibility Tools: Apply to or Convert to/from Term Document Matrix or Document Term Matrix
mraja1

Romeo and Juliet: Act 1 Dialogue Merged with Demographics
gantt_wrap

Gantt Plot
common

Find Common Words Between Groups
counts.word_length

Word Length Counts
blank2NA

Replace Blanks in a dataframe
left_just

Text Justification
colsplit2df

Wrapper for colSplit that Returns Dataframe(s)
comma_spacer

Ensure Space After Comma
cm_code.exclude

Exclude Codes
clean

Remove Escaped Characters
Animate.polarity

Animate Polarity
colSplit

Separate a Column Pasted by paste2
cm_combine.dummy

Find Co-occurrence Between Dummy Codes
cm_distance

Distance Matrix Between Codes
bag_o_words

Bag of Words
counts.fry

Readability Measures
env.syl

Syllable Lookup Environment
discourse_map

Discourse Mapping
counts.end_mark_by

Question Counts
plot.SMOG

Plots a SMOG Object
pos

Parts of Speech Tagging
plot.flesch_kincaid

Plots a flesch_kincaid Object
counts

Generic Counts Method
gantt_plot

Gantt Plot
plot.pronoun_type

Plots an pronoun_type Object
plot.cumulative_animated_lexical_classification

Plots a cumulative_animated_lexical_classification Object
mcsv_r

Read/Write Multiple csv Files at a Time
key_merge

Merge Demographic Information with Person/Text Transcript
outlier_detect

Detect Outliers in Text
print.linsear_write

Prints an linsear_write Object
print.lexical_classification

Prints an lexical_classification Object
cm_df.transcript

Transcript With Word Number
counts.object_pronoun_type

Question Counts
proportions.question_type

Question Counts
print.all_words

Prints an all_words Object
plot.sums_gantt

Plots a sums_gantt object
plot.discourse_map

Plots a discourse_map Object
cumulative

Cumulative Scores
plot.cumulative_end_mark

Plots a cumulative_end_mark Object
plot.end_mark_by_score

Plots a end_mark_by_score Object
plot.Network

Plots a Network Object
plot.combo_syllable_sum

Plots a combo_syllable_sum Object
print.animated_discourse_map

Prints an animated_discourse_map Object
print.wfm

Prints a wfm Object
plot.end_mark_by

Plots a end_mark_by Object
plot.linsear_write_scores

Plots a linsear_write_scores Object
qtheme

Add themes to a Network object.
plot.end_mark_by_preprocessed

Plots a end_mark_by_preprocessed Object
lexical_classification

Lexical Classification Score
name2sex

Names to Gender
plot.coleman_liau

Plots a coleman_liau Object
plot.diversity

Plots a diversity object
pronoun_type

Count Object/Subject Pronouns Per Grouping Variable
plot.cm_distance

Plots a cm_distance object
raj

Romeo and Juliet (Unchanged & Complete)
plot.cumulative_animated_polarity

Plots a cumulative_animated_polarity Object
plot.end_mark_by_count

Plots a end_mark_by_count Object
plot.lexical_classification_preprocessed

Plots a lexical_classification_preprocessed Object
preprocessed.question_type

Question Counts
plot.cumulative_lexical_classification

Plots a cumulative_lexical_classification Object
plot.animated_lexical_classification

Plots an animated_lexical_classification Object
df2tm_corpus

Deprecated qdap Functions
plot.animated_character

Plots an animated_character Object
phrase_net

Phrase Nets
scores.object_pronoun_type

Question Counts
plot.formality_scores

Plots a formality_scores Object
pres_debates2012

2012 U.S. Presidential Debates
counts.pronoun_type

Question Counts
gantt_rep

Generate Unit Spans for Repeated Measures
print.coleman_liau

Prints an coleman_liau Object
plot.character_table

Plots a character_table Object
preprocessed.lexical_classification

Lexical Classification
vertex_apply

Apply Parameter to List of Igraph Vertices/Edges
ngrams

Generate ngrams
counts.word_position

Word Position
print.cumulative_end_mark

Prints a cumulative_end_mark Object
plot.animated_discourse_map

Plots an animated_discourse_map Object
plot.pos_preprocessed

Plots a pos_preprocessed Object
plot.termco

Plots a termco object
plot.end_mark

Plots an end_mark Object
gantt

Gantt Durations
plot.animated_formality

Plots a animated_formality Object
exclude

Exclude Elements From a Vector
print.discourse_map

Prints a discourse_map Object
plot.animated_polarity

Plots an animated_polarity Object
scores.pronoun_type

Question Counts
plot.weighted_wfm

Plots a weighted_wfm object
plot.wfm

Plots a wfm object
kullback_leibler

Kullback Leibler Statistic
plot.pos

Plots a pos Object
plot.gantt

Plots a gantt object
rm_stopwords

Remove Stop Words
plot.polarity_score

Plots a polarity_score Object
plot.linsear_write_count

Plots a linsear_write_count Object
plot.word_position

Plots a word_position object
plot.word_stats

Plots a word_stats object
print.sums_gantt

Prints a sums_gantt object
preprocessed.formality

Formality
plot.syllable_freq

Plots a syllable_freq Object
plot.cumulative_combo_syllable_sum

Plots a cumulative_combo_syllable_sum Object
print.phrase_net

Prints a phrase_net Object
plot.readability_count

Plots a readability_count Object
print.sum_cmspans

Prints a sum_cmspans object
print.word_proximity

Prints a word_proximity object
dir_map

Map Transcript Files from a Directory to a Script
plot.question_type

Plots a question_type Object
counts.termco

Term Counts
plot.kullback_leibler

Plots a kullback_leibler object
preprocessed.subject_pronoun_type

Question Counts
plot.table_count

Plots a table_count Object
potential_NA

Search for Potential Missing Values
syllable_sum

Syllabication
diversity

Diversity Statistics
plot.readability_score

Plots a readability_score Object
preprocessed.word_position

Word Position
print.animated_character

Prints an animated_character Object
print.wfm_summary

Prints a wfm_summary Object
counts.automated_readability_index

Readability Measures
plot.sum_cmspans

Plot Summary Stats for a Summary of a cmspans Object
print.adjacency_matrix

Prints an adjacency_matrix Object
print.ngrams

Prints an ngrams object
counts.coleman_liau

Readability Measures
print.qdap_context

Prints a qdap_context object
random_sent

Generate Random Dialogue Data
scores.question_type

Question Counts
plot.wfdf

Plots a wfdf object
sentSplit

Sentence Splitting
multiscale

Nested Standardization
scores.automated_readability_index

Readability Measures
summary.wfdf

Summarize a wfdf object
scores.formality

Formality
plot.cumulative_formality

Plots a cumulative_formality Object
proportions.end_mark_by

Question Counts
proportions.object_pronoun_type

Question Counts
plot.lexical_classification_score

Plots a lexical_classification_score Object
replace_ordinal

Replace Mixed Ordinal Numbers With Text Representation
preprocessed.pos_by

Parts of Speech
t.TermDocumentMatrix

Transposes a TermDocumentMatrix object
speakerSplit

Break and Stretch if Multiple Persons per Cell
scores.pos_by

Parts of Speech
plot.word_cor

Plots a word_cor object
print.lexical_classification_preprocessed

Prints a lexical_classification_preprocessed Object
plot.question_type_preprocessed

Plots a question_type_preprocessed Object
plot.subject_pronoun_type

Plots an subject_pronoun_type Object
plot.lexical

Plots a lexical Object
plot.table_proportion

Plots a table_proportion Object
plot.rmgantt

Plots a rmgantt object
print.pos_preprocessed

Prints a pos_preprocessed object
plot.end_mark_by_proportion

Plots a end_mark_by_proportion Object
preprocessed.object_pronoun_type

Question Counts
plot.polarity

Plots a polarity Object
print.end_mark

Prints an end_mark object
plot.table_score

Plots a table_score Object
proportions.subject_pronoun_type

Question Counts
print.cumulative_polarity

Prints a cumulative_polarity Object
print.cumulative_syllable_freq

Prints a cumulative_syllable_freqObject
pres_debate_raw2012

First 2012 U.S. Presidential Debate
strip

Strip Text
spaste

Add Leading/Trailing Spaces
hamlet

Hamlet (Complete & Split by Sentence)
plot.sent_split

Plots a sent_split Object
qdap

qdap: Quantitative Discourse Analysis Package
print.pronoun_type

Prints a pronoun_type object
print.animated_formality

Prints a animated_formality Object
print.animated_polarity

Prints an animated_polarity Object
print.Dissimilarity

Prints a Dissimilarity object
replacer

Replace Cells in a Matrix or Data Frame
print.check_text

Prints a check_text Object
print.cm_distance

Prints a cm_distance Object
scores.linsear_write

Readability Measures
word_list

Raw Word Lists/Frequency Counts
print.subject_pronoun_type

Prints a subject_pronoun_type object
sentiment_frame

Power Score (Sentiment Analysis)
print.readability_count

Prints a readability_count Object
print.formality_scores

Prints a formality_scores object
print.pos

Prints a pos Object.
print.fry

Prints an fry Object
print.table_count

Prints a table_count object
print.word_list

Prints a word_list Object
print.word_stats_counts

Prints a word_stats_counts object
stemmer

Stem Text
preprocessed

Generic Preprocessed Method
print.formality

Prints a formality Object
scores.word_length

Word Length Counts
proportions.word_length

Word Length Counts
raj.act.1

Romeo and Juliet: Act 1
print.diversity

Prints a diversity object
summary.wfm

Summarize a wfm object
print.word_cor

Prints a word_cor object
print.combo_syllable_sum

Prints an combo_syllable_sum object
print.lexical_classification_by

Prints a lexical_classification Object
print.polarity

Prints an polarity Object
preprocessed.pos

Parts of Speech
counts.pos_by

Parts of Speech
termco_c

Combine Columns from a termco Object
raj.demographics

Romeo and Juliet Demographics
preprocessed.pronoun_type

Question Counts
word_cor

Find Correlated Words
plot.cumulative_syllable_freq

Plots a cumulative_syllable_freq Object
print.word_length

Prints a word_length object
sample.time.span

Minimal Time Span Data Set
summary.cmspans

Summarize a cmspans object
scores.coleman_liau

Readability Measures
print.end_mark_by_preprocessed

Prints a end_mark_by_preprocessed object
word_network_plot

Word Network Plot
rajPOS

Romeo and Juliet Split in Parts of Speech
print.lexical_classification_score

Prints a lexical_classification_score Object
read.transcript

Read Transcripts Into R
plot.pos_by

Plots a pos_by Object
plot.linsear_write

Plots a linsear_write Object
print.colsplit2df

Prints a colsplit2df Object.
question_type

Count of Question Type
print.check_spelling_interactive

Prints a check_spelling_interactive Object
print.cumulative_animated_lexical_classification

Prints a cumulative_animated_lexical_classification Object
plot.formality

Plots a formality Object
print.flesch_kincaid

Prints an flesch_kincaid Object
print.question_type_preprocessed

Prints a question_type_preprocessed object
print.end_mark_by

Prints an end_mark_by object
print.syllable_sum

Prints an syllable_sum object
word_position

Word Position
proportions.pos

Parts of Speech
proportions.character_table

Term Counts
plot.word_stats_counts

Plots a word_stats_counts Object
tot_plot

Visualize Word Length by Turn of Talk
qdap_df

Create qdap Specific Data Structure
proportions.pos_by

Parts of Speech
rank_freq_mplot

Rank Frequency Plot
plot.object_pronoun_type

Plots an object_pronoun_type Object
print.readability_score

Prints a readability_score Object
print.termco

Prints a termco object.
scores.flesch_kincaid

Readability Measures
weight

Weight a qdap Object
print.linsear_write_scores

Prints a linsear_write_scores Object
qcombine

Combine Columns
print.type_token_ratio

Prints a type_token_ratio Object
qcv

Quick Character Vector
print.polarity_score

Prints a polarity_score Object
visual.discourse_map

Discourse Map
proportions

Generic Proportions Method
synonyms

Search For Synonyms
print.question_type

Prints a question_type object
print.table_score

Prints a table_score object
print.word_position

Prints a word_position object.
qprep

Quick Preparation of Text
proportions.pronoun_type

Question Counts
proportions.termco

Term Counts
scores

Generic Scores Method
plot.word_proximity

Plots a word_proximity object
raj.act.3

Romeo and Juliet: Act 3
word_length

Count of Word Lengths Type
scores.word_stats

Word Stats
print.cumulative_animated_formality

Prints a cumulative_animated_formality Object
word_proximity

Proximity Matrix Between Words
scrubber

Clean Imported Text
plot.word_length

Plots a word_length Object
scores.character_table

Term Counts
rm_row

Remove Rows That Contain Markers
print.SMOG

Prints an SMOG Object
print.linsear_write_count

Prints a linsear_write_count Object
type_text_ratio

Type-Token Ratio
preprocessed.end_mark_by

Question Counts
print.trunc

Prints a trunc object
preprocessed.check_spelling_interactive

Check Spelling
raj.act.4

Romeo and Juliet: Act 4
trans_venn

Venn Diagram by Grouping Variable
rajSPLIT

Romeo and Juliet (Complete & Split)
print.sent_split

Prints a sent_split object
word_count

Word Counts
print.polarity_count

Prints a polarity_count Object
print.word_stats

Prints a word_stats object
print.object_pronoun_type

Prints a object_pronoun_type object
prop

Convert Raw Numeric Matrix or Data Frame to Proportions
print.boolean_qdap

Prints a boolean_qdap object
scores.lexical_classification

Lexical Classification
visual

Generic visual Method
print.cumulative_lexical_classification

Prints a cumulative_lexical_classification Object
print.word_associate

Prints a word_associate object
t.DocumentTermMatrix

Transposes a DocumentTermMatrix object
trans_context

Print Context Around Indices
replace_symbol

Replace Symbols With Word Equivalents
termco

Search For and Count Terms
raw.time.span

Minimal Raw Time Span Data Set
print.cumulative_formality

Prints a cumulative_formality Object
raj.act.2

Romeo and Juliet: Act 2
unique_by

Find Unique Words by Grouping Variable
proportions.formality

Formality
subject_pronoun_type

Count Subject Pronouns Per Grouping Variable
qheat

Quick Heatmap
raj.act.5

Romeo and Juliet: Act 5
replace_abbreviation

Replace Abbreviations
replace_contraction

Replace Contractions
scores.fry

Readability Measures
scores.SMOG

Readability Measures
word_diff_list

Differences In Word Use Between Groups
space_fill

Replace Spaces
replace_number

Replace Numbers With Text Representation
scores.subject_pronoun_type

Question Counts
scores.polarity

Polarity
scores.end_mark_by

Question Counts
scores.termco

Term Counts
raj.act.1POS

Romeo and Juliet: Act 1 Parts of Speech by Person
word_associate

Find Associated Words
formality

Formality Score
plot.type_token_ratio

Plots a type_token_ratio Object
print.polysyllable_sum

Prints an polysyllable_sum object
print.automated_readability_index

Prints an automated_readability_index Object
print.sub_holder

Prints a sub_holder object
print.table_proportion

Prints a table_proportion object
print.which_misspelled

Prints a which_misspelled Object
scores.word_position

Word Position
strWrap

Wrap Character Strings to Format Paragraphs
Animate.gantt

Gantt Durations
+.Network

Add themes to a Network object.
Title

Add Title to Select qdap Plots
Trim

Remove Leading/Trailing White Space
cm_long2dummy

Stretch and Dummy Code cm_xxx2long
counts.word_stats

Word Stats
counts.question_type

Question Counts
htruncdf

Dataframe Viewing
imperative

Intuitively Remark Sentences as Imperative
plot.polarity_count

Plots a polarity_count Object
print.character_table

Prints a character_table object
print.cumulative_animated_polarity

Prints a cumulative_animated_polarity Object
print.check_spelling

Prints a check_spelling Object
print.pos_by

Prints a pos_by Object.
print.qdapProj

Prints a qdapProj Object
word_stats

Descriptive Word Statistics
proportions.word_position

Word Position
NAer

Replace Missing Values (NA)
Network.formality

Network Formality
new_project

Project Template
all_words

Searches Text Column for Words
paste2

Paste an Unspecified Number Of Text Columns
plot.freq_terms

Plots a freq_terms Object
polarity

Polarity Score (Sentiment Analysis)
print.Network

Prints a Network Object
trans_cloud

Word Clouds by Grouping Variable