Get sdl helpers#1333
Conversation
|
Hi @OluwatobiOni this looks good - i need to test in R again. However the concept should work! I was also thinking that we could use the helper functions with those datasets we have already refactored in BYOC Mode e.g. |
|
Can merge it first and keep building on this function in each individual PR. |
|
Hi @Jennit07 , could you have a review? Thanks |
|
From today's BYOC stand up (01/07/26) - LH to send code that can be used to pull the snapshot. This could be incorporated on this PR so that we just have to make a change in the one place for all datasets |
| extract_homelessness <- dplyr::tbl( | ||
| denodo_connect, | ||
| dbplyr::in_schema("sdl", "sdl_homelessness_source") | ||
| dbplyr::in_schema("sdl", get_sdl_raw_names("homelessness")) |
There was a problem hiding this comment.
| dbplyr::in_schema("sdl", get_sdl_raw_names("homelessness")) | |
| dbplyr::in_schema("sdl", get_sdl_dataset_names("homelessness")) |
Discussed with Tobi - potentially we could change the name of this function to accommodate for the snapshot function?
We still need the distinction between raw names and processed names
TODOs
LOCAL MODE (get_sdl_processed_data)
RAW TABLE FUNCTION (get_sdl_raw_table_name)
BOTH FUNCTIONS