get_workday_report: Retrieve a report via the Workday RaaS

Description Usage Arguments

Description

Query's the Workday Report As a Service API. A tutorial on how to use this API is located here This function specifically uses httr::GET(httr::write_disk()) to return the result as a file_path to the saved report. After you get the response you can use a readr function to read the result such as readr::read_csv. Note that this endpoint has been producing SSL errors. The httr::GET() request is wrapped in a purrr::safely() to write the file to disk regardless of error.

Usage

1
2
3
get_workday_report(report_name, organization, username, password,
  params = list(format = "csv"), file_path = tempfile(),
  overwrite = TRUE, url_params = NULL, ...)

Arguments

report_name

character. The name of the report. It should have the format REPORT_OWNER/REPORT_NAME you will need to pass the full string in.

organization

character. The Workday organization. To find yours go to your Workday home page, the organization name is in the ulr https://wd5.myworkday.com/ORGANIZATION_NAME/d/home.htmld

username

character. The username of the user who has access to the report.

password

character. The password of the user who has access to the report.

params

list. URL parameters to send into httr::GET(). Defaults to list(format='csv'). Common params include list(Effective_as_of_date='2018-10-01-07:00').

file_path

where should the report be saved? Defaults to tempfile().

overwrite

boolean. Should the be overwritten? Defaults to TRUE.

url_params

Deprecated use params.

...

parameters to pass into httr::GET().


blakiseskream/workdayr documentation built on June 28, 2019, 4:06 a.m.