Skip to content
/ rcalma Public

RCALMA - a script to import musical feature data extracted from the Live Music Archive (http://etree.linkedmusic.org) by the CALMA project (http://calma.linkedmusic.org) into R

License

Notifications You must be signed in to change notification settings

musicog/rcalma

Repository files navigation

Example R script showing
    * SPARQL query to identify individual etree tracks (etreeTrackQuery)
    * Retrieval of those tracks' CALMA metadata + blobs
    * SPARQL query on retrieved CALMA data to identify relevant feature files (calmaFileQuery)
    * SPARQL query on those files to identify relevant feature outputs (calmaFeatureQuery)
    * Basic plotting of the resulting information using ggplot2

Before running for the first time, you will need to install some packages.
Run the following in your R session: 

    # ONLY NEED TO DO THIS BEFORE THE FIRST USE OF THE SCRIPT
    install.packages(c("RCurl", "SPARQL", "ggplot2", "rJava", "devtools"))
    library("devtools")
    install_github("egonw/rrdf", subdir="rrdflibs")
    install_github("egonw/rrdf", subdir="rrdf", build_vignettes=FALSE)

About

RCALMA - a script to import musical feature data extracted from the Live Music Archive (http://etree.linkedmusic.org) by the CALMA project (http://calma.linkedmusic.org) into R

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages