# Load library
library(tidyverse)
# Import data
social_media = read_csv(file = "https://raw.githubusercontent.com/zief0002/epsy-5261/main/data/social-media.csv")
# View data
social_mediasocial-media.csv
The Olympic Games are an international multi-sport event held every four years in which thousands of athletes from around the world participate in various sports competitions. The social-media are one of the most significant and prestigious sporting events globally, promoting unity, friendship, and fair play among nations.
The data in social-media.csv includes information about college students who were enrolled in a study to examine whether social media use negatively impacts mental health. Prior to the study, participants were administered a series of surveys specifically designed to measure constructs such as depression, loneliness, fear of missing out, anxiety, and self acceptance. These served as baseline measures of mental health.
The attributes included in the data are:
id: An ID number associated with each participantdepression: Participant’s baseline measure of depression (Yes = Depressed, No = Not depressed)loneliness: Participant’s baseline score on the loneliness scale. Higher values indicate more loneliness.
Preview
# A tibble: 24 × 3
id depression loneliness
<dbl> <chr> <dbl>
1 1 no 38
2 2 yes 40
3 3 yes 38
4 4 no 37
5 5 yes 38
6 6 no 35
7 7 no 37
8 8 yes 39
9 9 yes 37
10 10 no 40
# ℹ 14 more rows