# NOT RUN {
Get all community exposures for Durham Region
exposures <- getExposures(
type = 'Community',
healthUnit = 'Durham Region Health Department'
)
Specify the data to return. This can be field names or labels
N.B. Names are case sensitive!
exposures <- getExposures(
columns = c("Id", "Exposure Name", "CCM_Exposure_Setting__c")
)
Limit the data to a specific time period.
exposures <- getExposures(
from = "2020-12-12",
to = "2020-12-17"
)
# }
Run the code above in your browser using DataLab