ipums_view | R Documentation |
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")) ## Not run: ipums_view(ddi) ipums_view(ddi, "codebook.html", launch = FALSE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.