Weights adjust survey responses, when producing survey statistics.
This article looks at R code for applying survey weights. We find the difference that applying those weights make.
Importing the data
This article uses European Social Survey data for the United Kingdom. NatCen conducted the ninth wave, interviewing 2,204 UK adults aged 15 or over. These face-to-face interviews were between 31st August 2018 and 22nd February 2019.