It won't allow me to upload the .sav file here for others to view and have access to. But it's in the link I included above- on the righthand side of the website- it gives you options to download the data. I tried the ncol function, and it gave me 158 columns. The data comes from a survey. It has a row for each person answering the question, and each column corresponds to a question. And the data in each cell is the person's answer to the column's question-- a number corresponding to the person's answer. The 158th column in the data is not the last question I can see on the survey. I didn't use any code to import it in R Studio. I used the drop down menu on the File menu to --> Import Dataset--> From SPSS.
I'm only looking for 4 columns, and I have 2 out of the 4 included in the import. Based on the picture I included above, I've gotten feedback that: "It looks like there are variables that have a lot of missing data. Create a new file to import that only contains the variables of interest, and then using the appendix in the final project to help with deleting rows that have missing data after you import the new file."
I know you can skip columns in CSV and text files. Is there a way in SPSS to skip columns and just import the columns I want?