R/viewer.r
ipums_view.Rd
Requires that htmltools, shiny and DT are installed.
ipums_view(x, out_file = NULL, launch = TRUE)
x | A DDI or other object with ipums attributes (such as data loaded from an extract). Note that the file level information (like extract notes) are only available from the DDI. |
---|---|
out_file | Optionally specify a location to save HTML file. NULL the default makes a temporary file. |
launch | Logical indicating whether to launch the website. |
The filepath to the html (silently if launch is TRUE
)
ddi <- read_ipums_ddi(ipums_example("cps_00006.xml")) if (FALSE) { ipums_view(ddi) ipums_view(ddi, "codebook.html", launch = FALSE) }