Learn R Programming

⚠️There's a newer version (1.1.1) of this package.Take me there.

eatGADS

Overview

eatGADS (educational assessment tools: GADS) is the data management and data handling tool used by the Institute for Educational Quality Improvement in Germany (IQB). It has a strong focus of handling and processing meta data.

eatGADS uses SQLite3 as a back end and is especially suited for importing data stored as SPSS files. eatDB is used for data base creating and use, haven is used for importing SPSS files.

Installation

# Install stable version from CRAN via
install.packages("eatGADS")

# Install development version from GitHub via
remotes::install_github("beckerbenj/eatGADS", build_vignettes = TRUE, dependencies = TRUE)

Vignettes

The functionality of eatGADS is extensively documented in various vignettes. If you have questions regarding existing functionality or requests for new features, contact the package author.

## See vignettes for exhaustive documentation
# overview over all vignettes
vignette(package = "eatGADS")

# see a specific vignettes
vignette("import_spss") # how to import spss data?
vignette("getGADS") # how to use a eatGADS data base?

Copy Link

Version

Install

install.packages('eatGADS')

Monthly Downloads

892

Version

1.0.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Benjamin Becker

Last Published

April 6th, 2023

Functions in eatGADS (1.0.0)

checkTrendStructure

Checks compatibility of two eatGADS data bases.
checkMissings

Check and Adjust Missing Coding
changeVarLabels

Change the variable label.
changeVarNames

Change Variable Names.
checkFormat

Check and Adjust SPSS Format
checkEmptyValLabels

Check Value Labels
checkUniqueness

Check uniqueness of a variable.
changeValLabels

Change value labels.
check4SPSS

Check SPSS Compliance of Meta Data
checkUniqueness2

Check uniqueness of a variable.
clean_cache

Clean temporary cache.
collapseMC_Text

Recode a multiple choice variable according to a character variable.
collapseColumns

Collapse two columns of a lookup table.
convertCase

Modify upper and lower case for strings.
equalGADS

Test if Two GADSdat Objects are (Nearly) Equal
cloneVariable

Clone a variable.
extractData2

Extract Data 2
composeVar

Create a composite variable.
export_tibble

Transform a GADSdat to a tibble
eatGADS

eatGADS: Data management of hierarchical SPSS files via R and SQLite
dummies2char

Transform dummy variables to character variables.
extractData

Extract Data
createNumCheck

Create data.frame for specification of numerical plausibility checks.
createVariable

Create a variable.
fac2dummies

Transform a factor variable to dummy variables.
compareGADS

Compare two GADS.
collapseMultiMC_Text

Recode multiple choice variable with multiple variables.
checkValue

Check for a specific value
checkVarNames

Check names for SQLite conventions.
fac2dummies_complex

Transform a complex factor variable to dummy variables.
fillImputations

Fill imputed values.
getChangeMeta

Extract table for Meta Data Changes.
getGADS

Get data from GADS data base.
fixEncoding

Remove special characters.
import_spss

Import SPSS data
createGADS

Create an eatGADS data base.
createLookup

Extract values for recoding.
import_raw2

Import R data frame with a explicit meta data sheet
import_raw

Import R data frame with explicit meta data sheets
import_RDS

Import RDS file
extractMeta

Get Meta Data
extractDataOld

Extract Data while merging linking errors.
import_convertLabel

Import an object imported via convertLabel
extractGADSdat

Extract single GADSdat from all_GADSdat
getTrendGADSOld

Get data for trend reports.
extractVars

Extract or remove variables from a GADSdat.
inspectMetaDifferences

Inspect differences in a variable.
getGADS_fast

Get data from GADS data base fast from server directory.
getTrendGADS

Get data for trend reports.
insertVariable

Reorder a single variable in a GADSdat.
import_stata

Import Stata data
inspectDifferences

Inspect differences in a variable.
labelsGADS

Labels from relational eatGADS data base.
import_DF

Import R data.frame
namesGADS

Variables names of a GADS.
multiChar2fac

Transform one or multiple character variables to factor.
mergeLabels

Prepare data and metadata
merge.GADSdat

Merge two GADSdat objects into a single GADSdat object.
matchValues_varLabels

Match regular expressions and variable names.
miss2NA

Recode Missings to NA
splitGADS

Split GADSdat into hierarchy levels.
reuseMeta

Use meta data for a variable from another GADSdat.
removeValLabels

Remove value labels.
stringAsNumeric

Transform string to numeric.
remove2NAchar

Shorten multiple text variables while giving NA codes.
recodeString2NA

Recode a string to NA.
orderLike

Order the variables in a GADSdat.
pisa

PISA Plus Example Data
write_spss2

Write a GADSdat object to txt and SPSS syntax
write_spss

Write a GADSdat object to a file
updateMeta

Update meta data.
recodeGADS

Recode a variable.
recode2NA

Recode a value to NA.
subImputations

Substitute imputed values.
applyChangeMeta

Apply Meta Data Changes.
calculateScale

Calculate a scale.
assimilateValLabels

Assimilate value labels.
applyLookup_expandVar

Recode via lookup table into multiple variables.
cbind.GADSdat

Bind two GADSdat objects into a single GADSdat object by columns.
applyLookup

Recode via lookup table.
autoRecode

Auto recode a variable in a GADSdat.
changeSPSSformat

Change SPSS format.
changeMissings

Change missing code.
applyNumCheck

Apply recodes according to a numerical check data.frame.