Learn R Programming

transcribeR (version 0.0.0)

retrieveText: Gets Text From Returned JSON Object

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

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

Run this code
## Not run: 
# ## Adds transcripts to a transcribeR CSV
# 
# 
# retrieveText(CSV_LOCATION, API_KEY)
# ## End(Not run)

Run the code above in your browser using DataLab