hud_look_table_update: Update the '.hud_export' spec given a 'look_table'

View source: R/setup_looker.R

hud_look_table_updateR Documentation

Update the .hud_export spec given a look_table

Description

Using the look_table returned from parse_look_table, update the .hud_export spec

Usage

hud_look_table_update(look_table, look_html, look_type, add_new = FALSE)

Arguments

look_table

(list) The existing .hud_export spec, usually a list where each element corresponds to a look type.

look_html

(character) HTML content or path to the HTML file used to parse new look table entries.

look_type

(character) The Look type to update or add. This determines which look type to modify in the look_table.

add_new

(logical) Whether to add new look types not already present in look_table. Default is FALSE.

Value

Console output from dput with the updated spec. This output can be copied and pasted into hud_export.R to update the spec.


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