From d13dce60057c27b83ad726956ac3c75c86bb5dc0 Mon Sep 17 00:00:00 2001 From: James Hollway Date: Wed, 23 Oct 2024 11:46:01 +0200 Subject: [PATCH] Renamed ison_potter to fict_potter --- NEWS.md | 1 + R/data_ison.R | 8 +- R/measure_properties.R | 2 +- data/fict_potter.rda | Bin 0 -> 2229 bytes data/ison_potter.rda | Bin 2863 -> 0 bytes man/fict_potter.Rd | 54 ++++++++++++ man/ison_potter.Rd | 168 -------------------------------------- man/measure_properties.Rd | 2 +- 8 files changed, 61 insertions(+), 174 deletions(-) create mode 100644 data/fict_potter.rda delete mode 100644 data/ison_potter.rda create mode 100644 man/fict_potter.Rd delete mode 100644 man/ison_potter.Rd 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 0000000000000000000000000000000000000000..aa80136eccb669a5bdc17311e5fc9ed4962c52e9 GIT binary patch literal 2229 zcmV;m2uk-tT4*^jL0KkKSrush<^VMdf5iX){X|7mfBpae{m{Sf-|#>HANW84;0+%D z000000000000001@xwqg02%{8XaE2Pnl#V`KmY?qnFcs$27m)VXbk`W0MkaA0LTCU zXwx9a4FJ#pXbl0N000_j(?A&j01X;s7~!BA01W}4GynhtO&VweAOHcQOoJGjXf$Xv zXc`&-0004y003kf000;&D1s)4!T}knq{16SF*O-I4I>E1(W6Z=GBh%Np_-@eNhFiK z^N9PUCpv|A)TfB5@GxMas!W(+mRhon8nBu&!z`*Y!k93ss>>{<6<9DP7+{pjq^e4+ zs%3^4O2Y)I!G#o}s<5hMO3Mmi8D*w8Ynk8jYFr=k0r`Jgel&XrMN-C8_QmRs?I=m;?NrsFSRWQTh z233-&Sz&@zMpZs1+EyAInPpvU7-9BNSui(O$Q7e@RajOO?0D5!92Heu9KlspTnsgN zlfIS7qg8IBpq?b2M&=ks6xbv@-rsA?`I{Mg&x721Q{8hdwN$p>btIBctltqJkoWY$ zXrzdJ8^;Z2y{Wt;Qpr|GlU5i)Pm}!EBbn6VWe2K1KkRXr>cJ8k)L!pbUsjse>0IRzIMj)3{!a7Ks{Td} z)*hv0U(JWk!voZ((86HVh80w&7Fcf4>T2DwvB6rkY|BPm%$$Tso(lpFhh=5?ar8Dmb$FZ=RfY=73Z+V}OphLnHDOw?Wm2kTl~xQDmP)~v7&6(# z>#I}J^F1w&es&wP%+=1->2h*`z zabEP3wxl86K@!0cY=jCHTC|c97^EbOQH(JnA>BktK_vW-{lXFW>;_bZh$RWJR(O~) z1X84uGM*<(rQdWq)uGbtRczIx_^|6}-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x*jPU9J4dA7vxd=y@ABy_a?MRoL!5*Lm5=bYPPYXT{+(QleJR zdF6W!Ep<`uDph4uEnYSbr%M@hyv(6A;K)8hsoqQ}RbBQN7<$4dvhj>6Ql6q4wqb?_ ziZZ4dV2Hs|sWd4gbXFCCRaB`$d`O-E9+XKRnoq8>ers%eKqm$e0iG`8ig2MID$)JS DAL}zh literal 0 HcmV?d00001 diff --git a/data/ison_potter.rda b/data/ison_potter.rda deleted file mode 100644 index b5aa1dc857bb08a6e0d38861be5838a6c2cd5d76..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2863 zcmX9=X;f3!7QR3e!HXiOxhbF(cw*7qdkK%~(x(;T3JyS(K^rmR|{GH9a*?4$@7}M zr`prq-`zYnE8VL2hM`FBm+$YX?<%~qK5H&F(&S;`Z*LRim$7=*=J4*y!29k^(S_GP z4*DJ}Q*cbx<7XT$KTRQR-(|YVDm~gP`rIKhP|roc`Csm$l^+Wl3Ti&CjJTBB`>r;+ zbDcE$i<|Uc>|dS7qf%VrT`pUY^IJq?Q3Hneo+k$;w^V!)@fi=b6n?&SSpF0>!=0M> zZ^1gzkKL`mSC*Du9uq9%3+68$%`Ckex~HZ3hjME5-J9E13QCFjwLGaqCCR-;q^Zmx zx7yrIEp^Or@ATQ`cSPI4=-g}3E?Ar4#@AY9I9D&(~kw4aIo#e@lC6le;zEskcw zBoYZEbg@X1t5KmPLv=DIF+@`jDG+*P6blLwA^LHxX3I!%%Sfx-dXZVmH zX)V~2@@I>PEumxWHL%1|t=V$u5`QE&4E-pk+(tPYC#RB21`PM)4Q3ioB11&S$Wz1MdRYan%jo7TaToIcuy_0 zoc5y=?yHhQEPg5`Dp#le%WPybdDNrKk;wzTy!!d@s^2?6{6Y+L{Jy~V`?rG2N+%w2xV9&25x4GxtJu|Cu}Sv&jjKsni3 z@YS5UbKg)~afW;EIdUy8rFJWCsrK8>Sl<;rHI)r3s2Nm>fE=bdTpuZ*V;A5pbf0`z zD)qdU{7}1@noi-7wbl$Zk?Jk=<4GB}GTd*IE7P@9OiC443y9S7trn}v_)uC4$oy9P zg5k-m`9Yw?8toSF+NIYni>5i*DB8`+Ud(C6Wm6o@;I=bZ&>NVrFwgyn(DW+tTSSdB zUGjGGc2Lh?ON!%3>R|>GrS2QK0KLasMI1_Ma~@@&U95|sST9l3>t-NA2glUM?ka%J z%Nrzjm{33z_c1$HN$;p5smCA>gRm~o)Wz6KGn~|gHR*4!w(QcO6$EVtfN@ zI^?9mXC zZNb#h6cEMMH8+5C&e9x0A4B^%gdXmpVApdy9e`lZ$YY(I>fH72ai(RMN!{+=E?%%s4YDOss$uHggj3x#-5Z_wkfWYL~KY>FIL{p|glwS{zf z2eH$H(B-O}7BSiwN=@;Ykv(Cek3$VfzJveRiFMS;A_Gd)Q?O2p-e`(R$V&KR>S7|s z{u)-EsXMec9<0dypqrM(BuNS{-)WExBA5{YBC4@%_;<(FDsZTNJ0 z(B{P#`+Fr9>EWJY| zUhwH7Y2J~r37K<{3C8-_5TPZCn~OWq16cFYr9Jd@GQFfnx!4#;KIs&>lZbi*SMGb+lJ9djN6kyrJBmvcalej3Z!1;C8A!n`oPuJ+=%#>E z&a?MGy1s@9YbIrPa4#{nq&N@N9k>Wyb<`D~l!Sr(u;gkoHYrO@8g`HcBU}D_nXgGSh@rqt;c)PXn{%2E;98=Z$aAm1Qt^q4?Js*U*PhjWo^G&t&Tl9Y6pO9_@kDzzb& zf*AF<;3VS|SXWW6*gOKiuS^89qeEZwP9Rldu;d{t52E44f5CbX+9-RTf`%#3{M=DC zpXDz zvz)JeDi_b4fqZvjg5@VlrqCu4}$hz(|LB)`flubr0@4|lnb5^TvTiLnNZoL0?lQ_qPooB_}8&y7V&^WR0 N=5jlG*MC+O{TBhTRO}}\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{