diff --git a/pkgdown.yml b/pkgdown.yml index 7afc6cd..2635e28 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -2,7 +2,7 @@ pandoc: 3.1.11 pkgdown: 2.1.1 pkgdown_sha: ~ articles: {} -last_built: 2024-09-28T08:58Z +last_built: 2024-09-30T13:14Z urls: reference: http://floswald.github.io/psidR/reference article: http://floswald.github.io/psidR/articles diff --git a/reference/build.panel.html b/reference/build.panel.html index 5f43cac..63b4409 100644 --- a/reference/build.panel.html +++ b/reference/build.panel.html @@ -150,7 +150,6 @@

Examples

ind.vars=i, heads.only =TRUE,sample="SRC", design="all") - save(d,file="~/psid.RData") } # } # ###################################### @@ -194,19 +193,19 @@

Examples

d <- build.panel(datadir=my.dir,fam.vars=famvars, ind.vars=indvars, heads.only=FALSE) -#> INFO [2024-09-28 08:58:13] found FAM1985ER.rda already downloaded -#> INFO [2024-09-28 08:58:13] found FAM1986ER.rda already downloaded -#> INFO [2024-09-28 08:58:13] Will download missing datasets now -#> INFO [2024-09-28 08:58:13] will download latest individual index: IND2021ER +#> INFO [2024-09-30 13:14:22] found FAM1985ER.rda already downloaded +#> INFO [2024-09-30 13:14:22] found FAM1986ER.rda already downloaded +#> INFO [2024-09-30 13:14:22] Will download missing datasets now +#> INFO [2024-09-30 13:14:22] will download latest individual index: IND2021ER #> This can take several hours/days to download. #> want to go ahead? give me 'yes' or 'no'. -#> INFO [2024-09-28 08:58:13] psidR: Loading Family data from .rda files -#> INFO [2024-09-28 08:58:13] psidR: loaded individual file: /tmp/RtmpC6Jjdh/IND2019ER.RData -#> INFO [2024-09-28 08:58:13] psidR: total memory load in MB: 1 -#> INFO [2024-09-28 08:58:13] psidR: currently working on data for year 1985 -#> INFO [2024-09-28 08:58:13] psidR: currently working on data for year 1986 -#> INFO [2024-09-28 08:58:13] balanced design reduces sample from 36 to 24 -#> INFO [2024-09-28 08:58:13] End of build.panel +#> INFO [2024-09-30 13:14:22] psidR: Loading Family data from .rda files +#> INFO [2024-09-30 13:14:22] psidR: loaded individual file: /tmp/Rtmpuo1OFp/IND2019ER.RData +#> INFO [2024-09-30 13:14:22] psidR: total memory load in MB: 1 +#> INFO [2024-09-30 13:14:22] psidR: currently working on data for year 1985 +#> INFO [2024-09-30 13:14:22] psidR: currently working on data for year 1986 +#> INFO [2024-09-30 13:14:22] balanced design reduces sample from 36 to 24 +#> INFO [2024-09-30 13:14:22] End of build.panel # see what happens if we drop non-heads # only the ones who are heads in BOTH years @@ -214,21 +213,21 @@

Examples

