R/get_id.R

Defines functions get_id

Documented in get_id

#' Access population identifiers in epiflows objects
#'
#' @param x an epiflows object
#' @param ... arguments passed on to [epicontacts::get_id()]
#' 
#' @description this will return the unique population ID for your epiflows object.
#' @return a character vector of population IDs
#' @export
#' @md
#' @author Zhian N. Kamvar
#' @seealso [epicontacts::get_id()]; [get_vars()]; [get_pop_size()]; [global_vars()]
#' @examples
#' data("Brazil_epiflows")
#' get_id(Brazil_epiflows)
#' 
#' @importFrom epicontacts get_id
get_id <- function(x, ...) {
  epicontacts::get_id(x, ...)
}

Try the epiflows package in your browser

Any scripts or data that you put into this service are public.

epiflows documentation built on April 10, 2023, 5:06 p.m.