Skip to content

Commit f526e08

Browse files
committed
Adding some more datasets
1 parent 6f3fa32 commit f526e08

File tree

6 files changed

+95
-0
lines changed

6 files changed

+95
-0
lines changed

R/data_highschool.R

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#' Friendship among high school boys
2+
#'
3+
#' This dataset shows the friendship among high school boys as assessed by the
4+
#' question: "What fellows here in school do you go around with most often?".
5+
#' The question was posed twice, with one year in between (1957 and 1958) and
6+
#' shows the evolution in friendship between the two timepoints.
7+
#'
8+
#' @format
9+
#' The graph is stored as an unnamed edgelist with a year attribute.
10+
#' \describe{
11+
#' \item{from}{The boy answering the question}
12+
#' \item{to}{The boy being the answer to the question}
13+
#' \item{year}{The year the friendship was reported}
14+
#' }
15+
#'
16+
#' @source
17+
#' Coleman, J. S. \emph{Introduction to Mathermatical Sociology}. New York: Free
18+
#' Press, pp.450-451.
19+
#'
20+
'highschool'

R/data_whigs.R

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#' Membership network of American Whigs
2+
#'
3+
#' This dataset shows the membership of 136 colonial Americans in 5 whig
4+
#' organization and is a bipartite graph. The data appeared in the appendix to
5+
#' David Hackett Fischer's \emph{Paul Revere's Ride} (Oxford University Press,
6+
#' 1995) and compiled by Kieran Healy for the blog post
7+
#' \href{http://kieranhealy.org/blog/archives/2013/06/09/using-metadata-to-find-
8+
#' paul-revere/}{Using Metadata to Find Paul Revere}.
9+
#'
10+
#' @format
11+
#' The data is stored as an incidence matrix with persons as rows and
12+
#' organizations as columns. A 0 means no membership while a one means
13+
#' membership.
14+
#'
15+
#' @source \url{https://github.com/kjhealy/revere/blob/master/data/PaulRevereAppD.csv}
16+
#' adapted from:
17+
#'
18+
#' Fischer, David H. (1995) \emph{Paul Revere's Ride}. Oxford University Press
19+
#'
20+
'whigs'

data/highschool.rda

889 Bytes
Binary file not shown.

data/whigs.rda

3.15 KB
Binary file not shown.

man/highschool.Rd

+27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/whigs.Rd

+28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)