-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
15 lines (13 loc) · 803 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)