diff --git a/NEWS.md b/NEWS.md index c8f48b81..5acb9e7a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -87,6 +87,7 @@ mileage may vary - Renamed `ison_greys` to `fict_greys`, added info - Renamed `ison_lotr` to `fict_lotr`, added info - Renamed `ison_thrones` to `fict_thrones`, added info and some additional nodal attributes +- Renamed `ison_potter` to `fict_potter`, added info and combined waves into single object # manynet 1.2.6 diff --git a/R/data_ison.R b/R/data_ison.R index 01462729..7af77cc0 100644 --- a/R/data_ison.R +++ b/R/data_ison.R @@ -484,8 +484,8 @@ #' gender, and their house assigned by the sorting hat are included. #' @docType data #' @keywords datasets -#' @name ison_potter -#' @usage data(ison_potter) +#' @name fict_potter +#' @usage data(fict_potter) #' @references #' Bossaert, Goele and Nadine Meidert (2013). #' "'We are only as strong as we are united, as weak as we are divided'. A dynamic analysis of the peer support networks in the Harry Potter books." @@ -493,9 +493,9 @@ #' \doi{10.4236/ojapps.2013.32024} #' @format #' ```{r, echo = FALSE} -#' ison_potter +#' fict_potter #' ``` -"ison_potter" +"fict_potter" ## Game of Thrones #### diff --git a/R/measure_properties.R b/R/measure_properties.R index 73eb3cfe..d33b14f3 100644 --- a/R/measure_properties.R +++ b/R/measure_properties.R @@ -95,7 +95,7 @@ net_dims.network <- function(.data){ #' @rdname measure_properties #' @importFrom igraph vertex_attr_names #' @examples -#' net_node_attributes(ison_lotr) +#' net_node_attributes(fict_lotr) #' @export net_node_attributes <- function(.data){ igraph::vertex_attr_names(as_igraph(.data)) diff --git a/data/fict_potter.rda b/data/fict_potter.rda new file mode 100644 index 00000000..aa80136e Binary files /dev/null and b/data/fict_potter.rda differ diff --git a/data/ison_potter.rda b/data/ison_potter.rda deleted file mode 100644 index b5aa1dc8..00000000 Binary files a/data/ison_potter.rda and /dev/null differ diff --git a/man/fict_potter.Rd b/man/fict_potter.Rd new file mode 100644 index 00000000..295612f8 --- /dev/null +++ b/man/fict_potter.Rd @@ -0,0 +1,54 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/data_ison.R +\docType{data} +\name{fict_potter} +\alias{fict_potter} +\title{Six complex one-mode support data in Harry Potter books (Bossaert and Meidert 2013)} +\format{ +\if{html}{\out{
}}\preformatted{#> # Harry Potter +#> # A longitudinal, labelled, complex, directed network of 64 students and 544 +#> support arcs +#> # A tibble: 64 x 4 +#> name schoolyear gender house +#> +#> 1 Adrian Pucey 1989 male Slytherin +#> 2 Alicia Spinnet 1989 female Gryffindor +#> 3 Angelina Johnson 1989 female Gryffindor +#> 4 Anthony Goldstein 1991 male Ravenclaw +#> 5 Blaise Zabini 1991 male Slytherin +#> 6 C. Warrington 1989 male Slytherin +#> # i 58 more rows +#> # A tibble: 544 x 3 +#> from to wave +#> +#> 1 2 2 2 +#> 2 2 2 3 +#> 3 2 2 5 +#> 4 2 3 2 +#> 5 2 3 3 +#> 6 2 3 5 +#> # i 538 more rows +}\if{html}{\out{
}} +} +\usage{ +data(fict_potter) +} +\description{ +Goele Bossaert and Nadine Meidert coded peer support ties among 64 characters +in the Harry Potter books. +Each author coded four of seven books using NVivo, +with the seventh book coded by both and serving to assess inter-rater reliability. +The first six books concentrated on adolescent interactions, +were studied in their paper, and are made available here. +The peer support ties mean voluntary emotional, instrumental, or informational support, +or praise from one living, adolescent character to another within the book's pages. +In addition, nodal attributes name, schoolyear (which doubles as their age), +gender, and their house assigned by the sorting hat are included. +} +\references{ +Bossaert, Goele and Nadine Meidert (2013). +"'We are only as strong as we are united, as weak as we are divided'. A dynamic analysis of the peer support networks in the Harry Potter books." +\emph{Open Journal of Applied Sciences}, 3(2): 174-185. +\doi{10.4236/ojapps.2013.32024} +} +\keyword{datasets} diff --git a/man/ison_potter.Rd b/man/ison_potter.Rd deleted file mode 100644 index e67885de..00000000 --- a/man/ison_potter.Rd +++ /dev/null @@ -1,168 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/data_ison.R -\docType{data} -\name{ison_potter} -\alias{ison_potter} -\title{Six complex one-mode support data in Harry Potter books (Bossaert and Meidert 2013)} -\format{ -\if{html}{\out{
}}\preformatted{#> $book1 -#> # A labelled, complex, directed network of 64 nodes and 47 arcs -#> # A tibble: 64 x 4 -#> name schoolyear gender house -#> -#> 1 Adrian Pucey 1989 male Slytherin -#> 2 Alicia Spinnet 1989 female Gryffindor -#> 3 Angelina Johnson 1989 female Gryffindor -#> 4 Anthony Goldstein 1991 male Ravenclaw -#> 5 Blaise Zabini 1991 male Slytherin -#> 6 C. Warrington 1989 male Slytherin -#> # i 58 more rows -#> # A tibble: 47 x 2 -#> from to -#> -#> 1 11 11 -#> 2 11 25 -#> 3 11 26 -#> 4 11 44 -#> 5 11 56 -#> 6 11 58 -#> # i 41 more rows -#> -#> $book2 -#> # A labelled, complex, directed network of 64 nodes and 110 arcs -#> # A tibble: 64 x 4 -#> name schoolyear gender house -#> -#> 1 Adrian Pucey 1989 male Slytherin -#> 2 Alicia Spinnet 1989 female Gryffindor -#> 3 Angelina Johnson 1989 female Gryffindor -#> 4 Anthony Goldstein 1991 male Ravenclaw -#> 5 Blaise Zabini 1991 male Slytherin -#> 6 C. Warrington 1989 male Slytherin -#> # i 58 more rows -#> # A tibble: 110 x 2 -#> from to -#> -#> 1 2 2 -#> 2 2 3 -#> 3 2 19 -#> 4 2 20 -#> 5 2 25 -#> 6 2 26 -#> # i 104 more rows -#> -#> $book3 -#> # A labelled, complex, directed network of 64 nodes and 104 arcs -#> # A tibble: 64 x 4 -#> name schoolyear gender house -#> -#> 1 Adrian Pucey 1989 male Slytherin -#> 2 Alicia Spinnet 1989 female Gryffindor -#> 3 Angelina Johnson 1989 female Gryffindor -#> 4 Anthony Goldstein 1991 male Ravenclaw -#> 5 Blaise Zabini 1991 male Slytherin -#> 6 C. Warrington 1989 male Slytherin -#> # i 58 more rows -#> # A tibble: 104 x 2 -#> from to -#> -#> 1 2 2 -#> 2 2 3 -#> 3 2 19 -#> 4 2 20 -#> 5 2 25 -#> 6 2 26 -#> # i 98 more rows -#> -#> $book4 -#> # A labelled, complex, directed network of 64 nodes and 49 arcs -#> # A tibble: 64 x 4 -#> name schoolyear gender house -#> -#> 1 Adrian Pucey 1989 male Slytherin -#> 2 Alicia Spinnet 1989 female Gryffindor -#> 3 Angelina Johnson 1989 female Gryffindor -#> 4 Anthony Goldstein 1991 male Ravenclaw -#> 5 Blaise Zabini 1991 male Slytherin -#> 6 C. Warrington 1989 male Slytherin -#> # i 58 more rows -#> # A tibble: 49 x 2 -#> from to -#> -#> 1 7 7 -#> 2 7 8 -#> 3 7 25 -#> 4 8 8 -#> 5 8 25 -#> 6 9 9 -#> # i 43 more rows -#> -#> $book5 -#> # A labelled, complex, directed network of 64 nodes and 160 arcs -#> # A tibble: 64 x 4 -#> name schoolyear gender house -#> -#> 1 Adrian Pucey 1989 male Slytherin -#> 2 Alicia Spinnet 1989 female Gryffindor -#> 3 Angelina Johnson 1989 female Gryffindor -#> 4 Anthony Goldstein 1991 male Ravenclaw -#> 5 Blaise Zabini 1991 male Slytherin -#> 6 C. Warrington 1989 male Slytherin -#> # i 58 more rows -#> # A tibble: 160 x 2 -#> from to -#> -#> 1 2 2 -#> 2 2 3 -#> 3 2 19 -#> 4 2 20 -#> 5 2 25 -#> 6 2 29 -#> # i 154 more rows -#> -#> $book6 -#> # A labelled, complex, directed network of 64 nodes and 74 arcs -#> # A tibble: 64 x 4 -#> name schoolyear gender house -#> -#> 1 Adrian Pucey 1989 male Slytherin -#> 2 Alicia Spinnet 1989 female Gryffindor -#> 3 Angelina Johnson 1989 female Gryffindor -#> 4 Anthony Goldstein 1991 male Ravenclaw -#> 5 Blaise Zabini 1991 male Slytherin -#> 6 C. Warrington 1989 male Slytherin -#> # i 58 more rows -#> # A tibble: 74 x 2 -#> from to -#> -#> 1 11 11 -#> 2 11 25 -#> 3 11 56 -#> 4 11 58 -#> 5 12 12 -#> 6 14 14 -#> # i 68 more rows -}\if{html}{\out{
}} -} -\usage{ -data(ison_potter) -} -\description{ -Goele Bossaert and Nadine Meidert coded peer support ties among 64 characters -in the Harry Potter books. -Each author coded four of seven books using NVivo, -with the seventh book coded by both and serving to assess inter-rater reliability. -The first six books concentrated on adolescent interactions, -were studied in their paper, and are made available here. -The peer support ties mean voluntary emotional, instrumental, or informational support, -or praise from one living, adolescent character to another within the book's pages. -In addition, nodal attributes name, schoolyear (which doubles as their age), -gender, and their house assigned by the sorting hat are included. -} -\references{ -Bossaert, Goele and Nadine Meidert (2013). -"'We are only as strong as we are united, as weak as we are divided'. A dynamic analysis of the peer support networks in the Harry Potter books." -\emph{Open Journal of Applied Sciences}, 3(2): 174-185. -\doi{10.4236/ojapps.2013.32024} -} -\keyword{datasets} diff --git a/man/measure_properties.Rd b/man/measure_properties.Rd index 18f2e109..519a2eab 100644 --- a/man/measure_properties.Rd +++ b/man/measure_properties.Rd @@ -56,7 +56,7 @@ net_nodes(ison_southern_women) net_ties(ison_southern_women) net_dims(ison_southern_women) net_dims(to_mode1(ison_southern_women)) - net_node_attributes(ison_lotr) + net_node_attributes(fict_lotr) net_tie_attributes(ison_algebra) } \seealso{