This is a selective subset of General Social Survey 2004 data containing variables from network questions. See Details for description how this particular subset was selected. The data has a near 0 research value, it is provided to illustrate the functions in egor package.
A tibble with 499 rows and the variables listed below. Data was imported from SPSS file and are labelled. Functions in the labelled package can be used to handle them.
Design variables and weight
Ego's age in years
Ego's race. 1=white, 2=black, 3=other
Ego's sex. 1=male, 2=female
Ego's marital status. 1=married, 2=widowed, 3=divorced, 4=separated, 5=never married
Number of alters mentioned
Alter's age in years
Alter's race. 1=asian, 2=black, 3=hispanic, 4=white, 5=other
Alter's sex. 1=male, 2=female
Whether alter is a spouse of ego. 1=mentioned, 2=not mentioned
How close are the two alters according to ego. 1=especially close, 2=know each other, 3=total strangers
General Social Survey data at NORC: http://gss.norc.org/get-the-data
This dataset was created from original GSS 2004 data for illustrative
purposes such that (1) it is small and (2) contains just enough variation in
respondent's personal networks to illustrate various functions in the
package. It is essentially a stratified sample from original data (1472
cases). Strata correspond to groups of cases created from unique combinations
of values on the following ego variables:
age (3 categories),
numgiven. At most 2 cases were sampled from each stratum
via simple random sampling with replacement.