Changes in version 4.1.0 DATA UPDATES o This version now supports 2024 NAEP restricted use data. o This version includes improved support for PISA 2022 download and read-in functions for main domains including mathematics, reading and science. This functionality is currently experimental. NEW FEATURES o This version works with the new Dire version 3.0 package that is much faster. The parallel processing option was removed because it no longer works with the new mml call. OTHER UPDATES o When summarizing the result of a call to lm.sdf, standardized regression coefficients were adjusted to allow the user to standardize just the outcome, just the predictor, or both. More details are documented in the EdSurvey User’s Guide. For backwards compatibility, the function still accepts logical arguments (which turn on/off the "both" option). o Due to superior simulations results, the drawPVs function always uses stochasticBeta argument set to TRUE now. This is consistent with the results that we will share at NCME 2025. o The Introduction.Rmd was expanded and now uses the helper package tidyEdSurvey for tidyverse package integration. o Exhaustive testing has been overhauled, with most tests now removed from CRAN testing. The majority of internal testing is conducted before release. This speeds up the CRAN testing and also makes the package smaller on disk. o The EdSurvey package previously worked around a bug in the LaF package that was fixed in 0.8.6. This version work only with 0.8.6, so an update to LaF is required. BUG FIXES o mixed.sdf, mvrlm.sdf, and rq.sdf now use dropOmittedLevels like the rest of the EdSurvey package. Previously, using them would lead to an error. Changes in version 4.0.8 NEW FEATURES o the summary of an lm.sdf now allows the standardized regression coefficients that standardize only the numerator or denominator. This is more natural for survey responses where the standard deviation is not entirely intuitive. The src argument can now be set to character levels of both to get the current behavior and return a typical standardized regression coefficient, outcome to standardize just with respect to the outcomes, or coef to standardized just with respect to the coefficients. DATA UPDATES o lm.sdf and glm.sdf now allow users to put plausible values on the right side of the regression equation. o The coefficient of determination formula was updated to apply Fisher Z-transformation and aggregation of $R^2$ values. This causes a slight difference in the $R^2$ estimates compared to earlier versions. o readNAEP now supports mml.sdf for more subjects (e.g., NAEP Science) when the xml file does not specify a composite but there is one. BUG FIXES o readICILS now works properly for more 2023 data by readin in replicate weights 1 to 9 which were being skipped. Changes in version 4.0.7 (2024-06-27) UPDATES o readNAEP function now supports analyzing the following NAEP data products: 1. the main NAEP data up to 2022 2. NAEP long-term trend data up to 2023 3. the 2022 Monthly School Survey (MSS) Linking Study 4. the 2021 School and Teacher Questionnaire Special Study. BUG FIXES o [[<- assignment did not previously work with an edsurvey.data.frame object. This causes issues when defining new columns with a few possible methods that resulted in newly defined columns not being returned by getData. Thanks to Tao Jiang for identifying this bug. Changes in version 4.0.6 (2024-05-21) UPDATES o allow rounding by default when printing results after the user either set options(EdSurvey_round_output=TRUE) or calls the print function on an EdSurvey object with the argument use_es_round=TRUE. See ?es_round for details. o added support for PISA 2022, this support was contributed and not tested by the EdSurvey team. o added support for ICILS 2023, this support was contributed and not tested by the EdSurvey team. Thanks to Jeppe Bundsgaard for the contirbution! o in every EdSurvey function omittedLevels is deprecated. It is replacted by dropOmittedLevels which works in the same way. o allow Matrix 1-5-4.1 after testing to allower older R versions on Mac OS. MINOR o in example code, all arguments are now named o the vignette now sends users directly to the EdSurvey book [Analyzing NCES Data Using EdSurvey: A User's Guide](https://naep-research.airprojects.org/portals/0/edsurvey_a_users_guide/_book/index.html). o replace 1:length(object) with seq_along(object) in the entire package o decreased size of file by removing unused files, such as unused files from old tests o the test file size is decreased on many larger files Changes in version 4.0.4 (2023-10-27) UPDATES o upated to pass CRAN checks, cbind and rbind are nolonger explicitly exported. Apparently this changed in R 4.0.0 and we were behind the times. The load message is not shorter because we do not export these functions. o similarly subset is nolonger exported but is instead implemented. Becuase of that there is no documentation for it now, but it works as the original subset works and adds an inside argument that prevents substitute from being called on the subset argument as recomended in Advanced R (Wickham, 2014). o `downloadPIRLS` and `readPIRLS` were updated to include PIRLS 2021 data o updated subscale mappings for TIMSS to allow for four-character subscale names to be used with mml.sdf for all subscales across grade, subject, and year o exported readHSTS BUG FIXES o readNAEP used to read in a non-existant weight named weight in rare instances. This is now fixed. o fixed bug where mml.sdf produced an error if there were not polytomous items associated with the subscale. Changes in version 4.0.0 UPDATES o the argument omittedLevels has been deprecated and replaced with dropOmittedLevels for clarity. o mml.sdf now allows users to select composite=TRUE for TIMSS after recoding the testData to indicate the test. o mml.sdf now gives clearer warnings when there are no records with assessment data or no students with valid covariate data. o when 2019 TIMSS data was used with mml.sdf only the digital items were included. EdSurvey reads in the eTIMSS data for eTIMSS countries and the paper data for countries that took only paper TIMSS. With this fix mml.sdf can be used in countries that used paper TIMSS in 2019. o fixed a bug which made it impossible to do analysis on a light.edsurvey.data.frame after calling rebindAttributes when using TALIS (and any other data with no plausible values) thanks to Anders Astrup Christensen for documenting the bug. Changes in version 3.1.0 (2023-03-21) UPDATES o fix an issue where lm and glm were marked as generic functions to fix CRAN checks. o readNAEP can now read in the NAEP metadata from an xml file or an fr2 file (the former is new). This change should be transparent to the user, but users wishing to specify the use of the XML file can use the xmlPath argument (see ?readNAEP). BUG FIXES o achivementLevels now returns number of rows on the data as nPSU when there are not PSU/stratum vars (e.g., for Germany in the PIACC data). o achivementLevels now raise an error if any aggregation variable is continuous. o fixed multicore in mml.sdf. Changes in version 3.0.2 (2023-01-11) UPDATES o readNAEP now will attempt to read IRT parameters from the AM folder's .dct file if not found in NAEPirtparams package. o mml.sdf now returns the scored data. o edsurveyTable now returns when a line has n=1 respondents on it o cor.sdf now works with logical variables. o readNAEP can now utilize the NAEPEX .XML layout file as an alternative method to the .FR2 layout file by explicitly specifying the xmlPath argument. BUG FIXES o gap now returns results (and does not give an error) when the standard deviation of a continuous variable (that does not have plausible values) is requested. Thanks to Christian Christrup Kjeldsen for identifying and documenting this bug. Changes in version 3.0.1 (2022-10-06) UPDATES o lm.sdf now has a verbose function, some warnings now just show as messages (when verbose is TRUE). o when an item is used in a call, it does not have omitted levels dropped by default. BUG FIXES o should pass tests on all CRAN configurations o mvrlm.sdf had a bug when there was an item as a predictor that is now solved o it was not possible to use TIMSS overall scores with mml.sdf without further editing the testData, this has been fixed o some unquoted references in calls were not resolving correctly to columns on the data when they should have. This has been fixed. Changes in version 3.0.0 (2022-09-23) UPDATES o add mml.sdf to allow direct estimation using the Dire package. o add drawPVs to enable users to draw plausible values using Dire after running mml.sdf. o suggestWeights function assists researchers in deciding which weight to use for analyses with ECLS-K:2011 data. See the suggestWeights documentation and vignette for more information. o summary2 output now shows zero weights without a colon. o it is now possible to subset an edsurvey.data.frame to just one row with square braces. BUG FIXES o readELS would sometimes re-cache files when they did not need to be. This has now been corrected. o readPIAAC is now set to validate variables with missing value labels undefined in the codebook. For missing label values it will now return the numeric value as the label instead of an NA value. Thanks to GitHub user webervienna for identifying and reporting this bug. Changes in version 2.7.1 (2021-10-05) DATA UPDATES o Added support for the National Household Education Survey (NHES) set of data. See downloadNHES for instructions to locate and obtain the NHES data files, and see readNHES for reading the NHES data for analysis. o Added support for the School Survey on Crime and Safety (SSOCS) set of data. See downloadSSOCS for instructions to locate and obtain the SSOCS data files, and see readSSOCS for reading the SSOCS data for analysis. UPDATES o append.edsurvey.data.frame.list now uses labA and labB in preference to existing labels. It also now accepts label names other than label. When the resulting labels are not unique, it generates new ones. Also, if a single edsurvey.data.frame is added to an edsurvey.data.frame.list, and the labels for the edsurvey.data.frame.list appear to be automatically generated, then the labels are automatically generated for the output of the call to append.edsurvey.data.frame.list as well. These changes should make the output of append.edsurvey.data.frame.list seem more logical. o showCutPoints now returns one line per set of cut points and does not show the cut point labels. o updated warnings and errors when an edsurvey.data.frame is passed to a vareity of functions that requires use of PSU or stratum variables but they are not on the data. o cor.sdf now allows dynamic variables for the variables being correlated (x and y) o searchSDF now generates a tabled output when passed an edsurvey.data.frame.list. o readTIMSS verbose output (verbose=TRUE) prints file merge details during data processing to the console. Additionally, readTIMSS will print dataLevel details for both processed and cached data for the edsurvey.data.frame. STATISTICS o SD used to use the population variance estimator and now uses the sample variance estimator. This also affects standard deviations calculated with the gap function. BUG FIXES o SD used to set jkSumMultiplier to 1 by default and now uses the value from the edusrvey.data.frame. While this was the documented behavior, it was counterintuitive since all other EdSurvey functions use the value directly from the edusrvey.data.frame. o when calling achievementLevels with both returnDiscrete = FALSE and returnCumulative = TRUE it would return an error. It now properly returns. o levelsSDF updated for handling value labels containing a = character in the label. The full label is now properly returned. This corrects erroneous warning messages related to recodes where = character is present. Thank you to Nicole Guarino for identifying this bug. Changes in version 2.7.0 (2021-07-19) DATA UPDATES o Added support for the PISA Young Adult Follow-up Study (YAFS). See readPISA_YAFS for more information. o readICCS now woks for 2016 ICCS data. STATISTICS o supports linking error in NAEP assessments that have combined PBA and DBA formats, including NAEP 2018 Social Studies (grades 8); 2019 Science (grades 4, 8, and 12); 2019 Mathematics and Reading (grades 4, 8, and 12). See the vignette for details on the implementation at . o mml.sdf a new function that estimates student scale scores using the marginal maximum likelihood regression estimation method (as the program AM does). This is an alternative method to the plausible values approach. o mixed.sdf now gives clearer information about groups and weights, similar to the updated WeMix::mix function. o achievementLevels now accepts multiple sets of plausible values at once, allowing joint achievement levels to be calculated. Because of this the discrete and cumulative results column names now include the name of the variable. So for a composite score it will now be labeled composite_Level where it used to say Level. Also the cutpoints object now specifies the scores the cutpoints regard. o percentile now has a new method “symmetric” that is similar to “simple” but returns the negative result if all of the values are multiplied by negative one. This method is faster than “unbiased” which has a small bias correction. o percentile used to report the number of people who were more extreme than any percentile in the nsmall column. This was not used and so was removed. o percentile now accepts a dofMethod argument to allow either of the methods described in DoFCorrection: WS for the Welch-Satterthwaite formula or JR for the Johnson-Rust formula. This defaults to JR but was previously WS. o edsurveyTable now warns and removes rows with non-positive full sample weights or no outcome. The also warnings now include the number of rows removed by the filter. Non-positive and NA weights are removed only if the returnMeans or returnSepct are TRUE. Missing outcome scores are removed only if returnMeans is TRUE. o we simplified all the code in the statistical methods, including rq.sdf, lm.sdf, and percentile. BUG FIXES o after subsetting an edsurvey.data.frame, the cache (user defined variables) used to throw errors. This now works. o mixed.sdf used to not correctly identify covariances when outputting the variance tables. Thanks to Endraswara Wiryawan for identifying this bug. o readTIMSS previously attempted to merge on 2019 teachers using the student's grade level. This lead to many teacher variables not being merged on in AAD (Abu Dhabi, UAE), ARE (United Arab Emirates), and NZL (New Zealand). Thanks to Damian Campbell for identifying this bug. o fixed readTIMSSAdv bug for 1995 data relating to storing column dimension information in cache. OTHER o when EdSurvey is attached, it nolonger sets the options value of timeout. Instead it only sets it to the larger of the current value and an hour when downloading files. Changes in version 2.6.9 (2021-03-23) DATA UPDATES o downloadTIMSS and readTIMSS were updated to include 2019. o downloadPIAAC was updated so data/codebook downloads perform more robustly on different OS. o readPIAAC was updated so the number of replicate weights in the resulting edsurvey.data.frame is accurate to the OECD source data. Before this number was hard coded, resulting in duplicate replicate weights. o readPISA added 2018 financial literacy. o downloadICILS now references instructions for downloading the 2018 ICILS data set, as the readICILS function supported ICILS 2018 as of EdSurvey v2.4.0 o when calling $ on an edsurvey.data.frame with a weight variable, only the vector of full sample weights are returned now. This used to also return a matrix (when relevant) that also included the replicate weights. o downloadPISA and readPISA now support the PISA 2018 Financial Literacy (FIN) database. STATISTICS o lm.sdf, glm.sdf, and edsurveyTable and now supports surveys where the PSU and stratum variables varried by weight variable (usually longitudinal surveys) for Taylor series variance estimation. o mixed.sdf now has a coef and vcov methods. o rq.sdf now returns the rho statistic o waldTest now accommodates JK1 denominator degrees of freedom explicitly and allows for cases where the F-test is not valid to return, but only returns the chi-squared test. o waldTest now covers rq.sdf and mixed.sdf models. NEW FEATURES o the vignette was expanded to include more links. o The == (equal) and != (not equal) comparison operators now work on edsurvey.data.frame and/or edsurvey.data.frame.list objects to compare objects by their attributes (e.g., survey, year, country). TECHNICAL o readNAEP now allows fr2 paths that are seperate from the usual location and is more robust to variation in capitalization, but requires that a file name be unique, regardless of capitalization. o getPSUvar and getStratumVar are now more robust and return more informative warnings. o Added match.arg parameter matching for the following functions/arguments for usability: downloadPISA (database), readCivEDICCS (dataSet, gradeLvl), readICILS (dataSet), readPISA (database, cognitive), readTALIS (isced, dataLevel), readTIMSS (gradeLvl), readTIMSSAdv (subject). BUG FIXES o readPIAAC was fixed so it can now find cached files for usa17 and usa12_14. Additionally, match.arg checks were added to better check user inputted data to the countries and usaOption arguments. o The readNAEP function has updates for the frPath argument to correctly handle relative paths, path expansion (~), and additional file validation checks. o The gap function now correctly parses expressions that use a variable in the global environment. o The summary2 function now gives a clearer error when something that is not the name of a weight column is passed to the weightVar argument. Changes in version 2.6.0 DATA UPDATES o ECLS_B is now a supported dataset with the readECLS_B function. o downloadECLS_K and readECLS_K2011 now download and read in, respectively, the latest ECLS-K:2011 K-5 data. o readTALIS was updated to work with TALIS 2018. o downloadPISA added support for 2018 and now downloads 2018 data. OECD compressed the 2018 PISA with an algorithm not implemented in R (DEFLATE64), and so users are instructed to uncompress it outside of R and EdSurvey before using the data. o readPIAAC was updated to work with files OECD released in early 2020. This includes adding a usaOption argument that allows the user to select between the 2012-2014 file and the 2017 file for U.S. data. o readICILS was updated to work with files IEA released early in 2020. o EdSurvey now supports NAEP assessments with no plausible value variables, such as some National Indian Education Study (NIES) data. o EdSurvey now supports TIMSS 2019 pre-release files, including bridge files. o For readHSLS and readELS we bug an issue parsing .sav variable format definitions relating to integer definitions with a display of more than 10 digits. We believe this does not change how EdSurvey reads in any public use files. The issue can arise if the user converts restricted use files with Stat/Transfer. o Some IEA datasets have convenience variables that EdSurvey incorrectly identified as plausible value variables that are discretized plausible values. EdSurvey already internally generates similar convenience variables based on the existing plausible values and does not use the IEA variables. As of 2.6.0, these columns are not linked as plausible variables and are ignored. Affected datasets include TIMSS, TIMSS Advanced, PIRLS, and ePIRLS. STATISTICS o cor.sdf now reports standard errors linearized back to the correlation space in the result value se. It also reports the confidence interval in the Fisher-Z space as ZconfidenceInterval and a confidence interval mapped back to the correlation space (without linearization) as confidenceInterval. o cor.sdf now allows users to select the Fisher-Z transformation or no transformation with the transformation argument. The default of using the Fisher Z for Pearson and no transformation for other correlation types remains the same. o cor.sdf now allows the user to set a value of jrrIMax to allow faster computation. o Updated oddsRatio to use t-statistic instead of Z, and to identify the confidence interval in the linear space and then convert. NEW FEATURES o The + function now works on edsurvey.data.frame and/or edsurvey.data.frame.list objects to build an edsurvey.data.frame.list. See ?edsurvey.data.frame.list for examples. o The %in% function now works on edsurvey.data.frame.list objects, identifying if a survey is in an edsurvey.data.frame.list. See ?edsurvey.data.frame.list for examples. o percentile, achievementLevels, and edsurveyTable now warns when an edsurvey.data.frame.list is passed to it with an edsurvey.data.frame on it that cannot return valid results for the requested statistics. The output is NA for these surveys. o gap now supports linking error in PISA for math, reading, and science when a user sets includeLinkingError to TRUE. o contourPlot deprecated the argument colors which only set density colors. Instead, the function now uses densityColors and pointColors, which set the density and point colors separately. This will cause calls to contourPlot that use colors to not function with 2.6.0. o When a summary2 call is made with a light.edsurvey.data.frame, unfilled levels will not be returned in the table anymore. o Users can now assign a variable with $, including subsets. Variables on the original data cannot be removed but can be overwritten. All changes are for the session only and do not change the data on the disk. TECHNICAL o getData now closes LaF connections regardless of how it exits (e.g., with an error). This should improve the stability of the package. o An edsurvey.data.frame now can specify a fr2path. This is used only for NAEP surveys and no functionality depends on it, but it may be used in the future. The value of fr2path may always be set to NA. o achievementLevels now warns when an edsurvey.data.frame.list is passed to it with an edsurvey.data.frame on it that cannot return valid results for the requested statistics. The output is NA for these surveys. BUG FIXES o cor.sdf and percentile incorrectly calculated standard errors when the pre-multiplier for the replicate weights was not one. Users can see that for a survey using getAttributes(data, "jkSumMultiplier") for their data. o cor.sdf previously failed to calculate some correlations when some records had non-zero full sample weights and zero replicate weights. Now results are still calculated. o With TIMSS data, when a user updated a teacher-level variable, it used to prevent the user from using the edsurvey.data.frame for non-teacher-level analysis. We fixed this issue. Thanks to Anders Astrup Christensen for identifying this issue and sharing reproducible code that is now incorporated into the package as a test. Changes in version 2.5.0 (2020-04-13) NEW DATA o Added support for the 2007-2008 Beginning Teacher Longitudinal Study (see readBTLS) for Waves 1 to 5. DATA UPDATES o readPISA uses less memory when reading in PISA 2015 data. This is because it now uses the haven package's read_sav new skip and n_max arguments to read in portions of files. This should save time on read in. o Other PISA files were changed to use base R read functions, this results in a different ordering of columns in 2012 and 2015. o Some PISA 2003 variables were read in as an integer and are now in as a real values, mostly hours variables. o After the OECD files were updated, downloadPIAAC and readPIAAC now properly use the 2012 USA file for Cycle 1. TECHNICAL o To allow both 4.0 and 3.6 compatibility, an edsurvey.data.frame.list now stores covs as characters in preference to factors. o EdSurvey is no longer imports readr, rvest, stringi, stringr, or xml2. In addition, RColorBrewer was imported but is now suggested. o ContourPlot now uses heat.colors by default. o Several data files were stored in text format in functions and are now stored in inst/extdata as rds files. o The news for 2.4.0 was edited to note that the gap linking error in NAEP is only for mathematics and reading. BUG FIXES o lm.sdf now rounds the printed coefficients matrix in the standard way. o Fixed a bug in edsurveyTable that caused it to return incorrectly labeled output if multiple covariates were tabbed with weights. o A broken link in the vignette was fixed. Changes in version 2.4.0 (2020-01-10) NEW DATA o Added support for the 2009 High School Longitudinal Study (see downloadHSLS and readHSLS). These do not support Restricted Use Data (RUD). o Added support for the 2002 Education Longitudinal Study (see downloadELS and readELS). o Added the ECLS Kindergarten Class of 1998-1999 Study. Thes datasets can be downloaded with downloadECLS_K and read in with readECLS_K1998. This was added in 2.3.0 but first added to the NEWS for 2.4.0. o Added support for ePIRLS (see read_ePIRLS and download_ePIRLS). This was added in 2.3.0 but first added to the NEWS for 2.4.0. DATA UPDATES o Added support for 2018 for the existing readICILS function. Thanks to Jeppe Bundsgaard of Aarhus University, Danish School of Education, for contributing the code for this. o OECD moved the PIAAC data to a new location, and the downloadPIAAC function now uses the new URL. o The PISA 2015 data cache could have been formed incorrectly; that is fixed. When PISA 2015 datasets are first used with 2.4 it will take time to re-cache the data. The process now also uses far less memory. o The PISA data had incorrect PSU and stratum variables for most years. They are all fixed except for 2000, which we do not believe has a PSU variable on the file. Several strata have only one PSU, so the design still needs to be edited by the user to get correct Taylor series sampling variance estimates. UPDATES o The mixed.sdf function now correctly aggregates results and has its methodology documented. It no longer supports binomial models and has several arguments deprecated as a result. o The gap function argument varMethod is deprecated. The function uses only jackknife variance estimation. o The gap function now accounts for linking error between NAEP paper and digitally based assessments for mathematics and reading. o The subset function used to fail when a global variable shared a name with a column on the data; it now works. o The percentile function has been updated to a formula that generates survey percentiles that are robust to transformation. For example, if the values are multiplied by a constant, then the percentiles move by that same constant. o The lm.sdf function header now prints the number of plausible values used (when they are used) as well as the number of plausible values used in the sampling variance (jrrIMax). o The levelsSDF function now makes more informative warnings when passed a light.edsurvey.data.frame. o The print function for cor.sdf now prints a final new line. o When searchSDF was called with more than one search string and the levels argument was set to TRUE, a useless warning was issued. The warning was removed. o More EdSurvey functions wrap to the width of the console. Changes in version 2.3.0 NEW FEATURES o The rq.sdf function adds quantile regression to the package. See the rq.sdf documentation for more information. o The functions getStratumVar and getPSUVar were added to give users stratum and PSU variables for surveys and Taylor series analyses. o The summary2 function now accepts a vector of variables. o The searchSDF function now accepts a vector string input so that results can be filtered. o The formula for degrees of freedom when Taylor series variance estimation is used has been updated. The new formula is derived in the statistics vignette. See . NEW DATA o PISA 2015 is now supported. Changes in version 2.2.0 NEW FEATURES o The waldTest function allows the user to test composite hypotheses-hypotheses with multiple coefficients involved-even when the data include plausible values. Because there is no likelihood test for plausible values nor residuals, the Wald test fills the role of the likelihood ratio test, ANOVA, and F-test. o The mvrlm function adds multivariate regression (a regression with multiple outcomes) to the package. See the mvrlm documentation for more information. o Survey weighted mixed models can now be fit with the mixed.sdf function. Both linear and logistic models can be fit. These models are limited to 2 levels (one level with random effects). o Regressions can now output standardized regression coefficients using summary(myLm, src=TRUE). When the lm.sdf call includes standardizeWithSamplingVar=TRUE the standardized error of the standardized regression coefficient account for the sampling error and measurement error (when applicable). Otherwise, the standard deviations are assumed to be measured without error. o Added summary2 function to produce unweighted and weighted descriptive statistics of a variable in edsurvey.data.frame or light.edsurvey.data.frame o Added $ variable access to edsurvey.data.frame. e.g. sdf$dsex o Updated covariance matrix estimation in the vcov function for lm.sdf and glm.sdf to work when varEstInputs was not returned o Added covariance matrix estimation for lm.sdf when Taylor series variance estimation was used. o Added rebindAttributes function to make dplyr interaction more smooth. See the rebindAttributes documentation for an example. o When printing an edsurvey.data.frame it now says the survey, year, subject, and country at the top. The dimensions are moved down. o In gap, achievement levels can be specified with partial matches. This helps out when achievement levels have long names. NEW DATA o Added the ECLS Kindergarten Class of 2010-2011 Study. Longitudinal datasets can be downloaded with downloadECLS_K and read in with readECLS_K2011. o PIRLS 2016 is now supported. NEW STATISTICS o Added returnNumberOfPSU in achievenemtLevels, percentile, lm.sdf, and gap to report the number of primary sampling units (PSUs) used to calculate a statistic. o Added oddsRatio helper function for logit results to show odds ratios. o When running a Pearson correlation on a discrete variable, cor.sdf function by default condenses the occupied response codes to be consecutive integers. This can now be turned off by setting the condenseLevels argument to FALSE so that the code book levels are used instead. UPDATES o The glm.sdf function now uses the glm2 package to fit models. This package converges on a broader class of models. o The EdSurvey package nolonger sets the number of threads used by the required data.table package to one when EdSurvey is being attached. The issue is now fixed in data.table. o Across the download functions, when a file is missing the warning text was homogenized. Additionally, all download functions now support a verbose argument that can be used to make downloads silent. o The lm.sdf and glm.sdf functions now accept formulas that use the I() function or other unevaluated expressions to the left of the tilda. Previously only a single variable could be named. o recode.sdf now checks that each recode has only a to and from in it. o The edsurveyTable function now works without RHS variable, allowing the formula y ~ 1 to return overall means. o The percentile function used to produce output even if asked to produce a percentile outside of the valid range (0 to 100). Now it prints out message if users input at least percentile outside of the valid range, and stops if all percentiles are invalid. o The getData function now removes rows with omitted levels after being recoded. o All SPSS (.sav) file reads using the haven package set the user_na = TRUE flag to ensure no defined missing/omitted values are automatically converted to NA values prematurely. o For consistency with other download functions, downloadPISA now uses a years argument instead of a year argument. BUG FIXES o Running an edsurveyTable on an edsurvey.data.frame.list used to have the potential to create invalid (unprintable) output if the factor levels did not agree on every element of the edsurvey.data.frame.list. They now return printable output. o An edsurveyTable could produce a standard error when there was data from only one stratum. It now produces an NA standard error. Changes in version 2.0.0 NEW DATA o Works with the Trends in International Mathematics and Science Study (TIMSS), TIMSS Advanced, the Progress in International Reading Literacy Study (PIRLS), and the International Computer and Information Literacy Study (ICILS), International Civic and Citizenship Education Study (ICCS), the Civic Education Study (CivEd), the Program for International Student Assessment (PISA), the Program for the International Assessment of Adult Competencies (PIAAC), and the Teaching and Learning International Survey (TALIS). o International datasets can be downloaded with downloadTIMSS, downloadTIMSSAdv, downloadPIRLS, downloadICILS, downloadICCS, downloadCivEDICCS, downloadPISA, downloadPIAAC, downloadTALIS. o International datasets can be loaded with readTIMSS, readTIMSSAdv, readPIRLS, readICILS, readICCS, readCivEDICCS, readPISA, readPIAAC, readTALIS. NEW STATISTICS o Added logit.sdf and probit.sdf functions with support for survey item responses. o Added gap that compares the average, percentile, achievement level, or percentage of survey responses between two groups that potentially share members. o Added percentile that calculates the percentiles of a numeric variable. o Added showCodebook that retrieves variable names, variable labels, and value labels for an edsurvey.data.frame, light.edsurvey.data.frame, or edsurvey.data.frame.list. UPDATES o Redesigned achievementLevels, edsurveyTable function for significant faster computation with much smaller memory footprint. We also made error messages and outputs more informative. o More informative error message and output for cor.sdf, levelsSDF, getPlausibleValue, print.edsurvey.data.frame, searchSDF, showPlausibleValues, showWeights, and getData. o lm.sdf and glm.sdf are now S3 method extended from stats::lm so users can call the function using lm and glm. o Added the contourPlot for regressions diagnostic. o Added the recode.sdf function for recoding levels within variables. o Added the rename.sdf function for modifying variable names. o Added the append.edsurvey.data.frame.list function to return a list of sdfs from either an edsurvey.data.frame.list or a single edsurvey.data.frame. DOCUMENTATION o Manual documentation was refreshed. o Moved vignettes to AIR webiste at https://www.air.org/project/nces-data-r-project-edsurvey or see links in the vignette inlcuded in this package. o Added a new vignette on ``Exploratory Data Analysis on NCES Data'' provides examples of conducting exploratory data analysis on NAEP data. o Added new vignette on ``Calculating Adjusted p-Values From EdSurvey Results'' to the AIR website describing the basics of adjusting p-Values to account for multiple comparisons. o Added new vignette on ``Using EdSurvey to Analyze TIMSS Data'' to the AIR website describing; an introduction to the methods used in analysis of large-scale educational assessment programs such as Trends in International Mathematics and Science Study (TIMSS) using the EdSurvey package. The vignette covers topics such as preparing the R environment for processing, creating summary tables, running linear regression models, and correlating variables. o Added new vignette on ``Using EdSurvey for Trend Analysis'' to the AIR website describing the methods used in the EdSurvey package to conduct analyses of statistics that change over time in large-scale educational studies. o Added new vignette on ``Producing LaTeX Tables From edsurveyTable Results With edsurveyTable2pdf'' to the AIR website detailing the creation of pdf summary tables from summary results using the edsurveyTable2pdf function. o Added new methodology documentation on ``Methods Used for Gap Analysis in EdSurvey'' to the AIR website convering the methods comparing the gap analysis results of the EdSurvey package to the NAEP Data Explorer. o Added new methodology documentation on ``Methods Used for Estimating Percentiles in EdSurvey'' to the AIR website describing the methods used to estimate percentiles. o Added new methodology documentation on ``Weighted and Unweighted Correlation Methods for Large-Scale Educational Assessment: wCorr Formulas'' to the AIR website detailing the methodology used by the wCorr R package for computing the Pearson, Spearman, polyserial, and polychoric correlations, with and without weights applied. See . BUG FIXES o Fixed connection issue associated with closing connections to an LaF. Changes in version 1.0.6 (2017-05-04) o readNAEP function now works on a case sensitive file system. o Vignettes now should appear in numerical order on CRAN. o Examples now name most arguments. o Vignettes now name most argument. o some print functions had number of plausible values added.