# rdog **Repository Path**: mirrors_DataDog/rdog ## Basic Information - **Project Name**: rdog - **Description**: ## Auto-archived due to inactivity. ## Interfacing R and Datadog - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # rdog Query Datadog directly from R. ## Getting started ```R install.packages("devtools") devtools::install_github("datadog/rdog") require(rdog) api <- 'abc' app <- 'def' to_t <- as.integer(Sys.time()) from_t <- to_t - 3600 # Get an xts object to keep timestamps results <- dog_query(api, app, 'avg:system.cpu.idle{*}', from_t=from_t, to_t=to_t) plot(results) # Get a data frame results <- dog_query(api, app, 'avg:system.cpu.idle{*}', from_t=from_t, to_t=to_t, TRUE) plot(results) ```