-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
85 lines (65 loc) · 1.94 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
eval = FALSE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# susoreview <img src='man/figures/logo.png' align="right" height="139" />
<!-- badges: start -->
<!-- badges: end -->
The goal of susoreview is to offer tools for the process of automating review and rejection of interviews. The tools span the full pipeline of that process:
- Creating attributes, developed from microdata and used for identifying issues;
- Creating issues, devised from one or more attribute or directly from serious flaws in the data; and
- Executing reject/review workflow, by:
+ adding issues based on interview metadata (e.g., number of unanswered questions)
+ checking for relevant comments that require review before rejection
+ flagging persistent issues that require actions outside of rejection
+ constructing rejection messages from all issues relevant for an interview
+ posting comments to specific questions of the questionnaire
+ rejecting the interviews via the appropriate API endpoint as a function of each interview's status
## Installation
The package is not yet on CRAN, but can be installed via the following command:
``` r
# install.packages("devtools")
devtools::install_github("arthur-shaw/susoreview")
```
## Usage
### Scope
- Create attributes
- Create issues
- Execute reject/review workflow
### Create attributes
```{r, include=FALSE}
extract_attribute
create_attribute
count_vars
count_list
any_vars
count_obs
any_obs
sum_vals
```
### Create issues
```{r, include=FALSE}
create_issue
make_issue
make_issue_in_roster
```
### Execute reject/review workflow
```{r, include=FALSE}
add_issue_if_unanswered
add_issues_for_suso_errors
check_for_comments
decide_action
add_rejection_msgs
flag_persistent_issues
post_comments
reject_interview
```