transformData function

Transform data into R dataframe

Transform data into R dataframe

Transforms the csv data file received from the Adwords API into a dataframe. Moreover the variables are converted into suitable formats. The function is used inside getData and parameters are set automatically.

transformData(data, report = reportType, apiVersion = "201809")

Arguments

  • data: Raw csv data from Adwords API.
  • report: Report type.
  • apiVersion: set automatically by getData. Supported are 201809, 201806, 201802. Defaults to 201809.

Returns

Dataframe with the Adwords Data.