Skip to content

DNA 3.0.11

Latest
Compare
Choose a tag to compare
@leifeld leifeld released this 20 Aug 00:08
· 9 commits to master since this release

Instructions:

dna-3.0.11.jar is the main DNA application. You need Java 11 or higher to use it, for example Adoptium Temurin OpenJDK 11. You can open the application with a double-click on the jar file or using java -jar dna-3.0.11.jar on the terminal or command line.

rDNA_3.0.11.tar.gz is the accompanying R package. It contains the DNA jar file mentioned above by default now.

sample.dna is a toy database. The password for accessing the database is sample for all coders, including the admin coder.

bibliography.pdf is a bibliography listing 334 publications and theses using DNA.

Release notes:

  • The DNA jar file is now packaged right into the rDNA package, which means you no longer have to download it using dna_jar(). The dna_jar() function therefore no longer downloads or compiles the jar file, it only reports its location and file name for use with dna_init().
  • Fixed the headless bug that was plaguing MacOS and HPC users when using rDNA.
  • Bug fixes in the DNA database import from previous version 2.0 databases.
  • Bug fixes in the creation of MySQL and PostgreSQL remote databases.
  • Bug fix in dna_barplot.
  • Added autoplot functions as the default way of plotting various objects in the rDNA package. autoplot requires the ggplot2 package to be loaded and creates a default plot with the most sensible options, for example for a network, backbone, barplot etc. You can then further refine these plots using ggplot2 or manipulate the object you are plotting by replacing colours, labels etc before using autoplot. The help pages usually contain useful examples on how to do this.
  • Improved network plotting in rDNA using an autoplot function. Plotting is done using the ggraph package, and the plotting code was rewritten from scratch to be more useful.
  • Added dna_getVariables() function to rDNA. This function retrieves the variables present in a statement type.
  • Added dna_multiclust function to rDNA. This function applies about a dozen different clustering/community detection/subgroup analysis measures to a discourse network and reports the best-fitting solution as per the network modularity measure.
  • Added dna_backbone and an associated autoplot function to rDNA. These methods can partition concepts (or whatever you code as the second variable) into a backbone set and a redundant set using a simulated annealing algorithm. The backbone is supposed to preserve the structure of the actor network without much loss, and the redundant set contains concepts that can be removed without impairing the structure of the actor network significantly. See this working paper for a preview. You can also compute and save backbones in the graphical user interface of the DNA jar, but the visualisations are not available then and you have to inspect a JSON or XML file with the results.
  • Added dna_phaseTransitions and an associated autoplot function to rDNA. These methods can detect phases, states, and transitions between them in discourse networks over time and plot and diagnose them. See this working paper for a preview. More papers will follow.
  • Added a dna_tidygraph function to create tidygraph objects. These objects can be plotted with the ggraph package, which is very flexible and is also the default package used for plotting dna_network objects. Using tidygraph objects directly gives you more flexibility in plotting the networks the way you want but also requires more effort to specify the layout etc. tidygraph objects are at the same time also igraph objects, which means they can be used with community detection and other functions in the igraph package. The help page for dna_tidygraph also shows how to convert these objects into network objects for use with the statnet suite of packages using the intergraph package.
  • Ported IRT scaling from DNA 2 to DNA 3 and improved it and added a new autoplot function. These functions can be used to scale actors and concepts on one or two ideological dimensions. See the paper in the Journal of European Public Policy for an example.
  • The Gradle build system was updated. You can now clone the GitHub repository to your local computer and build the latest DNA jar, rDNA,and bibliography with the command gradlew build on the terminal. The files will be compiled and saved in the build directory. Other useful commands are gradlew clean (to delete the built files), gradlew rDNACheck (to check the built rDNA package), and gradlew rDNATest (to execute unit tests for rDNA).
  • Updated the bibliography with now 334 entries. See the enclosed PDF file or the Markdown version of the bibliography.
  • Added unit tests for rDNA.