R/state_fxr.R

#' Prepare state's name for wikipedia link
#'
#' @param x A character string of a state's name
#' @examples
#' state_fxr("New York")
#' @export
state_fxr <- function(x){
        paste0(",_", gsub(" ", "_", x))
}
DataUrbanEconGeek/wikipop documentation built on May 20, 2019, 9:58 a.m.