https://github.com/centerforassessment/documentation
Skeleton repo for setup- and make- report scripts
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
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
Metadata Files
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.Rfile containsRcode from which requiredRpackages 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 anyRpackages required for the report and sub-analyses to be run. - The "Documentation" directory can be be set up using the
setupReportDirectoryfunction. This function pulls in assets from theLiteraseepackage. - These include
css,javascript,pandocandRmarkdown(.Rmd) assets theLiteraseepackage 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_Analysisrepo/submodule). Alternatively, template custom content can be copied over from another state/project directory. - Changes/updates/upgrades to these assets in the
Literaseepackage can be pulled into the "Documentation" directory using theupdateAssets()function.
- A script,
- The
2_Report_Data.Rscript 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_Assessmentand (potentially multiple)Interim_Assessmentdata objects. - The compiled data must be a named
listobject calledReport_Data, saved in a "Documentation/Data/" directory (NOT included in the Github repo!).
- Create/format/alter/augment one or more raw data sets including
- The script
3_Report_Analyses.Ris 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_AssessmentandInterim_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.Rscript, while others may be placed externally in an "ReportAnalyses" directory. The compiled analysis results must be a namedlistobject called `ReportAnalysis`, saved in a "Documentation/Data/" directory (NOT included in the GitHub repo!).
- Generation of the dual format report (a
bookdownwebsite and apagedownPDF document) depends on two different types of configuration scripts that list the child documents to knit together: bookdown.yml and index.Rmd forbookdown, and a parent .Rmd file (e.g., STATELearningLossAnalysis.Rmd) forpagedown.- The child documents can be generic (i.e.
Universal_Content) or customized/novel content. The4_Make_Configs.Rcreates 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_Contentconfiguration and content lists bysource(...)'ing the R scriptsUniversal_Content/Learning_Loss_Analysis/Meta_Data/Report_Configs.RandUniversal_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
listobjects are then used by functions in theLiteraseepackage to create the YAML and RMD files that control the report generation output.
- The child documents can be generic (i.e.
- The
Make_Report.Rfile containsRcode to render the website/report using thebookdownandpagedownpackages respectively.
Owner
- Name: Center for Assessment
- Login: CenterForAssessment
- Kind: organization
- Email: support@nciea.org
- Location: Dover, New Hampshire
- Website: www.nciea.org
- Twitter: NCIEA1
- Repositories: 53
- Profile: https://github.com/CenterForAssessment
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