powered by
Windsor fetch A function to fetch data from the Windsor.ai API
windsor_fetch( api_key, connector = "all", date_preset = "last_7d", fields = c("source", "campaign", "clicks", "medium", "sessions", "spend") )
Your api key to access Windsor.ai API
A connector for the data source. The connector "all" connector blends data from all sources See https://www.windsor.ai/api-fields/ for details.
the period for which data is fetched from the API. See https://www.windsor.ai/api-fields/ for details
The fields fetched from the API for a given connector See https://www.windsor.ai/api-fields/ for details.
A data frame containing the desired data.
# NOT RUN { windsor_fetch <- (api_key = "your api key", connector = "all", date_preset = "last_7d", fields = c("source", "campaign", "clicks", "medium", "sessions", "spend")) # }
Run the code above in your browser using DataLab