You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, many of the graphics functions require certain dataframes to already exist, particularly indicator_table, data_dictionary and code_lists.
One approach to this is to make getting these data their own functions, which can then be called in any context (at the start of a processing script; inside a function, where-ever). For example:
Now, anywhere we need the indicator_table data, we can run indicator_table <- get_indicator_table(con). If the dataframe exists in the current environment / context, it will be used. Otherwise, we go out to the database to get it.
The text was updated successfully, but these errors were encountered:
Currently, many of the graphics functions require certain dataframes to already exist, particularly
indicator_table
,data_dictionary
andcode_lists
.One approach to this is to make getting these data their own functions, which can then be called in any context (at the start of a processing script; inside a function, where-ever). For example:
Now, anywhere we need the
indicator_table
data, we can runindicator_table <- get_indicator_table(con)
. If the dataframe exists in the current environment / context, it will be used. Otherwise, we go out to the database to get it.The text was updated successfully, but these errors were encountered: