knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
In this introductory tutorial, we explains how to use the ragapi
package, an R-implementation of the Agronomic API(AGAPI) running behind AGROFIMS.
library(ragapi)
out <- ag_get_expdetails_studyId(studyDbId = 21, format = "data.frame", serverURL = "https://research.cip.cgiar.org/agrofims/api/dev", version ="/0212/r")
out <- ag_get_fundagency_studyId(studyDbId = 28, format = "data.frame", serverURL = "https://research.cip.cgiar.org/agrofims/api/dev", version ="/0212/r")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.