Nothing
# This file is part of the ipumsr R package created by IPUMS.
# For copyright and licensing information, see the NOTICE and LICENSE files
# in this project's top-level directory, and also on-line at:
# https://github.com/ipums/ipumsr
#' @export
print.ipums_ddi <- function(x, ...) {
fproject <- ifelsenull(x$ipums_project, "<missing project>")
fvarnum <- ifelsenull(x$var_info, "<???>", nrow)
fname <- ifelsenull(x$file_name, "<missing file name>")
fdate <- ifelsenull(x$extract_date, "<missing date>")
fnotes <- ifelsenull(x$extract_notes, "No user notes found.")
custom_cat(
"An IPUMS DDI for ", fproject, " with ", fvarnum, " variables\n",
"Extract '", fname, "' created on ", fdate, "\n",
"User notes:\n"
)
custom_cat(fnotes, indent = 2, exdent = 2)
cat("\n")
}
ifelsenull <- function(x, y, .f = identity) {
if (is.null(x)) {
return(y)
}
.f(x)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.