getBilling: request billing data

Description Usage Arguments Value Note Examples

View source: R/Billing.R

Description

request billing data

Usage

1
2
3
4
5
6
7
8
9
getBilling(
  startDate,
  endDate,
  bqProject,
  bqDataset,
  bqTable,
  bqBilling_code,
  page_size = 50000
)

Arguments

startDate

character(1) date of start of reckoning

endDate

character(1) date of end of reckoning

bqProject

character(1) GCP project id

bqDataset

character(1) GCP dataset id for billing data in BQ

bqTable

character(1) GCP table for billing data in BQ

bqBilling_code

character(1) GCP billing code

page_size

numeric(1) passed to dbConnect

Value

tbl_df

Note

On 21 August 2020 VJC changed condition on endDate to <=

Examples

1
2
3
4
5
6
if (interactive()) {
getBilling(startDate="2020-08-01", 
   endDate="2020-08-15", bqProject="bjbilling", 
   bqTable="gcp_billing_export_v1_015E39_38569D_3CC771",  
   bqDataset="anvilbilling", bqBilling_code="landmarkanvil2")
}

AnVILBilling documentation built on Nov. 21, 2020, 2:01 a.m.