Skip to content

Commit dc1b86c

Browse files
authored
Merge pull request #575 from brookslogan/make_covidcast_endpoint_default_format_arg_work_in_R_client
Use `match.arg` on covidcast endpoint `format` argument in R client
2 parents 29f9b96 + dfd768e commit dc1b86c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/client/delphi_epidata.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,7 @@ Epidata <- (function() {
521521
if(!missing(issues) && !missing(lag)) {
522522
stop('`issues` and `lag` are mutually exclusive')
523523
}
524+
format <- match.arg(format)
524525
# Set up request
525526
params <- list(
526527
endpoint = 'covidcast',

0 commit comments

Comments
 (0)