# 1. See list of available data topics
pdc_topics()
# 2. See list of datasets available for a topic
hospital_data <- pdc_datasets("Hospitals")
hospital_data
# Find a dataset you want
hospital_data |>
dplyr::filter(
stringr::str_detect(
title,
pattern = "(?i)readmission"
)
)
# 3. Use that data set ID to import
pdc_read("9n3s-kdb3")
Run the code above in your browser using DataLab