From 7797781773c198a834a3c54545c10d3281becb41 Mon Sep 17 00:00:00 2001 From: Benjamin Schmidt Date: Mon, 12 Sep 2016 08:12:11 -0400 Subject: [PATCH] Correcting 'Germany' to 'Denmark' --- R/gender.R | 6 +++--- man/gender.Rd | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/R/gender.R b/R/gender.R index 3be1d2a..584dc3e 100644 --- a/R/gender.R +++ b/R/gender.R @@ -26,7 +26,7 @@ #' on an implementation by Cameron Blevins.) The \code{"ipums"} method looks #' up names from the U.S. Census data in the Integrated Public Use Microdata #' Series. (This method was contributed by Ben Schmidt.) The \code{"napp"} -#' method uses census microdata from Canada, Great Britain, Germany, +#' method uses census microdata from Canada, Great Britain, Denmark, #' Iceland, Norway, and Sweden from 1801 to 1910 created by the #' \href{https://www.nappdata.org/napp/}{North Atlantic Population Project}. #' The @@ -42,7 +42,7 @@ #' \code{"United States"} which will be assumed if no argument is specified. #' For the \code{"napp"} method, you may specify a character vector with any #' of the following countries: \code{"Canada"}, \code{"United Kingdom"}, -#' \code{"Germany"}, \code{"Iceland"}, \code{"Norway"}, \code{"Sweden"}. For +#' \code{"Denmark"}, \code{"Iceland"}, \code{"Norway"}, \code{"Sweden"}. For #' the \code{"kantrowitz"} and \code{"genderize"} methods, no country should #' be specified. #' @return Returns a data frame containing the results of predicting the gender. @@ -72,7 +72,7 @@ gender <- function(names, years = c(1932, 2012), method = c("ssa", "ipums", "napp", "kantrowitz", "genderize", "demo"), countries = c("United States", "Canada", "United Kingdom", - "Germany", "Iceland", "Norway", "Sweden")) + "Denmark", "Iceland", "Norway", "Sweden")) { method <- match.arg(method) diff --git a/man/gender.Rd b/man/gender.Rd index e56c371..0b238e4 100644 --- a/man/gender.Rd +++ b/man/gender.Rd @@ -6,7 +6,7 @@ \usage{ gender(names, years = c(1932, 2012), method = c("ssa", "ipums", "napp", "kantrowitz", "genderize", "demo"), countries = c("United States", "Canada", - "United Kingdom", "Germany", "Iceland", "Norway", "Sweden")) + "United Kingdom", "Denmark", "Iceland", "Norway", "Sweden")) } \arguments{ \item{names}{First names as a character vector. Names are case insensitive.} @@ -28,7 +28,7 @@ U.S. Social Security Administration baby name data. (This method is based on an implementation by Cameron Blevins.) The \code{"ipums"} method looks up names from the U.S. Census data in the Integrated Public Use Microdata Series. (This method was contributed by Ben Schmidt.) The \code{"napp"} -method uses census microdata from Canada, Great Britain, Germany, +method uses census microdata from Canada, Great Britain, Denmark, Iceland, Norway, and Sweden from 1801 to 1910 created by the \href{https://www.nappdata.org/napp/}{North Atlantic Population Project}. The @@ -45,7 +45,7 @@ research purposes.} \code{"United States"} which will be assumed if no argument is specified. For the \code{"napp"} method, you may specify a character vector with any of the following countries: \code{"Canada"}, \code{"United Kingdom"}, -\code{"Germany"}, \code{"Iceland"}, \code{"Norway"}, \code{"Sweden"}. For +\code{"Denmark"}, \code{"Iceland"}, \code{"Norway"}, \code{"Sweden"}. For the \code{"kantrowitz"} and \code{"genderize"} methods, no country should be specified.} }