Skip to content

Commit 092eb1f

Browse files
committed
Add gcdg_chn data
1 parent 3ab4443 commit 092eb1f

5 files changed

Lines changed: 1209 additions & 2 deletions

File tree

R/gcdg_chn.R

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
#' China, 1.4-1.9 years: `gcdg_chn`
2+
#'
3+
#' A dataset with developmental scores at the item level for
4+
#' 990 unique children.
5+
#'
6+
#' Instruments: Bayley III (`by3`)
7+
#'
8+
#' @docType data
9+
#' @format A `data.frame` with 990 rows and 83 variables:
10+
#'
11+
#'|Name |Type |Label |
12+
#'|:-----------|:----|:-------------------------------------------------------|
13+
#'| `ctrcd` | chr | Country code (ISO 3166-1 alpha-3) |
14+
#'| `cohort` | chr | Cohort name |
15+
#'| `cohortn` | chr | Cohort number |
16+
#'| `subjid` | int | Child number |
17+
#'| `agedays` | int | Age (days) |
18+
#'| `sex` | chr | Either `"male"` or `"female"` |
19+
#'| `gagebrth` | int | Gestational age (days) |
20+
#'|`by3cgd025` |0/1 |Searches for fallen object |
21+
#'|`by3cgd026` |0/1 |Bell Series: Manipulates |
22+
#'|`by3cgd027` |0/1 |Picks Up Block Series: Reaches for second block |
23+
#'|`by3cgd028` |0/1 |Pulls cloth to obtain object |
24+
#'|`by3cgd029` |0/1 |Pulls string adaptively |
25+
#'|`by3cgd030` |0/1 |Retains both blocks |
26+
#'|`by3cgd031` |0/1 |Bell Series: Rings purposely |
27+
#'|`by3cgd032` |0/1 |Looks at pictures |
28+
#'|`by3cgd033` |0/1 |Picks Up Block Series: Retains 2 of 3 blocks |
29+
#'|`by3cgd034` |0/1 |Searches for missing objects |
30+
#'|`by3cgd035` |0/1 |Takes blocks out of cup |
31+
#'|`by3cgd036` |0/1 |Block Series: 1 Block |
32+
#'|`by3cgd037` |0/1 |Picks up Block Series: 3 blocks |
33+
#'|`by3cgd038` |0/1 |Explores holes in pegboard |
34+
#'|`by3cgd039` |0/1 |Pushes car |
35+
#'|`by3cgd040` |0/1 |Finds hidden object |
36+
#'|`by3cgd041` |0/1 |Suspends ring |
37+
#'|`by3cgd042` |0/1 |Removes pellet |
38+
#'|`by3cgd043` |0/1 |Clear Box: Front |
39+
#'|`by3cgd044` |0/1 |Squeezes object |
40+
#'|`by3cgd045` |0/1 |Finds hidden object (Reversed) |
41+
#'|`by3cgd046` |0/1 |Removes lid from bottle |
42+
#'|`by3cgd047` |0/1 |Pegboard Series: 2 holes |
43+
#'|`by3cgd048` |0/1 |Relational Play Series: Self |
44+
#'|`by3cgd049` |0/1 |Pink Board Series: 1 piece |
45+
#'|`by3cgd050` |0/1 |Finds hidden object (Visible Displacement) |
46+
#'|`by3cgd051` |0/1 |Blue Board Series: 1 piece |
47+
#'|`by3cgd052` |0/1 |Clear Box: Sides |
48+
#'|`by3cgd053` |0/1 |Relational Play Series: Others |
49+
#'|`by3cgd054` |0/1 |Block Series: 9 Blocks |
50+
#'|`by3cgd055` |0/1 |Pegboard Series: 6 Pegs |
51+
#'|`by3cgd056` |0/1 |Pink Board Series: Completes |
52+
#'|`by3cgd057` |0/1 |Uses pencil to obtain object |
53+
#'|`by3cgd058` |0/1 |Blue Board Series: 4 Pieces |
54+
#'|`by3cgd059` |0/1 |Attends to story |
55+
#'|`by3cgd060` |0/1 |Rotated pink board |
56+
#'|`by3cgd061` |0/1 |Object assembly (Ball) |
57+
#'|`by3cgd062` |0/1 |Completes Pegboard: 25 Seconds |
58+
#'|`by3cgd063` |0/1 |Object assembly (Ice Cream Cone) |
59+
#'|`by3cgd064` |0/1 |Matches pictures |
60+
#'|`by3cgd065` |0/1 |Representational play |
61+
#'|`by3cgd066` |0/1 |Blue Board Series: Completes (75 seconds) |
62+
#'|`by3cgd067` |0/1 |Imitates a two-step action. |
63+
#'|`by3cgd068` |0/1 |Matches 3 colors |
64+
#'|`by3cgd069` |0/1 |Imaginary play |
65+
#'|`by3cgd070` |0/1 |Understands concept of one |
66+
#'|`by3cgd071` |0/1 |Multischeme combination play |
67+
#'|`by3cgd072` |0/1 |Concept Grouping: colour |
68+
#'|`by3cgd073` |0/1 |Concept Grouping: Size |
69+
#'|`by3fmd019` |0/1 |Transfers ring |
70+
#'|`by3fmd020` |0/1 |Food Pellet Series: Whole hand grasp |
71+
#'|`by3fmd021` |0/1 |Transfers block |
72+
#'|`by3fmd022` |0/1 |Block Series: Thumb-fingertip grasp |
73+
#'|`by3fmd023` |0/1 |Brings spoons or blocks to midline |
74+
#'|`by3fmd024` |0/1 |Food Pellet Series: Partial thumb opposition |
75+
#'|`by3fmd025` |0/1 |Lifts cup by the handle |
76+
#'|`by3fmd026` |0/1 |Food Pellet Series: Thumb-fingertip grasp |
77+
#'|`by3fmd027` |0/1 |Turns pages of books |
78+
#'|`by3fmd028` |0/1 |Grasp series: Palmar grasp |
79+
#'|`by3fmd029` |0/1 |Isolates extended ring finger |
80+
#'|`by3fmd030` |0/1 |Scribbles spontaneously |
81+
#'|`by3fmd031` |0/1 |Block Stacking Series: 2 blocks |
82+
#'|`by3fmd032` |0/1 |Imitates Stroke Series: Random |
83+
#'|`by3fmd033` |0/1 |Places 10 pellets in bottle (60 seconds) |
84+
#'|`by3fmd034` |0/1 |Grasp series: Transitional grasp |
85+
#'|`by3fmd035` |0/1 |Coins in slot |
86+
#'|`by3fmd036` |0/1 |Connecting Blocks: Apart |
87+
#'|`by3fmd037` |0/1 |Grasp Series: Intermediate (Tripod) grasp |
88+
#'|`by3fmd038` |0/1 |Block stacking Series: 6 blocks |
89+
#'|`by3fmd039` |0/1 |Uses hand to hold paper in place |
90+
#'|`by3fmd040` |0/1 |Imitates Strokes Series: Horizontal |
91+
#'|`by3fmd041` |0/1 |Imitates Strokes Series: Vertical |
92+
#'|`by3fmd042` |0/1 |Connecting Blocks: Together |
93+
#'|`by3fmd043` |0/1 |Imitates Strokes Series: Circular |
94+
#'|`by3fmd044` |0/1 |Builds train of blocks |
95+
#'|`by3fmd045` |0/1 |Strings 3 blocks |
96+
#' @references
97+
#' Lozoff B, Jiang Y, Li X, Zhou M, Richards B, Xu G, Clark KM, Liang F,
98+
#' Kaciroti N, Zhao G. Low-dose iron supplementation in infancy modestly
99+
#' increases infant iron status at 9 mo without decreasing growth or increasing
100+
#' illness in a randomized clinical trial in rural China.
101+
#' The Journal of nutrition. 2016;146:612-621.
102+
#' \url{https://academic.oup.com/jn/article/146/3/612/4578262}
103+
"gcdg_chn"

data-raw/R/readdata.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
library(readr)
22

3-
studies <- c("gcdg_chl_1", "gcdg_col_lt42m", "gcdg_col_lt45m", "gcdg_ecu",
3+
studies <- c("gcdg_chl_1", "gcdg_chn", "gcdg_col_lt42m", "gcdg_col_lt45m", "gcdg_ecu",
44
"gcdg_jam_lbw", "gcdg_jam_stunted", "gcdg_mdg", "gcdg_nld_smocc",
55
"gcdg_zaf")
66
paths <- file.path("data-raw", "data", paste(studies, "txt", sep = "."))
@@ -15,6 +15,6 @@ for (k in 1:length(studies)) {
1515
assign(studies[k], data[[studies[k]]])
1616
}
1717

18-
usethis::use_data(gcdg_chl_1, gcdg_col_lt42m, gcdg_col_lt45m, gcdg_ecu,
18+
usethis::use_data(gcdg_chl_1, gcdg_chn, gcdg_col_lt42m, gcdg_col_lt45m, gcdg_ecu,
1919
gcdg_jam_lbw, gcdg_jam_stunted, gcdg_mdg, gcdg_nld_smocc,
2020
gcdg_zaf, overwrite = TRUE)

0 commit comments

Comments
 (0)