R wrapper to the PLoS search API