Skip to content

Commit 9b12518

Browse files
committed
Cross-referencing and formatting fixes
1 parent 3b1d9f2 commit 9b12518

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

R-packages/covidcast/R/covidcast.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ COVIDCAST_BASE_URL <- 'https://api.covidcast.cmu.edu/epidata/api.php'
197197
#' geo_values = name_to_cbsa("Pittsburgh"))
198198
#' }
199199
#'
200-
#' @seealso [plot.covidcast_signal()], [`county_census`], [`msa_census`],
201-
#' [`state_census`]
200+
#' @seealso [plot.covidcast_signal()], [covidcast_signals()], [`county_census`],
201+
#' [`msa_census`], [`state_census`]
202202
#' @export
203203
#' @importFrom rlang abort
204204
#' @importFrom dplyr %>%
@@ -359,8 +359,8 @@ summary.covidcast_signal = function(object, ...) {
359359
#' @examples
360360
#' \dontrun{
361361
#' ## Fetch USAFacts confirmed cases and deaths over the same time period
362-
#' covidcast_signals("usa-facts", signal=c("confirmed_incidence_num",
363-
#' "deaths_incidence_num"),
362+
#' covidcast_signals("usa-facts", signal = c("confirmed_incidence_num",
363+
#' "deaths_incidence_num"),
364364
#' start_day = "2020-08-15", end_day = "2020-10-01")
365365
#' }
366366
#' @export

R-packages/covidcast/R/data.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#'
2121
#' @source United States Census Bureau, at
2222
#' \url{https://www2.census.gov/programs-surveys/popest/datasets/2010-2019/counties/totals/co-est2019-alldata.csv}
23+
#'
24+
#' @seealso [fips_to_name()], [name_to_fips()]
2325
"county_census"
2426

2527
#' Metro area population data
@@ -50,6 +52,8 @@
5052
#'
5153
#' @source United States Census Bureau, at
5254
#' \url{https://www2.census.gov/programs-surveys/popest/datasets/2010-2019/metro/totals/cbsa-est2019-alldata.csv}
55+
#'
56+
#' @seealso [cbsa_to_name()], [name_to_cbsa()]
5357
"msa_census"
5458

5559
#' State population data
@@ -67,6 +71,8 @@
6771
#'
6872
#' @source United States Census Bureau, at
6973
#' \url{https://www2.census.gov/programs-surveys/popest/datasets/2010-2019/state/detail/SCPRC-EST2019-18+POP-RES.csv}
74+
#'
75+
#' @seealso [abbr_to_name()], [name_to_abbr()], [abbr_to_fips()], [fips_to_abbr()]
7076
"state_census"
7177

7278
#' County latitudes and longitudes

R-packages/covidcast/R/wrangle.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ aggregate_signals = function(x, dt = NULL, format = c("wide", "long")) {
256256
#' `aggregate_signals()` had been called in the first place with that
257257
#' `format` argument.
258258
#'
259+
#' @seealso [covidcast_signals()]
260+
#'
259261
#' @export
260262
covidcast_longer = function(x) {
261263
if (!inherits(x, "covidcast_signal_wide")) {

0 commit comments

Comments
 (0)