Learn R Programming

discourseGT

R package that converts transcripts to graphs (networks), includes parameters relevant to educational research

Purpose

Many disciplines use transcripts to record sequential information. Transcripts that capture a conversation can become long, making systematic analyses difficult or time-consuming. This package allows researchers to visualize transcripts in a succinct format through the lens of graph theory. Graph theory is a discipline of mathematics involving “nodes” and “edges” that model objects and the relations between them. The goal is to get more information from transcripts through this alternative view.

Graphs, nodes, and edges may be characterized in various ways. For example, the number of edges connected to any particular node is called the node’s degree. Another example, the number of edges in a graph divided by the number of possible edges is called the density of the graph. We consider these characteristics of graphs (calling them “parameters”) and pick out the relevant ones for educational researchers.

Installation

To get started installing the package, run the command install.packages('discourseGT') in R, which will download the most stable package from CRAN.

How to Use

The key functions and examples of how to use this package can be found in this document.

How to reach out?

Where do I report bugs?

Please open an issue on GitHub.

How do I contribute to the package?

If you have an idea (but no code yet), open an issue on GitHub. If you want to contribute with a specific feature and have the code ready, fork the repository, add your code, and create a pull request.

Do you need support?

The easiest way is to open an issue - this way, your question is also visible to others who may face similar problems.

License

This package is MIT Licensed
Written by Albert Chai <@albertchai>, Andrew S. Lee <@alee4738>, Joshua P. Le <@jpl038>, Jitarth Sheth <@jshethbright>, Qi Cui <@q1cui>, and Stanley M. Lo <@smlo>

Copy Link

Version

Install

install.packages('discourseGT')

Monthly Downloads

305

Version

1.2.0

License

MIT + file LICENSE

Maintainer

Qi Cui

Last Published

July 19th, 2023

Functions in discourseGT (1.2.0)

basicPlot

Plot Graphs
subgroupsNetAnalysis

Runs subgroup analysis on graphs
summaryNet

Print summary of graph results
plot1Att

Plots Graphs using ggplot2 with one attribute
plot2Att

Plots Graphs using ggplot2 with two attributes
attributeData

Sample Attribute Data
coreNetAnalysis

Run Graphical Analysis Core Parameters
plotNGTData

Plot non-graphical parameters
edgelist_raw

Process raw order lists from two column format to edge lists
prepareGraphs

Prepare Graphs
discourseGT-package

discourseGT: A package to analyze groups patterns using graph theory in educational settings
sampleData1

Sample Episode Start and Episode Continuation Data (2 Column)
writeData

Exports graphs and data objects from the package to disk
tabulate_edges

Process raw order lists from two column format to edge and weight lists