Skip to content

Commit

Permalink
CRAN 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
floswald committed Nov 7, 2024
1 parent 602fcd8 commit c2a230b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 59 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: psidR
Type: Package
Title: Build Panel Data Sets from PSID Raw Data
Version: 2.3
Date: 2024-09-23
Date: 2024-11-05
Authors@R: person(given = "Florian",
family = "Oswald",
role = c("aut", "cre"),
Expand Down
29 changes: 0 additions & 29 deletions R/build.panel.r
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,6 @@
#' resulting \code{data.table}. the variable \code{pid} is the unique person identifier, constructed from ID1968 and pernum
#' @export
#' @examples
#' \dontrun{
#' # ################################################
#' # Real-world example: not tested during
#' # R CMD CHECK it because takes long.
#' # Build panel with income, wage, age and education
#' # optionally: add wealth supplements!
#' # ################################################
#'
#' # The package is installed with a list of variables
#' # Alternatively, search for names with \code{\link{getNamesPSID}}
#' # This is the body of function build.psid()
#' r = system.file(package="psidR")
#' if (small){
#' f = fread(file.path(r,"psid-lists","famvars-small.txt"))
#' i = fread(file.path(r,"psid-lists","indvars-small.txt"))
#' } else {
#' f = fread(file.path(r,"psid-lists","famvars.txt"))
#' i = fread(file.path(r,"psid-lists","indvars.txt"))
#' }
#' setkey(i,"name")
#' setkey(f,"name")
#' i = dcast(i[,list(year,name,variable)],year~name)
#' f = dcast(f[,list(year,name,variable)],year~name)
#' # executing this function will download data. takes long.
#' d = build.panel(datadir="~/datasets/psid/",fam.vars=f,
#' ind.vars=i,
#' heads.only =TRUE,sample="SRC",
#' design="all")
#' }
#'
#' # ######################################
#' # reproducible example on artifical data.
Expand Down
29 changes: 0 additions & 29 deletions man/build.panel.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c2a230b

Please sign in to comment.