https://github.com/centerforassessment/documentation

Skeleton repo for setup- and make- report scripts

https://github.com/centerforassessment/documentation

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Skeleton repo for setup- and make- report scripts

Basic Info
  • Host: GitHub
  • Owner: CenterForAssessment
  • License: gpl-3.0
  • Language: R
  • Default Branch: main
  • Size: 265 KB
Statistics
  • Stars: 0
  • Watchers: 4
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 5 years ago · Last pushed over 4 years ago
Metadata Files
Readme License

README.md

An Example Documentation Folder

Purpose

This is a template for a "Documentation" directory that one might use (copy/paste) into a project from which to build out pagedown report(s) and a bookdown website using the child RMD files included in the Universal_Content repo.

Five steps to report generation

Generation of the dual format report (a bookdown website and a pagedown PDF document) can be generally conducted in five steps. These steps are lined out generically in the .R scripts included in this repo.

First a consistent working environment should be set up, including a directory structure with all the required external assets and libraries, as well as the R command and function scripts included in this repo. Second, the data required to generate the report must be compiled in a consistent data-object structure. Third, any time-consuming and/or state-specific external analyses should be conducted and thoroughly reviewed, and also compiled in a consistent data-object structure. Fourth, list-objects that contain all the required meta-data and content indices are compiled from generic (Universal) and custom sources to create dual-format configuration scripts. Lastly, the two report formats are generated using the appropriate R functions.

Included files

  • The 1_Report_Setup_and_Maintenance.R file contains R code from which required R packages can be installed or updated, and other assets can be copied into the report directory.
    • A script, Universal_Content/Learning_Loss_Analysis/Meta_Data/Report_Packages.R, is available to both document and help install/update any R packages required for the report and sub-analyses to be run.
    • The "Documentation" directory can be be set up using the setupReportDirectory function. This function pulls in assets from the Literasee package.
    • These include css, javascript, pandoc and Rmarkdown (.Rmd) assets the Literasee package needs to create a "NCIEA" themed report and website.
    • Templates for custom child.Rmd files can also be added to the directory (available from the Universal_Content/Learning_Loss_Analysis repo/submodule). Alternatively, template custom content can be copied over from another state/project directory.
    • Changes/updates/upgrades to these assets in the Literasee package can be pulled into the "Documentation" directory using the updateAssets() function.
  • The 2_Report_Data.R script runs all formatting, cleaning and subsetting required to compile all data sources into a single dataset that will be used at report run-time (rendering).
    • Create/format/alter/augment one or more raw data sets including State_Assessment, College_Entrance, ELP_Assessment and (potentially multiple) Interim_Assessment data objects.
    • The compiled data must be a named list object called Report_Data, saved in a "Documentation/Data/" directory (NOT included in the Github repo!).
  • The script 3_Report_Analyses.R is meant to house secondary (post-hoc) analyses that can be re/run before the report is compiled and may take an inordinate amount of time to run or requires extensive evaluation and investigation before running.
    • These analyses may be universal enough to run for all states, or may be unique enough for each state that the analysis is customized for each state.
    • Ideally each of the data sources (State_Assessment, College_Entrance, ELP_Assessment and Interim_Assessment) will have the same or similar analysis types (e.g., participation, multiple_imputation, propensity_score_weighting, quantile_shift, etc.).
    • Some analyses may be short and included directly within the 2_Report_Data.R script, while others may be placed externally in an "ReportAnalyses" directory. The compiled analysis results must be a named list object called `ReportAnalysis`, saved in a "Documentation/Data/" directory (NOT included in the GitHub repo!).
  • Generation of the dual format report (a bookdown website and a pagedown PDF document) depends on two different types of configuration scripts that list the child documents to knit together: bookdown.yml and index.Rmd for bookdown, and a parent .Rmd file (e.g., STATELearningLossAnalysis.Rmd) for pagedown.
    • The child documents can be generic (i.e. Universal_Content) or customized/novel content. The 4_Make_Configs.R creates custom configuration lists that identify 1) state specific meta-data and report parameters and 2) a list of any custom Rmarkdown content to be used in place of, or in addition to, the universal report content.
    • These configuration and content lists are then combined with the Universal_Content configuration and content lists by source(...)'ing the R scripts Universal_Content/Learning_Loss_Analysis/Meta_Data/Report_Configs.R and Universal_Content/Learning_Loss_Analysis/Meta_Data/Report_Content.R.
    • The scripts are set up to give priority to the custom content, so that generic elements can be easily overridden. The combined custom and universal information list objects are then used by functions in the Literasee package to create the YAML and RMD files that control the report generation output.
  • The Make_Report.R file contains R code to render the website/report using the bookdown and pagedown packages respectively.

Owner

  • Name: Center for Assessment
  • Login: CenterForAssessment
  • Kind: organization
  • Email: support@nciea.org
  • Location: Dover, New Hampshire

National Center for the Improvement of Educational Assessment

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels