Skip to main content

Archives

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

SIPP SSB files available as CSV files on SSB server

Print Friendly, PDF & Email

For those of you who are R users, at user request I created CSV versions of all implicates.

Sample code for R (contributed by C. Kohnen):

Since these files are in a csv format and the first row of the file contains the variable names, one would usually use

dataname = read.csv("datafilename.csv")

If you only want certain variables/columns, let say 1-2 and 17-20,  use (outside of R)

cut -d , -f 1-2,17-20 datafilename.csv > smallerfile.csv

(You can pull off the variables names from the CSV by doing )

head -n 1 datafilename.csv > var_names.csv

Then in R

newdata = read.csv("smallerfile.csv")

This can be adjusted to include more columns, but just adding more
column #'s.