covidcast_longer {covidcast} | R Documentation |
Pivot aggregated signals between "wide" and "long" formats
Description
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.
Usage
covidcast_longer(x)
covidcast_wider(x)
Arguments
x |
A |
Value
The object pivoted into the opposite form, i.e. as if
aggregate_signals()
had been called in the first place with that
format
argument.
See Also
[Package covidcast version 0.5.2 Index]