R · Example Payload
R Get Package Metadata Example
RStatisticsData ScienceOpen-SourceProgramming Language
R Get Package Metadata Example is an example object payload from R, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
requestresponse
Example Payload
{
"request": {
"method": "GET",
"url": "https://crandb.r-pkg.org/ggplot2",
"headers": {
"Accept": "application/json"
}
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},
"body": {
"Package": "ggplot2",
"Version": "3.4.4",
"Title": "Create Elegant Data Visualisations Using the Grammar of Graphics",
"Description": "A system for 'declaratively' creating graphics, based on 'The Grammar of Graphics'. You provide the data, tell 'ggplot2' how to map variables to aesthetics, what graphical primitives to use, and it takes care of the details.",
"Author": "Hadley Wickham [aut, cre], Winston Chang [aut], Lionel Henry [aut], Thomas Lin Pedersen [aut], Kohske Takahashi [aut], Claus Wilke [aut], Kara Woo [aut], Hiroaki Yutani [aut], Dewey Dunnington [aut], Posit, PBC [cph, fnd]",
"Maintainer": "Hadley Wickham <hadley@posit.co>",
"License": "MIT + file LICENSE",
"Depends": "R (>= 3.3)",
"Imports": "cli, glue, grDevices, grid, gtable (>= 0.1.1), isoband, lifecycle (> 1.0.1), MASS, mgcv, rlang (>= 1.0.0), scales (>= 1.2.0), stats, tibble, vctrs (>= 0.5.0), withr (>= 2.5.0)",
"Suggests": "covr, dplyr, ggplot2movies, hexbin, Hmisc, interp, knitr, lattice, mapproj, maps, maptools, multcomp, munsell, nlme, profvis, quantreg, RColorBrewer, rgeos, rmarkdown, sf, sp, svglite (>= 1.2.0.9001), testthat (>= 3.0.0), vdiffr (>= 1.0.0), xml2",
"URL": "https://ggplot2.tidyverse.org, https://github.com/tidyverse/ggplot2",
"BugReports": "https://github.com/tidyverse/ggplot2/issues",
"Date/Publication": "2023-10-12 21:30:02 UTC",
"NeedsCompilation": "no"
}
}
}
Work with this as data
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This example
curl "https://apis.io/api/v1/examples/r-get-package-metadata-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.