get_utilization: Bamboo API get request wrapper

View source: R/get_utilization.r

get_utilizationR Documentation

Bamboo API get request wrapper

Description

Submits a get request to retrieve the all employees utilization targets

Usage

get_utilization(user = NULL, password = NULL,
  employee_ids = c("all"), employees = NULL, year = NULL,
  verbose = FALSE)

Arguments

user

Bamboo api user id, register in Bamboo "API Keys"

password

Bamboo login password

employee_ids

an optional list; specifies the employees for which bench time is requested; defaults to c('all') which gets all employee bench time

year

a calendar year; restricts the result set to a particular year if provided; default NULL

verbose

a logical; indicates if detailed output from httr calls should be provided; default FALSE

Value

tbl_df

Author(s)

Mark Druffel, mdruffel@propellerpdx.com

References

https://www.bamboohr.com/api/documentation/, https://github.com/r-lib/httr

Examples


user <- 'your_api_user'
password <- 'your_password'
employees <- get_utilization(user=user,password=password,employee_id=c(1,2,3,4))


propellerpdx/bambooR documentation built on July 8, 2023, 4:43 a.m.