diff --git a/DESCRIPTION b/DESCRIPTION index fb4aca9..3a7d1ad 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -18,8 +18,8 @@ Depends: utils Imports: devtools (>= 1.10.0) -Suggests: +Suggests: LazyLoad: yes LazyData: yes License: GPL (>= 3) -RoxygenNote: 5.0.1 +RoxygenNote: 6.0.1 diff --git a/R/surnames2010.R b/R/surnames2010.R index 6ee0b66..a072805 100644 --- a/R/surnames2010.R +++ b/R/surnames2010.R @@ -14,7 +14,7 @@ #' #' @docType data #' @keywords datasets -#' @name surnames +#' @name surnames2010 #' @examples #' data(surnames) -"surnames" +"surnames2010" diff --git a/man/census_geo_api.Rd b/man/census_geo_api.Rd index e2634e1..510b3aa 100644 --- a/man/census_geo_api.Rd +++ b/man/census_geo_api.Rd @@ -51,4 +51,3 @@ at either the county, tract, or block level, for a particular state. Relies on get_census_api, get_census_api_2, and vec_to_chunk functions authored by Nicholas Nagle, available \href{https://rstudio-pubs-static.s3.amazonaws.com/19337_2e7f827190514c569ea136db788ce850.html}{here}. } - diff --git a/man/census_helper.Rd b/man/census_helper.Rd index a9d64ef..c1e024c 100644 --- a/man/census_helper.Rd +++ b/man/census_helper.Rd @@ -66,4 +66,3 @@ calculated are Pr(Geolocation | Race) where geolocation is county, tract, or blo age = TRUE, sex = TRUE)} } - diff --git a/man/get_census_api.Rd b/man/get_census_api.Rd index 84aa9d4..d75fc48 100644 --- a/man/get_census_api.Rd +++ b/man/get_census_api.Rd @@ -44,4 +44,3 @@ vars = c("P0050003","P0050004","P0050005", "P0050006"), region = "for=county:*&i Based on code authored by Nicholas Nagle, which is available \href{https://rstudio-pubs-static.s3.amazonaws.com/19337_2e7f827190514c569ea136db788ce850.html}{here}. } - diff --git a/man/get_census_api_2.Rd b/man/get_census_api_2.Rd index d0a8c58..36be885 100644 --- a/man/get_census_api_2.Rd +++ b/man/get_census_api_2.Rd @@ -45,4 +45,3 @@ get = c("P0050003","P0050004","P0050005", "P0050006"), region = "for=county:*&in Based on code authored by Nicholas Nagle, which is available \href{https://rstudio-pubs-static.s3.amazonaws.com/19337_2e7f827190514c569ea136db788ce850.html}{here}. } - diff --git a/man/get_census_data.Rd b/man/get_census_data.Rd index 900b589..569731e 100644 --- a/man/get_census_data.Rd +++ b/man/get_census_data.Rd @@ -42,4 +42,3 @@ can save considerable time when running \code{predict_race} and \code{census_hel \examples{ \dontrun{get_census_data(key = "...", states = c("NJ", "NY"), age = TRUE, sex = FALSE)} } - diff --git a/man/merge_surnames.Rd b/man/merge_surnames.Rd index 0900a20..ad70ba1 100644 --- a/man/merge_surnames.Rd +++ b/man/merge_surnames.Rd @@ -65,4 +65,3 @@ data(voters) merge_surnames(voters) } - diff --git a/man/predict_race.Rd b/man/predict_race.Rd index 2606acf..4a6f0c8 100644 --- a/man/predict_race.Rd +++ b/man/predict_race.Rd @@ -114,4 +114,3 @@ predict_race(voter.file = voters, census.geo = "tract", census.data = CensusObj, predict_race(voter.file = voters, census.geo = "tract", census.data = CensusObj2, party = "PID", age = TRUE, sex = TRUE)} } - diff --git a/man/surnames2000.Rd b/man/surnames2000.Rd index 2cd9624..e5c1b55 100644 --- a/man/surnames2000.Rd +++ b/man/surnames2000.Rd @@ -23,4 +23,3 @@ Census Surname List from 2000 with race/ethnicity probabilities by surname. data(surnames2000) } \keyword{datasets} - diff --git a/man/surnames2010.Rd b/man/surnames2010.Rd index 660e119..e598227 100644 --- a/man/surnames2010.Rd +++ b/man/surnames2010.Rd @@ -1,8 +1,8 @@ % Generated by roxygen2: do not edit by hand % Please edit documentation in R/surnames2010.R \docType{data} -\name{surnames} -\alias{surnames} +\name{surnames2010} +\alias{surnames2010} \title{Census Surname List (2010).} \format{A data frame with 167,613 rows and 6 variables: \describe{ @@ -14,7 +14,7 @@ \item{p_oth}{Pr(Other | Surname)} #' }} \usage{ -surnames +surnames2010 } \description{ Census Surname List from 2010 with race/ethnicity probabilities by surname. @@ -23,4 +23,3 @@ Census Surname List from 2010 with race/ethnicity probabilities by surname. data(surnames) } \keyword{datasets} - diff --git a/man/vec_to_chunk.Rd b/man/vec_to_chunk.Rd index afe4fcc..071acfc 100644 --- a/man/vec_to_chunk.Rd +++ b/man/vec_to_chunk.Rd @@ -29,4 +29,3 @@ vec_to_chunk(x = c(paste("P012F0", seq(10:49), sep = ""), paste("P012I0", seq(10 Based on code authored by Nicholas Nagle, which is available \href{https://rstudio-pubs-static.s3.amazonaws.com/19337_2e7f827190514c569ea136db788ce850.html}{here}. } - diff --git a/man/voters.Rd b/man/voters.Rd index 7f8f536..d162952 100644 --- a/man/voters.Rd +++ b/man/voters.Rd @@ -29,4 +29,3 @@ An example dataset containing voter file information. data(voters) } \keyword{datasets} -