I have recently learnt the command dput()
thanks to SO users. The issue now is that I don't understand the output. I am wanting to understand the data for my variable edu.deg.level. I can see there are 10 values in a list format but I do not understand what 1L, 0L mean or what they are assigned to. Here's the code:
> dput(head(df1,10))
structure(list(edu.degree.level = c(1L, 0L, 1L, 1L, 0L, 1L, 1L,
1L, 1L, 0L), immig.view = structure(c(7, 4, 5, 1, 7, 5, 7, 1, 3, 1),
label = "J1 Do you think immigration is good or bad for Britain's economy?",
labels = c(`Not stated` = -999,
`Don`t know` = -1, `1 Bad for economy` = 1, `2` = 2, `3` = 3,
`4` = 4, `5` = 5, `6` = 6, `7 Good for economy` = 7), class = "haven_labelled")),
row.names = c(NA, 10L), class = "data.frame")
Many thanks!