Skip to content

Commit

Permalink
docs: add acs_table function examples
Browse files Browse the repository at this point in the history
  • Loading branch information
elipousson committed Jan 4, 2024
1 parent 98a7e4c commit 6ca3a1c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions R/acs_table.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#' @inheritParams rlang::args_error_context
#' @returns A character vector of variable ID values for a single table.
#' @seealso [acs_table_variables()]
#' @examples
#' acs_table_race_iteration("B25003")
#' @export
acs_table_race_iteration <- function(table,
codes = NULL,
Expand Down Expand Up @@ -55,6 +57,10 @@ acs_table_race_iteration <- function(table,
#' @inheritParams rlang::args_error_context
#' @returns A character vector of variable ID values for a single table.
#' @seealso [acs_table_race_iteration()]
#' @examples
#' acs_table_variables(table = "B15003")
#'
#' acs_table_variables(table = "B15003", variables = c(1:5))
#' @export
#' @importFrom stringr str_pad
acs_table_variables <- function(table = NULL,
Expand Down

0 comments on commit 6ca3a1c

Please sign in to comment.