Creates an immutable, ad-hoc data source from a named list of Spark datasets indexed with resource type codes.
pathling_read_datasets(pc, resources)A DataSource object that can be used to run queries against the data.
if (FALSE) { # \dontrun{
patient_df <- pc %>% pathling_example_resource("Patient")
condition_df <- pc %>% pathling_example_resource("Condition")
data_source <- pc %>% pathling_read_datasets(list(Patient = patient_df, Condition = condition_df))
data_source %>%
ds_read("Patient") %>%
sparklyr::sdf_nrow()
} # }