- Updates Dutch BSID-III data file to
NLD/nl-bsid-2025-10-31.csvto avoid loss of age information
- Moves
data-raw/build_database_fixed.Rto thegsedscriptspackage for better visibility
- Reverts default lexicon in
read_gsed_fixed()from experimentalgsed4togsed3 - Updates script
build_database_fixed.Rto produce item names in thegsed3lexicon
- Adds
mode_sargument torepair_responses()to make mode s to SF items in The Netherlands optional
- Changes mode to "s" (self-report) for SF items collected in the Netherlands
- Transfers
gsedread::rename_vector()to thedscore(>= 1.10.4) package
-
-- CONTAINS BREAKING CHANGES
-
Repairs an error in
itemnames_translate.txtin the B43-B51 range, updates the labels -
Renames the column headers in
itemnames_translate.txtto a more consistent set -
Adds the new lexicon
gsed3toitemnames_translate.txt. The main advantage ofgsed3is that the item order conforms to the published LF and SF order (this was not the case in thegsedandgsed2lexicons). -
Changes the default lexicons in
rename_vector(). Thelexinisphase2(was 'original') andlexoutisgsed3(was 'gsed2'). You may revert to previous default by settinglexin = "phase1"andlexout = "gsed2"in calls torename_vector(). The new lexicon follows the published item order, which should prevent errors in data entry and reading. -
Updates
read_gsed_fixed()to use the new lexicongsed3.
- Extends hard trunction with three items at 12 and 18 months
- Add
hard_editsargument toread_gsed_fixed() - Repairs an error in
itemnames_translate.tsvfor "Runs well" item
- Solves an error in the item name matching between phase1 and phase2 related to the reversal of items
gpaclc089(wasgpaclc088) andgpasec088(wasgpasec089). - Updates the item name conversion table
inst/extdata/itemnames_translate.tsvto reflect the above change. - Replaces the
LOCAL_DUCKDBenvironmental variable byGSED_PHASE2indata-raw/R/build_database_fixed.Rto increase consistency with downstream scripts.
- Rereads
nl-bsid-2025-07-07.csvafter manually addingGSED_IDfield
- Updates README
- Updates package authors
- Updates LICENSE
- Documents and exports the
read_gsed_fixed()function - Adds the
repair_visits()andrepair_responses()functions to repairvisitsandresponsesdata after these have been read and combined - Shortens the main data reading script
data-raw/R/build_database_fixed.R - Expands
read_gsed_fixed()to read Phase 2 BSID data - Adds definitions for reading Phase 2 BSID data
- Adds harmonization code for Phase 2 BSID in
data-raw/R/patch_phase2_files.R - Moves argument
adminread_lf()andread_sf()to the third position
- Adds
cohortandcohortnvariables tovisits - Defines grouping factors for unique visits and responses
- Deduplicates
visitsandresponsesdata frames - Adds
phaseindicator - Adds a small TODO list to
data-raw/R/build_database_fixed.R
- Repairs function imports and pronoun use
- Replaces dplyr pipe by base R pipe |>
- Adds script
data-raw/R/build_database_fixed.Rto create duckDB datasets with fixed LF, SF and BSID administration - Adds script
data-raw/R/build_database_adaptive.Rto store adaptive SF and LF (Phase 1 only) - Adds internal
read_gsed_fixed()function to read fixed LF, SF and BSID (Phase 1 and Phase 2) data - Removes outdated
data-raw/data/Data_File_Guide.xlsx - Adds script
data-raw/R/patch_phase2_files.Rto identify and repair problem with Phase 2 LF and SF data - Specify
Latin1format to read CSV files inread_sf() - Extends
rename_vector()with an option to translate SF/LF phase 2 names
- Defines Phase 2 source file names and date formats in
read_sf()andread_lf()functions
- Adds
force_subjid_agedaysoption torename_vector()
- Adds
Correct-Phase-2-Item-order-to-Stef.tsv(dated 2024-10-22) to the package - Updates to external package changes
- Update
itemnames_translate.tsvwith correct LF1 item order
- Translate
gpalgc059intocrosec014(instead ofmdtlgd008)
- Removes variables
form,typeandvist_typefrom BSID data
- Changes the variables names of data read by
read_bsid()to ease combining with other data
- Adds a new argument
containstorename_vector()to pre-select the translation table. This argument should be used iflexin = "gsed"to evade incorrect name matches from duplicate "gsed" item names. - Adds a column called
typeto the reader functions.
- Replaces
rename_variables()by the more versatilerename_vector() - Redefines the column names of the translation table
- Adds support for renaming items from BSID
- Adds
read_bsid()for reading Bayley III data
- Adds site documentation for github-pages
- Adds
rename_variables()to obtain user-friendly variable names and to connect or create a 9-position lexicon for item names (#4)
- Stops
read_csv()babbling byverbose,progressandwarnings
- Adds
read_lf()for reading directly observed data - Improve README with more detailed installation instructions
- Renames
define_col_type()todefine_col()for clarity - Changes argument name
formtotypeindefine_col()for consistency - Makes
define_col()an internal function
- Converts the
data-raw/R/read_sfscript into the functionread_sf() - Explains the inner workings of the package in the README
- Adds a
NEWS.mdfile to track changes to the package. - Adds script
data-raw/R/read_sfwith SF data