R Programming Interface: Pull data from APIs to R