From d1a2a0cf4f92f3020e421790c221b9e52a704d7e Mon Sep 17 00:00:00 2001 From: Kyle Walker Date: Wed, 19 May 2021 13:46:26 -0500 Subject: [PATCH] fix all problem URLs --- R/acs.R | 2 +- R/census.R | 2 +- R/estimates.R | 2 +- R/flows.R | 10 +++++----- R/pums.R | 2 +- man/get_acs.Rd | 2 +- man/get_decennial.Rd | 2 +- man/get_estimates.Rd | 2 +- man/get_flows.Rd | 10 +++++----- man/get_pums.Rd | 2 +- 10 files changed, 18 insertions(+), 18 deletions(-) diff --git a/R/acs.R b/R/acs.R index 66004d4..4e52564 100644 --- a/R/acs.R +++ b/R/acs.R @@ -42,7 +42,7 @@ #' be included in your output. Usually a variable (e.g. total population) that #' you'll want to use as a denominator or comparison. #' @param key Your Census API key. Obtain one at -#' \url{http://api.census.gov/data/key_signup.html} +#' \url{https://api.census.gov/data/key_signup.html} #' @param moe_level The confidence level of the returned margin of error. One #' of 90 (the default), 95, or 99. #' @param survey The ACS contains one-year, three-year, and five-year surveys diff --git a/R/census.R b/R/census.R index daec923..ddc489d 100644 --- a/R/census.R +++ b/R/census.R @@ -38,7 +38,7 @@ #' to be included in your output. Usually a variable (e.g. total population) #' that you'll want to use as a denominator or comparison. #' @param key Your Census API key. -#' Obtain one at \url{http://api.census.gov/data/key_signup.html} +#' Obtain one at \url{https://api.census.gov/data/key_signup.html} #' @param show_call if TRUE, display call made to Census API. This can be very useful #' in debugging and determining if error messages returned are #' due to tidycensus or the Census API. Copy to the API call into diff --git a/R/estimates.R b/R/estimates.R index 369acdd..514f74c 100644 --- a/R/estimates.R +++ b/R/estimates.R @@ -37,7 +37,7 @@ #' mapping of the entire US. As of May 2021, we recommend using \code{tigris::shift_geometry()} #' instead. #' @param key Your Census API key. -#' Obtain one at \url{http://api.census.gov/data/key_signup.html}. Can be stored +#' Obtain one at \url{https://api.census.gov/data/key_signup.html}. Can be stored #' in your .Renviron with \code{census_api_key("YOUR KEY", install = TRUE)} #' @param show_call if TRUE, display call made to Census API. This can be very useful #' in debugging and determining if error messages returned are diff --git a/R/flows.R b/R/flows.R index 1a35863..4854c23 100644 --- a/R/flows.R +++ b/R/flows.R @@ -9,9 +9,9 @@ #' geographies as well as the number of people who moved in, out, and net #' movers of each geography (`MOVEDIN`, `MOVEDOUT`, `MOVEDNET`). If additional #' variables are specified, they are pulled in addition to the default -#' variables. The names of additional variables can be found in the [Census +#' variables. The names of additional variables can be found in the Census #' Migration Flows API -#' documentation](https://api.census.gov/data/2018/acs/flows/variables.html). +#' documentation at \url{https://api.census.gov/data/2018/acs/flows/variables.html}. #' @param breakdown A character vector of the population breakdown #' characteristics to be crossed with migration flows data. For datasets #' between 2006-2010 and 2011-2015, selected demographic characteristics such @@ -19,9 +19,9 @@ #' `"AGE"`, `"SEX"`, `"RACE"`, `"HSGP"`, `"REL"`, `"HHT"`, `"TEN"`, `"ENG"`, #' `"POB"`, `"YEARS"`, `"ESR"`, `"OCC"`, `"WKS"`, `"SCHL"`, `"AHINC"`, #' `"APINC"`, and `"HISP_ORIGIN"`. For more information and to see which -#' characteristics are available in each year, visit the [Census Migration +#' characteristics are available in each year, visit the Census Migration #' Flows -#' documentation](https://www.census.gov/data/developers/data-sets/acs-migration-flows.html). +#' documentation at \url{https://www.census.gov/data/developers/data-sets/acs-migration-flows.html}. #' Note: not all characteristics are available in all years. #' @param breakdown_labels Whether or not to add columns with labels for the #' breakdown characteristic codes. Defaults to `FALSE`. @@ -47,7 +47,7 @@ #' the sf object. The destination point feature is returned in the `centroid2` #' column. #' @param key Your Census API key. Obtain one at -#' \url{http://api.census.gov/data/key_signup.html} +#' \url{https://api.census.gov/data/key_signup.html} #' @param moe_level The confidence level of the returned margin of error. One #' of 90 (the default), 95, or 99. #' @param show_call if TRUE, display call made to Census API. This can be very diff --git a/R/pums.R b/R/pums.R index 129c516..a264b90 100644 --- a/R/pums.R +++ b/R/pums.R @@ -28,7 +28,7 @@ #' tidycensus or the Census API. Copy to the API call into a browser and see #' what is returned by the API directly. Defaults to FALSE. #' @param key Your Census API key. Obtain one at -#' \url{http://api.census.gov/data/key_signup.html} +#' \url{https://api.census.gov/data/key_signup.html} #' #' @return A tibble of microdata from the ACS PUMS API. #' @export diff --git a/man/get_acs.Rd b/man/get_acs.Rd index 22e3984..258d362 100644 --- a/man/get_acs.Rd +++ b/man/get_acs.Rd @@ -83,7 +83,7 @@ be included in your output. Usually a variable (e.g. total population) that you'll want to use as a denominator or comparison.} \item{key}{Your Census API key. Obtain one at -\url{http://api.census.gov/data/key_signup.html}} +\url{https://api.census.gov/data/key_signup.html}} \item{moe_level}{The confidence level of the returned margin of error. One of 90 (the default), 95, or 99.} diff --git a/man/get_decennial.Rd b/man/get_decennial.Rd index 31503cc..3fe3674 100644 --- a/man/get_decennial.Rd +++ b/man/get_decennial.Rd @@ -75,7 +75,7 @@ to be included in your output. Usually a variable (e.g. total population) that you'll want to use as a denominator or comparison.} \item{key}{Your Census API key. -Obtain one at \url{http://api.census.gov/data/key_signup.html}} +Obtain one at \url{https://api.census.gov/data/key_signup.html}} \item{show_call}{if TRUE, display call made to Census API. This can be very useful in debugging and determining if error messages returned are diff --git a/man/get_estimates.Rd b/man/get_estimates.Rd index 563fcd8..0d47ded 100644 --- a/man/get_estimates.Rd +++ b/man/get_estimates.Rd @@ -74,7 +74,7 @@ mapping of the entire US. As of May 2021, we recommend using \code{tigris::shif instead.} \item{key}{Your Census API key. -Obtain one at \url{http://api.census.gov/data/key_signup.html}. Can be stored +Obtain one at \url{https://api.census.gov/data/key_signup.html}. Can be stored in your .Renviron with \code{census_api_key("YOUR KEY", install = TRUE)}} \item{show_call}{if TRUE, display call made to Census API. This can be very useful diff --git a/man/get_flows.Rd b/man/get_flows.Rd index 9760432..6285df9 100644 --- a/man/get_flows.Rd +++ b/man/get_flows.Rd @@ -31,9 +31,9 @@ names. By default, `get_flows()` returns the GEOID and names of the geographies as well as the number of people who moved in, out, and net movers of each geography (`MOVEDIN`, `MOVEDOUT`, `MOVEDNET`). If additional variables are specified, they are pulled in addition to the default -variables. The names of additional variables can be found in the [Census +variables. The names of additional variables can be found in the Census Migration Flows API -documentation](https://api.census.gov/data/2018/acs/flows/variables.html).} +documentation at \url{https://api.census.gov/data/2018/acs/flows/variables.html}.} \item{breakdown}{A character vector of the population breakdown characteristics to be crossed with migration flows data. For datasets @@ -42,9 +42,9 @@ as age, race, employment status, etc. are available. Possible values are `"AGE"`, `"SEX"`, `"RACE"`, `"HSGP"`, `"REL"`, `"HHT"`, `"TEN"`, `"ENG"`, `"POB"`, `"YEARS"`, `"ESR"`, `"OCC"`, `"WKS"`, `"SCHL"`, `"AHINC"`, `"APINC"`, and `"HISP_ORIGIN"`. For more information and to see which -characteristics are available in each year, visit the [Census Migration +characteristics are available in each year, visit the Census Migration Flows -documentation](https://www.census.gov/data/developers/data-sets/acs-migration-flows.html). +documentation at \url{https://www.census.gov/data/developers/data-sets/acs-migration-flows.html}. Note: not all characteristics are available in all years.} \item{breakdown_labels}{Whether or not to add columns with labels for the @@ -78,7 +78,7 @@ the sf object. The destination point feature is returned in the `centroid2` column.} \item{key}{Your Census API key. Obtain one at -\url{http://api.census.gov/data/key_signup.html}} +\url{https://api.census.gov/data/key_signup.html}} \item{moe_level}{The confidence level of the returned margin of error. One of 90 (the default), 95, or 99.} diff --git a/man/get_pums.Rd b/man/get_pums.Rd index ea205bd..4923e33 100644 --- a/man/get_pums.Rd +++ b/man/get_pums.Rd @@ -55,7 +55,7 @@ tidycensus or the Census API. Copy to the API call into a browser and see what is returned by the API directly. Defaults to FALSE.} \item{key}{Your Census API key. Obtain one at -\url{http://api.census.gov/data/key_signup.html}} +\url{https://api.census.gov/data/key_signup.html}} } \value{ A tibble of microdata from the ACS PUMS API.