Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

affectr-r

A simple R client for TheySay AffectR API.

Install

The client has been tested on R 3.0.1 for Mac OS X. The following packages need to be installed:

install.packages(c("httr", "rjson", "XML"))

Running Examples

First specify an output directory for the analyses in the affectr_rest_client.R file:

outDir <- ""

Then update your TheySay AffectR API credentials in the affectr_rest_client.R file:

usr <- ""
pwd <- ""

Load the provided sample texts from the texts.R file:

source("your_installation_directory/texts.R")

Then load the API client itself:

source("your_installation_directory/affectr_r_client.R")

The API client submits the sample texts to TheySay AffectR API and saves the responses to a bunch of tab-limited text files.

Licence

Apache 2 Licence. Copyright 2013 TheySay Ltd.

For further details, see the LICENCE file.

About

A simple R client for the TheySay AffectR API

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.