This function imports Israeli census data from spss .por files distributed by the CBS.

importData(source)

Arguments

source
Source for data, "raw" imports from .por files. "saved" files were previously parsed in R.

Examples

importData("raw")
#> Error in read.spss(file, use.value.labels = use.value.labels, to.data.frame = to.data.frame, max.value.labels = max.value.labels, reencode = reencode): unable to open file: 'No such file or directory'
importData("saved")
#> Warning: cannot open file '../dataframes/exp2004s.txt': No such file or directory
#> Error in file(filename, "r"): cannot open the connection
importData("family")
#> Error in read.spss(file, use.value.labels = use.value.labels, to.data.frame = to.data.frame, max.value.labels = max.value.labels, reencode = reencode): unable to open file: 'No such file or directory'
importData("writeOutEXP")
#> Warning: cannot open file '../dataframes/exp2004s.txt': No such file or directory
#> Error in file(file, "wt"): cannot open the connection
importData("combine")
#> Error in merge(exp2004s, fam2004s, by = "HHNUM"): object 'exp2004s' not found
importData("writeOutCombined")
#> Warning: cannot open file '../dataframes/data2004.txt': No such file or directory
#> Error in file(file, "wt"): cannot open the connection
importData("importExpFamInd")
#> Warning: cannot open file '../dataframes/expFamInd2004.txt': No such file or directory
#> Error in file(filename, "r"): cannot open the connection
importData("importCombined")
#> Warning: cannot open file '../dataframes/data2004.txt': No such file or directory
#> Error in file(filename, "r"): cannot open the connection