Open Jennit07 opened 6 months ago
Currently, we use this:
at_full_data <- dplyr::tbl( sc_dvprod_connection, dbplyr::in_schema("social_care_2", "equipment_snapshot") ) %>% dplyr::collect()
and then we do a selection on the variables but this takes too long in targets ~23 minutes. We should try change this to use SQL for selecting variables while we read from the platform to speed this up
Currently, we use this:
and then we do a selection on the variables but this takes too long in targets ~23 minutes. We should try change this to use SQL for selecting variables while we read from the platform to speed this up