d <- build.panel(datadir=my.dir,fam.vars=famvars, ind.vars=indvars, heads.only=TRUE) -#> INFO [2024-09-28 08:58:13] found FAM1985ER.rda already downloaded -#> INFO [2024-09-28 08:58:13] found FAM1986ER.rda already downloaded -#> INFO [2024-09-28 08:58:13] Will download missing datasets now -#> INFO [2024-09-28 08:58:13] will download latest individual index: IND2021ER +#> INFO [2024-09-30 13:14:22] found FAM1985ER.rda already downloaded +#> INFO [2024-09-30 13:14:22] found FAM1986ER.rda already downloaded +#> INFO [2024-09-30 13:14:22] Will download missing datasets now +#> INFO [2024-09-30 13:14:22] will download latest individual index: IND2021ER #> This can take several hours/days to download. #> want to go ahead? give me 'yes' or 'no'. -#> INFO [2024-09-28 08:58:13] psidR: Loading Family data from .rda files -#> INFO [2024-09-28 08:58:13] psidR: loaded individual file: /tmp/RtmpC6Jjdh/IND2019ER.RData -#> INFO [2024-09-28 08:58:13] psidR: total memory load in MB: 1 -#> INFO [2024-09-28 08:58:13] psidR: currently working on data for year 1985 -#> INFO [2024-09-28 08:58:13] dropping non-heads leaves 10 obs -#> INFO [2024-09-28 08:58:13] psidR: currently working on data for year 1986 -#> INFO [2024-09-28 08:58:13] dropping non-heads leaves 15 obs -#> INFO [2024-09-28 08:58:13] balanced design reduces sample from 20 to 4 -#> INFO [2024-09-28 08:58:13] End of build.panel +#> INFO [2024-09-30 13:14:22] psidR: Loading Family data from .rda files +#> INFO [2024-09-30 13:14:22] psidR: loaded individual file: /tmp/Rtmpuo1OFp/IND2019ER.RData +#> INFO [2024-09-30 13:14:22] psidR: total memory load in MB: 1 +#> INFO [2024-09-30 13:14:22] psidR: currently working on data for year 1985 +#> INFO [2024-09-30 13:14:22] dropping non-heads leaves 10 obs +#> INFO [2024-09-30 13:14:22] psidR: currently working on data for year 1986 +#> INFO [2024-09-30 13:14:22] dropping non-heads leaves 15 obs +#> INFO [2024-09-30 13:14:22] balanced design reduces sample from 20 to 4 +#> INFO [2024-09-30 13:14:22] End of build.panel print(d[order(pid)],nrow=Inf) #> money age interview ID1968 pernum sequence relation.head ind.weight #> <num> <int> <int> <int> <int> <num> <num> <num> @@ -249,20 +248,20 @@

Examples

d <- build.panel(datadir=my.dir,fam.vars=famvars, ind.vars=indvars,heads.only=TRUE, design="all") -#> INFO [2024-09-28 08:58:13] found FAM1985ER.rda already downloaded -#> INFO [2024-09-28 08:58:13] found FAM1986ER.rda already downloaded -#> INFO [2024-09-28 08:58:13] Will download missing datasets now -#> INFO [2024-09-28 08:58:13] will download latest individual index: IND2021ER +#> INFO [2024-09-30 13:14:22] found FAM1985ER.rda already downloaded +#> INFO [2024-09-30 13:14:22] found FAM1986ER.rda already downloaded +#> INFO [2024-09-30 13:14:22] Will download missing datasets now +#> INFO [2024-09-30 13:14:22] will download latest individual index: IND2021ER #> This can take several hours/days to download. #> want to go ahead? give me 'yes' or 'no'. -#> INFO [2024-09-28 08:58:13] psidR: Loading Family data from .rda files -#> INFO [2024-09-28 08:58:13] psidR: loaded individual file: /tmp/RtmpC6Jjdh/IND2019ER.RData -#> INFO [2024-09-28 08:58:13] psidR: total memory load in MB: 1 -#> INFO [2024-09-28 08:58:13] psidR: currently working on data for year 1985 -#> INFO [2024-09-28 08:58:13] dropping non-heads leaves 10 obs -#> INFO [2024-09-28 08:58:13] psidR: currently working on data for year 1986 -#> INFO [2024-09-28 08:58:13] dropping non-heads leaves 15 obs -#> INFO [2024-09-28 08:58:13] End of build.panel +#> INFO [2024-09-30 13:14:22] psidR: Loading Family data from .rda files +#> INFO [2024-09-30 13:14:22] psidR: loaded individual file: /tmp/Rtmpuo1OFp/IND2019ER.RData +#> INFO [2024-09-30 13:14:22] psidR: total memory load in MB: 1 +#> INFO [2024-09-30 13:14:22] psidR: currently working on data for year 1985 +#> INFO [2024-09-30 13:14:22] dropping non-heads leaves 10 obs +#> INFO [2024-09-30 13:14:22] psidR: currently working on data for year 1986 +#> INFO [2024-09-30 13:14:22] dropping non-heads leaves 15 obs +#> INFO [2024-09-30 13:14:22] End of build.panel print(d[order(pid)],nrow=Inf) #> money age interview ID1968 pernum sequence relation.head ind.weight #> <num> <int> <int> <int> <int> <num> <num> <num>