Closed burakaydin closed 1 year ago
@burakaydin did you try setting dropOmittedLevels =FALSE
in your getData()
call? By default, EdSurvey does listwise deletion (this argument defaults to TRUE
).
@pdbailey0 Thanks for the reply. I was unsure about the dropOmittedLevels argument or how GetData handles missing data in general. Because dropping omitting levels did not sound like listwise deletion. For a specific school (3600001), I get 17 rows with dropOmittedLevels =FALSE and just 1 row when it is TRUE despite most of the variables were missing completely (100%).
Best
EdSurvey 4.0.1 GetData function creates a data set with less than the expected number of rows. In the below example, I get 42520 rows with the GetData function but 52296 rows when I do it manually. I expect these numbers to be equal.