R/datasets.R

#' Example data for `sdc_descriptives()`
#' @description Utilized in the vignette.
#' @name sdc_descriptives_DT
#' @docType data
#' @usage data("sdc_descriptives_DT")
#' @format A data.table with 20 rows and 5 columns.
#' @details The data.table contains the following columns:
#' - id [factor] random identifier
#' - sector [factor] economic sector
#' - year [integer] time variable
#' - val_1, val_2 [numeric] value variables
#' @keywords datasets
"sdc_descriptives_DT"

#' Example data for `sdc_model()`
#' @description Utilized in the vignette
#' @name sdc_model_DT
#' @docType data
#' @usage data("sdc_model_DT")
#' @format A data.table with 80 rows and 9 columns.
#' @details The data.table contains the following columns:
#'   - id [factor] random identifier
#'   - y - x_4 [numeric] value variables
#'   - dummy_1 - dummy_3 [factor] dummy variables
#' @keywords datasets
"sdc_model_DT"

#' Example data for `sdc_min_max()`
#' @description Utilized in the vignette
#' @name sdc_min_max_DT
#' @docType data
#' @usage data("sdc_min_max_DT")
#' @format A data.table with 20 rows and 6 columns.
#' @details The data.table contains the following columns:
#' - id [factor] random identifier
#' - sector [factor] economic sector
#' - year [integer] time variable
#' - val_1 - val_3 [numeric] value variables
#' @keywords datasets
"sdc_min_max_DT"

Try the sdcLog package in your browser

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

sdcLog documentation built on March 20, 2022, 1:06 a.m.