R · Example Payload

R Get Package Download Totals Example

RStatisticsData ScienceOpen SourceProgramming Language

R Get Package Download Totals 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

Raw ↑
{
  "request": {
    "method": "GET",
    "url": "https://cranlogs.r-pkg.org/downloads/total/last-week/ggplot2",
    "headers": {
      "Accept": "application/json"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": [
      {
        "package": "ggplot2",
        "start": "2024-01-22",
        "end": "2024-01-28",
        "downloads": 142835
      }
    ]
  }
}