covidcast_longer | R Documentation |
These functions take signals returned from aggregate_signals()
and convert
between formats. covidcast_longer()
takes the output of
aggregate_signals(..., format = "wide")
and converts it to "long" format,
while covidcast_wider()
takes the output of aggregate_signals(..., format = "long")
and converts it to "wide" format.
covidcast_longer(x)
covidcast_wider(x)
x |
A |
The object pivoted into the opposite form, i.e. as if
aggregate_signals()
had been called in the first place with that
format
argument.
covidcast_signals()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.