setup_looker: Setup the Looker ini file

View source: R/setup_looker.R

setup_lookerR Documentation

Setup the Looker ini file

Description

Connecting to the Looker API via lookr requires an ini file with credentials to access the API. This function creates that ini file in a directory of your choosing.

Usage

setup_looker(
  client_id,
  client_secret,
  ini_filepath = "Looker.ini",
  base_url = "https://looker.clarityhs.com:19999"
)

Arguments

client_id

(character) The Client ID provided by Clarity

client_secret

(character) The Client Secret provided by Clarity

ini_filepath

(character) The directory and name of the ini file. Default creates Looker.ini in the working directory. A path can also be provided, and the file will be named Looker.ini in that directory.

base_url

(character) The base URL to the Clarity Looker instance. This is typically the same for all Clarity users.


COHHIO/hud.export documentation built on Sept. 6, 2024, 1:48 a.m.