Skip to content

Latest commit

 

History

History

googlemlv1.auto

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

googlemlv1.auto

AI Platform Training & Prediction API R library

An API to enable creating and using machine learning models. This is an R package autogenerated via googleAuthR's Discovery API builder. The Google Documentation for this API is here.

Features

  • Auto generated R functions for every method and object in the API
  • Passes CRAN checks in skeleton form
  • Auto-creates R package files via usethis
  • Auto-documentation of function arguments
  • Type-checking of passed objects
  • Ability to quickly add new features of the API as they are published.

Authentication

Set the appropriate Google API scopes:

library(googleAuthR)
library(googlemlv1.auto)
options(googleAuthR.scopes.selected = c('https://www.googleapis.com/auth/cloud-platform', 'https://www.googleapis.com/auth/cloud-platform.read-only'))

gar_auth()

See the documentation for the package starting at ?googlemlv1.auto

Useage

The intention is for these auto-generated packages to be used as a basis for proper R packages suitable for CRAN. Fork this package, and then use the generated functions and objects to make what you need. Things you may want to do are:

  • Create parsing functions to make the API responses into more user-friendly forms
  • Create wrapper functions and objects around the API calls into more user-friendly forms
  • Create documentation, vignette's and examples