-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
88 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package: historydata | ||
Title: historydata: datasets for historians | ||
Version: 0.1.9008 | ||
Version: 0.1.9009 | ||
Authors@R: c(person("Lincoln", "Mullen", | ||
role = c("aut", "cre"), | ||
email = "[email protected]")) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#' Tudor dynasty | ||
#' | ||
#' Spousal and parent/child relationships among selected members of the Tudor | ||
#' dynasty, suitable for network analysis. | ||
#' | ||
#' @section Variables: | ||
#' | ||
#' \itemize{ | ||
#' | ||
#' \item \code{person_1}, \code{person_2}: The two people in the relationship. | ||
#' | ||
#' \item \code{relationship}: The type of relationship. } | ||
#' | ||
#' @format A data frame with 35 observations of 3 variables. | ||
#' @examples | ||
#' data(tudors) | ||
"tudors" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
library(dplyr) | ||
library(devtools) | ||
tudors <- read.csv("data-raw/tudors.csv", stringsAsFactors = FALSE) %>% | ||
tbl_df | ||
use_data(tudors, overwrite = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
person_1,person_2,relationship | ||
Henry VII,Elizabeth of York,spouse | ||
Arthur Tudor,Catharine of Aragon,spouse | ||
Henry VIII,Catharine of Aragon,spouse | ||
Henry VIII,Anne Boleyn,spouse | ||
Henry VIII,Jane Seymour,spouse | ||
Henry VIII,Anne of Cleves,spouse | ||
Henry VIII,Katherine Howard,spouse | ||
Henry VIII,Catherine Parr,spouse | ||
Margaret Tudor,James IV,spouse | ||
Mary Tudor,Louis XII,spouse | ||
Mary Tudor,Charles Duke of Suffok,spouse | ||
James V,Mary of Guise,spouse | ||
Mary Queen of Scots,Frances II of France,spouse | ||
Mary Queen of Scots,Henry Lord Darnley,spouse | ||
Mary I,Philip II,spouse | ||
Arthur Tudor,Henry VII,child | ||
Arthur Tudor,Elizabeth of York,child | ||
Henry VIII,Henry VII,child | ||
Henry VIII,Elizabeth of York,child | ||
Margaret Tudor,Henry VII,child | ||
Margaret Tudor,Elizabeth of York,child | ||
Mary Tudor,Henry VII,child | ||
Mary Tudor,Elizabeth of York,child | ||
James V,James IV,child | ||
James V,Margaret Tudor,child | ||
Mary Queen of Scots,Mary of Guise,child | ||
Mary Queen of Scots,James V,child | ||
James VI/I,Mary Queen of Scots,child | ||
James VI/I,Henry Lord Darnley,child | ||
Mary I,Catharine of Aragon,child | ||
Mary I,Henry VIII,child | ||
Elizabeth I,Anne Boleyn,child | ||
Elizabeth I,Henry VIII,child | ||
Edward VI,Jane Seymour,child | ||
Edward VI,Henry VIII,child |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
% Generated by roxygen2 (4.0.2): do not edit by hand | ||
\docType{data} | ||
\name{tudors} | ||
\alias{tudors} | ||
\title{Tudor dynasty} | ||
\format{A data frame with 35 observations of 3 variables.} | ||
\usage{ | ||
tudors | ||
} | ||
\description{ | ||
Spousal and parent/child relationships among selected members of the Tudor | ||
dynasty, suitable for network analysis. | ||
} | ||
\section{Variables}{ | ||
|
||
|
||
\itemize{ | ||
|
||
\item \code{person_1}, \code{person_2}: The two people in the relationship. | ||
|
||
\item \code{relationship}: The type of relationship. } | ||
} | ||
\examples{ | ||
data(tudors) | ||
} | ||
\keyword{datasets} | ||
|