Skip to content

Commit

Permalink
Merge pull request #642 from natemcintosh/feature-add-time-type
Browse files Browse the repository at this point in the history
Attempt at adding time_type arg
  • Loading branch information
capnrefsmmat committed Jun 26, 2023
2 parents 603f551 + 86d01de commit 0661258
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R-packages/covidcast/R/covidcast.R
Expand Up @@ -560,6 +560,7 @@ covidcast_signals <- function(data_source, signal,
"hhs",
"nation"
),
time_type = c("day", "week"),
geo_values = "*",
as_of = NULL, issues = NULL, lag = NULL) {
N <- max(length(data_source), length(signal))
Expand Down Expand Up @@ -595,6 +596,7 @@ covidcast_signals <- function(data_source, signal,
start_day = start_day[i],
end_day = end_day[i],
geo_type = geo_type,
time_type = time_type,
geo_values = geo_values,
as_of = as_of, issues = issues,
lag = lag)
Expand Down
5 changes: 5 additions & 0 deletions R-packages/covidcast/man/covidcast_signals.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0661258

Please sign in to comment.