- Updated
README.RmdandREADME.md:- Added DOI badge.
- Added section on citing the package.
- Obtained DOIs from Zenodo.
- DOI: 10.5281/zenodo.5854873 always points to the latest version.
- DOI: 10.5281/zenodo.5854874 specifically points to v1.0.0
- The manuscript has been accepted for publication. Began preparing to publish the package & GitHub repository.
- Updated
DESCRIPTION:- Minor change to Description field.
- Fixed License field by standardizing entry, renaming LICENSE.txt file to LICENSE, and adding LICENSE.note file.
- License now reflects GPL (>= 3) for source code and CC BY-SA-4.0 for all other content.
- Added
LICENSE.mdfile containing GPL-3 license terms. - Added
LICENSEcontaining CC BY-SA-4.0 license terms - Updated
.Rbuildignoreto:- Omit
LICENSE,LICENSE.md, andLICENSE.notefiles. - Omit PDF & graphics files in
inst/Drafts
- Omit
- Update
.gitignoreto- Omit selected PDF files in
inst. - Omit PDF & graphics files in
inst/Drafts.
- Omit selected PDF files in
- Updated
README.RmdandREADME.mdto prepare for public release. - Removed
inst/Step_03_Case_Studies.Rmdbecause we ultimately decided not to include case studies in this paper. - Updated
RData_Mgt_Functions.Rto remove functions we no longer need because the paper does not include any case studies. Those draft functions were never fully tested anyway.- getARRS()
- getCHGs()
- getIIDs()
- getINC()
- getJUDs()
- Removed help documentation for deleted functions:
- getARRS()
- getCHGs()
- getIIDs()
- getINC()
- getJUDs()
- Updated
man/SSACHR-pakage.Rddescription field to matchDESCRIPTION. - Updated
NAMESPACE. - Updated
inst/Step_01_Data_Mgt.Rmdto:- Added a LogFile parameter with the default output filename.
- Use LogFile parameter to set the left footer.
- Improve explanatory text.
- Update Software Information section.
- Updated
inst/Step_02_Analysis.Rmdto:- Added a LogFile parameter with the default output filename.
- Use LogFile parameter to set the left footer.
- Improve explanatory text.
- Update Software Information section.
- Updated
inst/R_Citations.Rmdto:- Added a LogFile parameter with the default output filename.
- Use LogFile parameter to set the left footer.
- Update Software Information section.
- Fix a header.
- Remove rstudioapi::versionInfo() call from show_citations chunk. It does not work when script is knitted via xfun::Rscript_call().
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Stop renaming variable HXCat12_Any to NINC12.
- Update the IDNEWL, IDNEWA, IDNEWB, IDNEWD, and INCEWA data to include results based on the HXCat12_Any variable.
- Update
inst/Step_02_Analysis.Rmdto:- Fix some table footnote formatting.
- Stop exporting Figure 2. It will be omitted from the manuscript based on peer review feedback, but will remain in the reproducibility materials.
- Update variable names and object names to refer to HXCat12_Any instead of NINC12 when the relevant data frame is IDNEWL, IDNEWA, IDNEWB, IDNEWD, or INCEWA.
- Update tables and figures to include summaries of Any Crimes category.
- Updated README.md by knitting README.Rmd.
- Added final output files produced from running code after installing version
1.0.0 on my computer. These correspond to output we used in the manuscript and
are being bundled into the version 1.0.0 release.
inst/Step_01_Data_Mgt_Published.pdfinst/Step_02_Analysis_Published.pdfinst/R_Citations_Published.pdf
- Update
inst/Step_02_Analysis.Rmdto:- Improved a figure for use in manuscript.
- Update
inst/Step_02_Analysis.Rmdto:- Improved a figure for use in manuscript.
- Update
inst/Step_02_Analysis.Rmdto:- Add notes on why we are retaining GEE model results even though they no longer appear in the manuscript.
- Stop exporting a figure that we will no longer include in the manuscript.
- Fix a problem caused by ggplot2::layer() masking latticeExtra::layer().
- Added a new figure for the manuscript and export it instead of prior figure.
- Improve code legibility.
- Update
inst/Step_02_Analysis.Rmdto:- Rename some chunks and improve in-text cross-referencing.
- Export figures to an additional file format.
- Add or improve explanatory text in several places.
- Reorganize the After Period Summary section.
- Update the reference format for the funding support/project information.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Update the reference format for the funding support/project information.
- Updated
inst/R_Citations.Rmdto:- Update the reference format for the funding support/project information.
- Updated
README.RmdandREADME.mdto:- Update the reference format for the funding support/project information.
- Updated
.gitignoreand.Rbuildignoreto ignore PNG files.
- Update
inst/Step_02_Analysis.Rmdto:- Change number of decimals shown for percentages in selected tables.
- Update
inst/Step_02_Analysis.Rmdto:- Add a new table and explanatory text in the Years to Incident Date section.
- Improve table formatting in the Years to Incident Date section.
- Improve code comments in the Years to Incident Date section.
- Updated
README.RmdandREADME.mdto:- Update the task list.
- Add citation for the manuscript to the reference list.
- Format grant citation to meet APA 7th edition style requirements.
- Updated
inst/Step_01_Data_Mgt.Rmdto create and save IDNEWB and IDNEWD tibbles. - Update
inst/Step_02_Analysis.Rmdto:- Display sample sizes by period at start of Offender-Level Summaries section.
- Format some sample sizes reported in the text.
- Added a new graph and explanatory text to the After Period Summary.
- Improved a table footnote.
- Added the Before Period Summary section.
- Added the During Period Summary section.
- Stop exporting figures related to broader crime categories.
- Updated
inst/Step_01_Data_Mgt.Rmdto load another package. - Update
inst/Step_02_Analysis.Rmdto:- Remove transparency from figures to be exported (per journal requirements) by eliminating alpha parameters.
- Adjust size of boxplots in raincloud plots.
- Export only EPS files for figures.
- Fix a couple inaccurate code comments.
- Moved figure export code and added \FloatBarrier commands.
- Export additional figures.
- Renamed some objects for clarity.
- Simplify path name for loading data.
- Added some blank lines to improve readability.
- Load an additional package.
- Updated
inst/R_Citations.Rmdto cite more packages.
- Update
.gitignoreto ignore EPS and TIFF files ininst. - Update
.Rbuildignoreto ignore EPS, PDF, and TIFF files ininst. - Updated
inst/Step_01_Data_Mgt.Rmdto create and save out the INCEWA tibble. - Update
inst/Step_02_Analysis.Rmdto:- Add a figure for IYearsAfterTW by crime category.
- Change figure sizes to match journal requirements.
- Export selected figures to EPS and TIFF files.
- Improve some figure captions.
- Fix inaccurate code comments.
- Add new table summarizing years to incident date by crime category.
- Add figure for IYearsAfterTW by crime category and improve similar one by broader crime category.
- Updated
inst/Step_01_Data_Mgt.Rmdto add IYearsAfterTW variable to INCEW. - Update
inst/Step_02_Analysis.Rmdto add a figure for IYearsAfterTW by broader crime category.
- Update
inst/Step_02_Analysis.Rmdto:- Improve table formatting in After Period Summary section.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Add new variables to IDNEWA tibble.
- Add variable labels to the IDNEWA tibble.
- Sort the IDNEWA tibble.
- Update
inst/Step_02_Analysis.Rmdto:- Add incident count summaries for broader crime categories.
- Add plots of incident count variable distributions during the after period.
- Deleted
inst/Temp_Code.Rbecause the draft code has been edited and inserted in other files now.
- Update
inst/Step_02_Analysis.Rmdto improve after period summary table.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Add variables related to four broader crime categories (sexual, violent, property, and other), along with explantory text about them.
- Fix a table that listed variable names (it needed to include those new variables).
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Improve IDNEWL and IDNEWA tibbles.
- Improve explanatory text.
- Update
inst/Step_02_Analysis.Rmdto:- Change a section heading.
- Add After Period Summary section with a new table.
- Updated
inst/Temp_Code.Rby removing obsolete code. - Updated
inst/R_Citations.Rmdto declare script location and put citation() calls in alphabetical order. - Updated
inst/README.Rmdto- Split install code for devtools and SSACHR into separate chunks.
- Improve repository structure documentation.
- Moved data management code from
inst/Step_02_Analysis.Rmdtoinst/Step_01_Data_Mgt.Rmd. - Updated
inst/Step_01_Data_Mgt.Rmdto create and save additional tibbles based on person-period data sets.
- Added
inst/Temp_Code.Rto test out draft code we may use to revise analysis based on peer review feedback.
- Updated
inst/R_Citations.Rmdto load and cite more packages. - Updated
inst/Step_01_Data_Mgt.Rmdto:- Use new git_report() and which_latex() functions to report software information.
- Updated
inst/Step_02_Analysis.Rmdto:- Add a section on CSC incident overlap with earliest known SAKs.
- Use new git_report() and which_latex() functions to report software information.
- Rename some chunks and fix table references.
- Add
R/Utility_Functions.Rto:- Add new git_report() function.
- Add new which_latex() function.
- Add new help documentation:
man/git_report.Rdman/which_latex.Rd
- Updated
DESCRIPTIONandNAMESPACEto import additional functions from other packages and export git_report() and which_latex().
- Updated
inst/Step_02_Analysis.Rmdto:- Fixed the Valid % column for overall incident counts in all frequency tables.
- Improved code alignment for readability.
- Updated
README.RmdandREADME.mdto:- Update badges.
- Fix library() call in example.
- Update software information section.
- Updated
inst/Step_02_Analysis.Rmdto:- Add GEE model, estimated marginal means, and contrasts for overall incident counts.
- Updated
inst/Step_02_Analysis.Rmdto:- Round tables of GEE marginal means & contrasts to 2 digits instead of 3.
- Updated
inst/R_Citations.Rmdto cite more packages.
- Updated
inst/Step_02_Analysis.Rmdto:- Improve frequency tables by adding valid percent columns.
- Fixed p-value footnotes on GEE model tables.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Selectively recode period-specific record count variables with values of zero to missing data when the observed duration of the period in question was zero years.
- Updated
inst/Step_02_Analysis.Rmdto:- Improved table of contents, explanatory text, and some formatting.
- Improved draft code for running GEE models and preparing tables of model parameters, marginal means, and contrasts, then added similar code for crime category specific sections.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Rename some variables.
- Added a scenario variable to IDNEW and a table and a table summarizing its frequency distribution.
- Selectively recode variables containing incident counts by period with values of zero to missing data when the observed duration of the period in question was zero years.
- Updated
inst/Step_02_Analysis.Rmd.- Committed some changes actually made on 2021-04-12.
- Worked on putting geeglm() model fit results, marginal means, and contrasts into nice tables.
- Update variable names to match changes in
inst/Step_01_Data_Mgt.Rmd.
- Updated
inst/Step_02_Analysis.Rmd.- Split first draft code chunk for GEE modeling into multiple chunks for better organization.
- Pushed some commits made on 2021-04-08.
- Fixed figure captions to enable figure referencing in the explanatory text.
- Experimented with code for converting geeglm() model fit results into nice tables.
- Updated
inst/Step_02_Analysis.Rmd.- Update box plot for age to show both age at earliest SAK and age at CHR collection.
- Improved figure for plotting Age16Date.
- Added a new figure for plotting WDate.
- Fixed some table output from html to latex format for improved appearance.
- Improved table of period durations.
- Simplified constructing lists of variable names in selected tables.
- Improved figure and table captions and footnotes.
- Improved explanatory text.
- Updated
inst/Step_01_Data_Mgt.Rmdto improve Figure 1.
- Updated
inst/extdata/TWindow_Scenarios.csvdata file to improve figure of scenarios illustrating alignment of before, during, and after testing window periods with observed CHR period. - Updated
inst/Step_01_Data_Mgt.Rmdto:- Improve figure showing alignment of before, during, and after testing window periods with observed CHR period.
- Improve explanatory text.
- Move and disable some code used to seelct a color palette for a figure.
- Added
inst/extdata/TWindow_Scenarios.csvdata file required for plotting scenarios illustrating alignment of before, during, and after testing window periods with observed CHR period. - Updated
inst/Step_01_Data_Mgt.Rmdto add a table and a figure showing alignment of before, during, and after testing window periods with observed CHR period.
- Updated
inst/Step_01_Data_Mgt.Rmdto refine variables used to compute observed period durations. This is still work in progress. - Updated
.gitignoreand.Rbuildignoreto omit *.log files created by knitting to PDF.
- Updated
inst/Step_01_Data_Mgt.Rmdto refine variables used to compute observed period durations. This is still work in progress. - Updated
inst/Step_02_Analysis.Rmdto add a new section to show data on observed period durations. This is still work in progress.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Remove first and last incident date variables from IDNEW.
- Add more date, date interval, and period duration variables to IDNEW so we can eventually adjust count data models with offsets based on duration of the periods before, during, and after the testing window.
- Updated
inst/Step_01_Data_Mgt.Rmdto start adding first and last incident date variables to IDNEW.
- Updated
inst/Step_01_Data_Mgt.Rmdto improve a table caption. - Updated
inst/Step_02_Analysis.Rmd.- Improved table captions and footnotes.
- Improved explanatory text.
- Updated
README.RmdandREADME.mdtask list.
- Updated
inst/Step_02_Analysis.Rmdto continue adapting to focus on records for incidents where offender was arrested, charged, or convicted of any of the 12 main crime categories.- Removed computations for variables we are not going to use in the paper.
- Improved table footnotes.
- Switched source data for one table from JUDEW to CONEW to simplify code.
- Improved explanatory text.
- Removed unnecessary subheading.
- Updated
inst/Step_02_Analysis.Rmdto continue adapting to focus on records for incidents where offender was arrested, charged, or convicted of any of the 12 main crime categories.- Removed subheadings made obsolete by removing other content.
- Improved figure captions and a table footnote.
- Improved explanatory text and removed references to tables that were removed.
- Simplified tables by removing variables inconsistent with the narrower focus we have now adopted.
- Updated
inst/Step_02_Analysis.Rmdto continue adapting to focus on records for incidents where offender was arrested, charged, or convicted of any of the 12 main crime categories.- Removed separate outputs for "arrested", "charged"", and "convicted" criteria.
- Revised headings because we don't need as many subheadings.
- Revised table and figure footnotes.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Added and improved variable labels for several tibbles.
- Improved explanatory text.
- Improved Git status info code.
- Updated
inst/Step_02_Analysis.Rmdto:- Improved Git status info code.
- Improved some explanatory text and table captions in CHR Record Counts section after adapting to focus on records for incidents where offender was arrested, charged, or convicted of any of the 12 main crime categories.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Fix some variable names in code.
- Added and improved explanatory text.
- Adapted to focus on creating tibbles and variables to implement focus on incidents where offender was arrested for, charged with, or convicted of one or more of the main 12 crime categories.
- Updated table and figure captions.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Declare script location via here::i_am().
- Fix file paths for SPSS data files work with updated here package.
- Add new variables for flagging ARR, CHG, JUD, & CON records associated with any of the 12 crime categories of interest.
- Improve explanatory text.
- Fix object names referenced in some comments.
- Change some case selection criteria to focus on incidents where the offender was arrested for, charged with, or convicted of one of 12 crime crime categories of interest.
- Updated
inst/Step_02_Analysis.Rmdto:- Declare script location via here::i_am().
- Updated
README.RmdandREADME.mdtask list.
- Updated
R/Data_Mgt_Functions.Rto:- Rename data arguments used by getIIDs(), getINC(), getARRs(), getCHGs(), and getJUDs().
- Add assertions to check inputs to getIIDs(), getINC(), getARRs(), getCHGs(), and getJUDs().
- Update help files for getIIDs(), getINC(), getARRs(), getCHGs(), and getJUDs().
- Updated
R/Data_Mgt_Functions.Rto:- Update getIIDs() function to solve check() warnings.
- Update getINC() function to solve check() warnings.
- Update getARRs() function to solve check() warnings
- Add getCHGs() function.
- Add getJUDs() function.
- Updated help files for several functions.
- Updated
inst/Step_03_Case_Studies.Rmdto test new functions.
- Updated
R/Data_Mgt_Functions.Rto:- Add getIIDs() function.
- Add getINC() function.
- Add getARRs() function.
- Added
inst/Step_03_Case_Studies.Rmdas initial draft of a new file. This is not yet ready for use because we need to write and test additional functions to make it easy to extract a complete case study for a specified offender.
- Updated
inst/Step_02_Analysis.Rmdto:- Finish revising Incident Counts by Crime Category section text, subheadings, and content. Add more detail tables for additional categories.
- Updated
inst/Step_02_Analysis.Rmdto:- Rename some chunks and update table references to them.
- Continue revising Incident Counts by Crime Category section text, subheadings, and content. Removed figures for criminal sexual conduct for consistency with similar sections. Add more detail tables for additional categories. This is still work in progress.
-
Updated
inst/Step_01_Data_Mgt.Rmdto:- Remove code for objects we no longer use.
-
Updated
inst/Step_02_Analysis.Rmdto:- Improve explanatory text and add table references to text.
- Expand descriptive summary tables to include "arrested, charged, or convicted" history variables.
- Add more crime category-specific frequency tables.
- Reorganize CHR Record Counts section.
- Revise text in Crime Category Counts section and add headings.
- Add chunk to create objects used for constructing dynamic text.
- Add chunk with reusable table settings.
- Revise Incident Counts by Crime Category section text, subheadings, and content. Removed figures from this section, so we rely only on tables now. Adding more detail tables for additional categories. This is still work in progress.
-
Updated
README.RmdandREADME.mdto:- Update task list.
- Remove references to piercer package.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Merge new variables into IDNEW as they are created rather than waiting until later in the script.
- Change section headings and improve explanatory text.
- Remove obsolete section Incidents with Any CHR Criminal Sexual Conduct Records.
- Add new "arrested, charged, or convicted" crime category count variables (both overall and by IWhen).
- Rename chunks to reflect revised code organization.
- Improve variable labels for NHXCat12_1 to NHXCat12_999.
- Improve code alignment for readability.
- Remove obsolete code.
- Change a table title to fix formatting problems in rest of document after the table (caused by using underscore characters in title).
- Updated
inst/Step_02_Analysis.Rmdto:- Make variable names match changes made in
inst/Step_01_Data_Mgt.Rmd. - Standardize some object names across crime category-specific sections.
- Rename chunks for clarity.
- Make variable names match changes made in
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Improve explanatory text.
- Change chunk labels for clarity.
- Revised aggregation of crime category dummy variables to offender-level incident count variables and how we merge them onto IDNEW.
- Added crime category history variables to INCEW.
- Add a table comparing HXCat12_5 to CSC_ANY.
- Aggregate crime category history variables to incident counts and merge them onto IDNEW.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Commit some changes actually made on 09/01/20.
- Add a Glossary section.
- Add a table showing crime category dummy variable names.
- Merge crime category dummy variables onto INCEW.
- Update some headings.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Add explanatory text.
- Simplify some comments in code chunks.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Rename tibbles and relabel chunks to improve clarity.
- Split the Aggregating Crime Category Dummy Variables section into multiple sections (one to incident level, another to offender level).
- Split some chunks into multiple pieces to store tibbles aggregated to the incident level for additional uses and move the remaining parts under the new section on aggregating to offender level.
- Remove RobustMax() function definition and replace it with calls to the new robustmax() function.
- Improve some comments.
- Updated
inst/Step_02_Analysis.Rmdto add draft code for expanding arson analysis to match level of detail used for criminal sexual conduct.
- Updated
inst/R/Data_Mgt_Functions.Rto add a new robustmax() function. - Updated
NAMESPACEvia document(). - Updated
man/robustmax.Rdhelp documentation via document().
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Create and merge NCSC_ANY and NCSCHistory variables (overall and split by IWhen) onto IDNEW.
- Expand the Check Assumptions section.
- Updated
inst/Step_02_Analysis.Rmdto:- Add more variables to CSC tables.
- Add more frequency table output for NCSCHistory (overall and split by IWhen).
- Improve the densityplot_CSCCOUNTS chunk and resulting plot.
- Move sme chunks and text.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Added more crime category count variables with corresponding variable labels.
- Removed calls to citation(), because they are now collected in a different script.
- Replaced missing values in more crime category count variables with zeros.
- Improved Software Information section.
- Updated
inst/Step_02_Analysis.Rmdto:- Removed calls to citation(), because they are now collected in a different script.
- Replaced descriptives and frequencies tables for overall variables with expanded tables that also show breakdowns by when incident occurred.
- Added better table captions and footnotes.
- Improved figure for offender age.
- Improved plots in CHR Record Counts section.
- Changed criteria for identifying offenders with CSC history in CHR data.
- Improved plot in Criminal Sexual Conduct section.
- Improved age at arrest for CSC table.
- Improved Software Information section.
- Added chunk labels.
- Added
inst/R_Citations.Rmdto collect all R and R package citations in one place. - Updated
README.RmdandREADME.mdtask list.
- Updated
inst/Step_02_Analysis.Rmdto:- Create incident count variables for specific crime categories that are broken down by when incident occurred relative to testing window and merge them into IDNEW.
- Change some tibble names and code chunk labels.
- Updated
README.RmdandREADME.mdtask list.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Fix variable labels assigned to aggregated variables.
- Improve heading structure.
- Improve formatting consistency.
- Updated
inst/Step_02_Analysis.Rmdto:- Expand CHR record counts table to include breakdowns by when incidents occurred relative to testing window (IWhen).
- Test a tidyverse method for getting side-by-side frequency tables for related variables (e.g., NINC, NINC_Before, NINC_During, & NINC_After).
- Updated
.Rbuildignoreto fix errors and warnings from check() and install_github(). - Updated
inst/Step_01_Data_Mgt.Rmdto:- Merge additional aggregated variables onto IDNEW, replace NA values with zeroes, and add variable labels.
- Improve explanatory text.
- Fix sme object references to tibbles.
- Added
inst/Step_02_Analysis.Rmdby copyinginst/Step_01_Data_Mgt.Rmdthen removing the data management code at the start. - Updated
inst/Step_01_Data_mgt.Rmdto:- Remove analysis code that got moved to
inst/Step_02_Analysis.Rmd. - Add code to save out data at end of script.
- Fix spelling errors.
- Rmeove the Document Information section.
- Update the Software Information section.
- Remove chunks no longer required and rename other chunks.
- Improve some table formatting.
- Create additional aggregated variables.
- Remove analysis code that got moved to
- Committed changes to
DESCRIPTIONandNEWS.mdthat were made on 2020-08-06 as par of version 0.4.3. - Updated
inst/Step_01_Data_Mgt.Rmdto:- Fix a heading's level.
- Add a new section: Merging Testing Window Variables Onto Conviction Records.
- Update the CHR Count Overview section to show record counts before vs. after case selection based on testing window data.
- Fix errors in Crime Category Count section caused by referring to original tibbles instead of the new ones that have extra variables.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Improve Software Information section, including how we get package version output and add Git commit and status information.
- Updated
README.RmdandREADME.md:- Updated installation code to pull from the GitHub main branch (because install_github() defaults to looking for branch called master, but we renamed it to main).
- Added information about folder structure.
- Updated the task list.
- Added the file
inst/extdata/Read_This_Note.txtto ensure that theinst/extdatasubfolder will exist in any repospitory ZIP files downloaded from GitHub.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Switch more code to tidyverse style.
- Replace scoped verbs like summarize_at() with newer approach based on across(), such as summarize(across()).
- Simplify method for merging extrta variables onto IDNEW.
- Fix a data selection problem that led to failing a cross-check on incident count variables.
- Rename some code chunks.
- Updated
README.RmdandREADME.mdtask list.
- Renamed default Git branch from master to main using instructions at https://stevenmortimer.com/5-steps-to-change-github-default-branch-from-master-to-main/
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Switched source used to merge testing window variables onto INC data.
- Add an extra variable to IDNEW.
- Added more output tables and improved table captions.
- Fix typos in explanatory text.
- Add sections for merging testing window variables onto CHG and JUD data.
- Move and improve code for merging NCON variable onto IDN data.
- Updated
README.RmdandREADME.mdheading structure and task list. - Updated
inst/Step_01_Data_Mgt.Rmdto:- Update heading structure.
- Change order of loading and citing R packages.
- Make code chunks & R text output use smaller font size by adding a custom chunk hook/option called cfsize.
- Improve formatting consistency for variable and tibble names in explanatory text.
- Add and improve explanatory text.
- Merge testing window variables onto ARR data.
- Improve comments in some code chunks.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Change headings to improve organization and clarity.
- Rename chunks and selected variables.
- Simplify code and improve comments.
- Merge testing window variables onto INC and ARR data.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Improve explantory text and comments in code chunks.
- Add new tables.
- Add new IWhen variable.
- Improve and rename objects for table captions and footnotes.
- Updated
inst/Step_01_Data_Mgt.Rmdto:- Improve code for computing WDate and related variables.
- Document case selection criteria for offenders with known WDate.
- Add a clean, formatted table.
- Start the section for merging WDate onto INC data.
- Add and improve explanatory text.
inst/Step_01_Data_mgt.Rmdis still in draft status, with much left to do.- Updated task list in
README.Rmd.
- Updated
inst/Step_01_Data_Mgt.Rmdto improve some explanatory text, create and examine WDate variable.
- Updated
inst/Step_01_Data_Mgt.Rmdto improve some explanatory text.
- Committed some changes actually made on 2020-05-22.
- Updated
inst/Step_01_Data_Mgt.Rmdto improve some explanatory text.
- Updated
inst/Step_01_Data_Mgt.Rmdto improve SPD import and work on identifying earliest SAK for each offender.
- Updated
inst/Step_01_Data_Mgt.Rmdto improve SPD import and create SPDE dataset.
- Updated
inst/Step_01_Data_Mgt.Rmdas follows.- Fixed computation of NCON variable.
- Updated heading structure and moved some code to different sections.
- Removed import code for data files we will not need.
- Deleted code for creating variables we will not be using.
- Added code
- Updated
inst/Step_01_Data_Mgt.Rmdas follows.- Updated more code to use tidyverse-style piped operations (still have more to do).
- Updated task list in
README.RmdandREADME.md. - Updated dfsummary() function in
R/Data_Mgt_Functions.Rto eliminate warning message when used with a data frame that does not contain an IID variable. - Updated
inst/Step_01_Data_Mgt.Rmdas follows.- Added a chunk label.
- Fixed some data import code.
- Updated some code to use tidyverse-style piped operations (still have more to do).
- Updated
inst/Step_01_Data_Mgt.Rmdas follows.- Remove chunk for installing
piercerpackage and associated text. - Use here:here() to access files.
- Switch to use tidyverse style for data import code.
- Make code more readable.
- Remove chunk for installing
- Updated
README.RmdandREADME.mdextensively. - Update
.gitignoreto ignore SPSS data files ininst/extdatasubfolder. - Added dcode() and rvlabel() to
R/Data_Mgt_Functions.R. - Updated help files for dcode() and rvlabel().
- Updated
inst/Step_01_Data_Mgt.Rmdby copying in code from previous scriptCHR_Summary_Step01_2017-01.19.Rmd, which predated the switch to a package format. Much more work remains to finish that script (and it may get renamed later).
- Updated
DESCRIPTIONfile by appending "Research Comependium" to package title.
- Added
R/Lattice_Functions.Rwith panel.mybox() and panel.mydensity() functions and corresponding help. - Added
R/Data_Mgt_Functions.Rwith dfsummary() functions and corresponding help.
- Added
inst/Step_01_Data_Mgt.Rmdscript. It is an early draft and will be revised further.
- Created the GitHub repository to store this package.
- Added
.gitignorefile. - Added
.Rbuildignorefile. - Added
DESCRIPTIONfile. - Added
NAMESPACEfile. - Added
NEWS.mdfile. - Added
README.Rmdfile and updatedREADME.mdfile. - Updated
SSACHR.projfile. - Added
instsubfolder. - Added
inst/Development_Tools.Rfile. - Added
mansubfolder. - Added
man/SSACHR-package.Rdfile. - Added
Rsubfolder. - Added
R/SSACHR-package.Rfile for package-level documentation.