Table 2.
Step | Process | Description |
---|---|---|
1 | Developing statistical code | Using text editor of choice, write statistical code in R/R Markdown, SAS, Stata, and/or Python. Code files should run without error before use with StatTag |
2 | Associating a code file | Using StatTag, associate one or more code files with the Word document |
3 | Defining tags (tagging) |
Using StatTag, identify results (numeric value, table, figure, or verbatim output) within a code file to embed within the Word document or Using text editor of choice, identify results (numeric value, table figure or verbatim output) within the code file using specially formatted comments |
4 | Inserting tags | Using StatTag, insert tags into user defined locations in the Word document. Tags that are copied and pasted retain their links to the statistical code and will update accordingly |
5 | Working collaboratively | Working in Word, share and edit document with collaborators as needed, using track changes and comments. Collaborators wishing to only modify the Word document do not need to have StatTag installed. Any collaborator with access to the source code and data can add or update tags using the exact same process |
6 | Updating results | Using StatTag, update results within the Word document |