Changelog
Source:NEWS.md
gsedread 0.22.0
- Adds
mode_s
argument torepair_responses()
to make mode s to SF items in The Netherlands optional
gsedread 0.19.0
– CONTAINS BREAKING CHANGES
Repairs an error in
itemnames_translate.txt
in the B43-B51 range, updates the labelsRenames the column headers in
itemnames_translate.txt
to a more consistent setAdds the new lexicon
gsed3
toitemnames_translate.txt
. The main advantage ofgsed3
is that the item order conforms to the published LF and SF order (this was not the case in thegsed
andgsed2
lexicons).Changes the default lexicons in
rename_vector()
. Thelexin
isphase2
(was ‘original’) andlexout
isgsed3
(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
.
gsedread 0.18.0
- Extends hard trunction with three items at 12 and 18 months
- Add
hard_edits
argument toread_gsed_fixed()
- Repairs an error in
itemnames_translate.tsv
for “Runs well” item
gsedread 0.17.0
- 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.tsv
to reflect the above change. - Replaces the
LOCAL_DUCKDB
environmental variable byGSED_PHASE2
indata-raw/R/build_database_fixed.R
to increase consistency with downstream scripts.
gsedread 0.15.0
- Updates README
- Updates package authors
- Updates LICENSE
- Documents and exports the
read_gsed_fixed()
function - Adds the
repair_visits()
andrepair_responses()
functions to repairvisits
andresponses
data 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
adm
inread_lf()
andread_sf()
to the third position
gsedread 0.14.0
- Adds
cohort
andcohortn
variables tovisits
- Defines grouping factors for unique visits and responses
- Deduplicates
visits
andresponses
data frames - Adds
phase
indicator - Adds a small TODO list to
data-raw/R/build_database_fixed.R
gsedread 0.12.0
- Adds script
data-raw/R/build_database_fixed.R
to create duckDB datasets with fixed LF, SF and BSID administration - Adds script
data-raw/R/build_database_adaptive.R
to 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.R
to identify and repair problem with Phase 2 LF and SF data - Specify
Latin1
format to read CSV files inread_sf()
- Extends
rename_vector()
with an option to translate SF/LF phase 2 names
gsedread 0.9.0
- Adds
Correct-Phase-2-Item-order-to-Stef.tsv
(dated 2024-10-22) to the package - Updates to external package changes
gsedread 0.7.0
- Changes the variables names of data read by
read_bsid()
to ease combining with other data
gsedread 0.6.1
- Adds a new argument
contains
torename_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
type
to the reader functions.
gsedread 0.6.0
- Replaces
rename_variables()
by the more versatilerename_vector()
- Redefines the column names of the translation table
gsedread 0.5.0
- Adds
read_bsid()
for reading Bayley III data
gsedread 0.3.2
- Adds
rename_variables()
to obtain user-friendly variable names and to connect or create a 9-position lexicon for item names (#4)
gsedread 0.3.0
- Adds
read_lf()
for reading directly observed data - Improve README with more detailed installation instructions
gsedread 0.2.1
- Renames
define_col_type()
todefine_col()
for clarity - Changes argument name
form
totype
indefine_col()
for consistency - Makes
define_col()
an internal function
gsedread 0.2.0
- Converts the
data-raw/R/read_sf
script into the functionread_sf()
- Explains the inner workings of the package in the README