README.md

sanapiwrapper

Wrapper of the GraphQL based Santiment API.

installation

First install the following R packages by hand.

install.packages(c("devtools", "roxygen2", "jsonlite", "tidyr", "testthat"))

library(devtools)
install_github("ropensci/ghql")

Download the tar.gz file and run on the command line.

R CMD INSTALL sanapiwrapper_0.2.tar.gz

Alternatively, clone the repository and run the make file.

git clone https://github.com/josefansinger/sanapiwrapper.git
cd sanapiwrapper
make

usage

library(sanapiwrapper)

metric <- santimentMetric('daily_active_addresses', 'ethereum', '2020-01-01', '2020-04-01')

Examples are listed in the documentation. Further tests are run during the build process.

Travis build status



josefansinger/sanapiwrapper documentation built on May 20, 2020, 10:15 a.m.