Get data for a resource type from a data source
ds_read(ds, resource_code)
A Spark DataFrame containing the data for the given resource type.
pc <- pathling_connect()
#> Warning: 2 arguments not used by format 'spark-3.5.3-bin-hadoop3'
data_source <- pc %>% pathling_read_ndjson(pathling_examples('ndjson'))
data_source %>% ds_read('Patient') %>% sparklyr::sdf_nrow()
#> [1] 9
data_source %>% ds_read('Condition') %>% sparklyr::sdf_nrow()
#> [1] 71
pathling_disconnect(pc)