retrieveText: Gets Text From Returned JSON Object

Description Usage Arguments Examples

View source: R/retrieveText.R

Description

Gets asynchronous call results from jobs previously posted to HP IDOL OnDemand's Speech Recognition API. Calls getRequestResults to extract the transcription from the JSON object. Returns a dataframe which was used to update a transcribeR CSV file.

Usage

1
retrieveText(job.file, api.key)

Arguments

job.file

the CSV file that retrieveText checks to determine the indices that need transcriptions and then updates

api.key

the API Key used to authenticate requests to HP IDOL OnDemand; one can be obtained from making an account on HP IDOL OnDemand's website https://www.idolondemand.com/

Examples

1
2
3
4
5
6
7
## Not run: 
## Adds transcripts to a transcribeR CSV


retrieveText(CSV_LOCATION, API_KEY)

## End(Not run)

transcribeR documentation built on May 2, 2019, 5:09 a.m.