srvyr uses data.frame columns wrapped by this function to know when to automatically unpack the results for the user. When developing extensions (see vignette extending-srvyr), use this function to wrap the result in so that summarize knows to unpack them.

as_srvyr_result_df(x)

Arguments

x

A data.frame

Value

An object with the srvyr_result_df added