rename_gcdg_gsed() translates item names in the
gcdg lexicon to item names in the gsed lexicon.
rename_gcdg_gsed(x, copy = TRUE)
A character vector containing item names in the gcdg lexicon
A logical indicating whether any unmatches names should
be copied (
The gsed-naming convention is as follows. Position 1-3 codes the instrument, position 4-5 codes the domain, position 6 codes direct/caregiver/message, positions 7-9 is a item sequence number.
The function currently support ASQ-I (aqi), Barrera-Moncade (bar), Batelle (bat), Bayley I (by1), Bayley II (by2), Bayley III (by3), Dutch Development Instrument (ddi), Denver (den), Griffith (gri), MacArthur (mac), WHO milestones (mds), Mullen (mul), pegboard (peg), South African Griffith (sgr), Stanford Binet (sbi), Tepsi (tep), Vineland (vin).
In cases where the domain of the items isn't clear (vin, bar), the domain is coded as 'xx'.
A character vector of length
length(x) with gcdg
item names replaced by gsed item name.
Iris Eekhout, Stef van Buuren
from <- c( "ag28", "gh2_19", "a14ps4", "b1m157", "mil6", "bm19", "a16fm4", "n22", "ag9", "gh6_5" ) to <- rename_gcdg_gsed(from, copy = FALSE) to
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.