Wrapper of the GraphQL based Santiment API.
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
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.