# NOT RUN {
Get all confirmed cases for Durham Region
cases <- getCases(
confirmedOnly = TRUE,
healthUnit = 'Durham Region Health Department'
)
Specify the data to return. This can be field names or labels
N.B. Names are case sensitive!
cases <- getCases(
columns = c("Id", "Reported Date", "Episode Date", "CCM_Episode_Date_Type__c")
)
Limit the data to a specific time period.
cases <- getCases(
from = "2020-10-12",
to = "2020-10-17"
)
# }
Run the code above in your browser using DataLab