#' Zip Code Tabulation Areas (contemporary)
#'
#' Get the current (2019) centroids for U.S Zipcode Tabulation Areas from the
#' U.S. Census Bureau. The centroids were calculated from the ZCTA boundary
#' files available on the U.S. Census Bureau website.
#'
#' @return An \code{sf} object.
#'
#' @seealso For documentation of and citation to the underlying shapefiles for
#' contemporary data from the U.S. Census Bureau, see the
#' \code{census_boundaries} documentation in the USAboundariesData package.
#'
#' @examples
#' if (require(USAboundariesData)) {
#' us_zipcodes()
#' }
#'
#' @export
us_zipcodes <- function() {
check_data_package()
USAboundariesData::zipcodes
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.