A portion of the AddHealth dataset pulled from an archived UCI site
Source:R/datasets.R
addhealth.RdThe ADD HEALTH data are constructed from the in-school questionnaire; 90,118 students representing 84 communities took this survey in 1994-95.
Usage
data(addhealth)Format
A list of tidygraph::tbl_graph() graph objects, each corresponding
to one of the original 84 communities.
Each community graph is a directed graph with node table:
sex(factor): Sex of student, coded asmaleorfemale. Possibly missing.race(factor): Race of student, code aswhite,black,hispanic,asian, ormixed/other. Possibly missing.grade(integer): Grade of student, between 6 and 12. Possibly missing.school(factor): For communities with sister schools, the first school is coded as factorAand the second asB.
and edge table:
from(int): Id of student declaring friendto(int): Id of student declared as friendweight(int): A number from 1 to 6. See details for an explanation.
Source
Originally at http://moreno.ss.uci.edu/data.html, but ultimately accessed via https://web.archive.org/web/20210115130726/http://moreno.ss.uci.edu/data.html
Details
Some communities had only one school; others had two. Where there are two schools in a community students from one school were allowed to name friends in the other, the "sister school."
Each student was given a paper-and-pencil questionnaire and a copy of a roster listing every student in the school and, if the community had two schools, the student s provided with the roster of the "sister" school. The name generator asked about five male and five female friends separately. The question was, "List your closest (male/female) friends. List your best (male/female) friend first, then your next best friend, and so on. (girls/boys) may include (boys/girls) who are friends and (boy/girl) friends."
For each friend named, the student was asked to check off whether he/she participated in any of five activities with the friend. These activities were:
you went to (his/her) house in the last seven days.
you met (him/her) after school to hang out or go somewhere in the last seven days.
you spent time with (him/her) last weekend.
you talked with (him/her) about a problem in the last seven days.
you talked with (him/her) on the telephone in the last seven days.
These activities were summed to create a valued network. Ties range in value from 1, meaning the student nominated the friend but reported no activities, to 6, meaning the student nominated the friend and reported participating in all five activities with the friend.
Communities 1 and 48 are omitted. Community 1 is omitted due to data that does not follow the original coding scheme. Community 48 is omitted because the node attribute data was not available online at the time we pulled it.