We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
names(covidcast_epidata()$signals)
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
library(epidatr) head(names(covidcast_epidata()$signals)) #> [1] "chng.chng:smoothed_outpatient_cli" #> [2] "chng.chng:smoothed_adj_outpatient_cli" #> [3] "chng.chng:smoothed_outpatient_covid" #> [4] "chng.chng:smoothed_adj_outpatient_covid" #> [5] "chng.chng:smoothed_outpatient_flu" #> [6] "chng.chng:smoothed_adj_outpatient_flu"
Created on 2023-01-20 by the reprex package (v2.0.1)
This probably just requires adding an unname before c-ing the per-source signal lists together:
unname
c
all_signals <- do.call(c, lapply(sources, function(x) { l <- c(x$signals) names(l) <- paste(x$source, names(l), sep = ":") l }))
->
all_signals <- do.call(c, unname(lapply(sources, function(x) { l <- c(x$signals) names(l) <- paste(x$source, names(l), sep = ":") l })))
Marking this P0, as fixing it is a breaking change for the entire covidcast_epidata()$signals interface.
covidcast_epidata()$signals
The text was updated successfully, but these errors were encountered:
apparently I didn't solve this, caught by @dshemetov
Sorry, something went wrong.
dsweber2
Successfully merging a pull request may close this issue.
Created on 2023-01-20 by the reprex package (v2.0.1)
This probably just requires adding an
unname
beforec
-ing the per-source signal lists together:->
Marking this P0, as fixing it is a breaking change for the entire
covidcast_epidata()$signals
interface.The text was updated successfully, but these errors were encountered: