Requires that htmltools, shiny and DT are installed.

ipums_view(x, out_file = NULL, launch = TRUE)

Arguments

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.

Value

The filepath to the html (silently if launch is TRUE)

Examples

ddi <- read_ipums_ddi(ipums_example("cps_00006.xml"))
# NOT RUN { ipums_view(ddi) ipums_view(ddi, "codebook.html", launch = FALSE) # }