ipums_collect {ipumsr} | R Documentation |
Collect data into R session with IPUMS attributes
Description
Convenience wrapper around dplyr's collect()
and
set_ipums_var_attributes()
. Use this to attach variable labels when
collecting data from a database.
Usage
ipums_collect(data, ddi, var_attrs = c("val_labels", "var_label", "var_desc"))
Arguments
data |
A dplyr |
ddi |
An ipums_ddi object created with |
var_attrs |
Variable attributes to add to the output. Defaults to
all available attributes.
See |
Value
A local tibble
with the requested
attributes attached.
[Package ipumsr version 0.8.1 Index]