-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
174 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,101 @@ | ||
# Demographics (categorical) work when strata provided | ||
# Demographics (categorical) work when strata is provided | ||
|
||
Code | ||
actual_total | ||
Output | ||
label qualifiers value description | ||
<char> <fctr> <num> <char> | ||
1: n_non_missing AGEGR1 85 Demographics | ||
2: n_missing AGEGR1 1 Demographics | ||
3: n_non_missing SEX 82 Demographics | ||
4: n_missing SEX 4 Demographics | ||
{ | ||
"type": "list", | ||
"attributes": { | ||
"names": { | ||
"type": "character", | ||
"attributes": {}, | ||
"value": ["label", "qualifiers", "value", "description"] | ||
}, | ||
"row.names": { | ||
"type": "integer", | ||
"attributes": {}, | ||
"value": [1, 2, 3, 4] | ||
}, | ||
"class": { | ||
"type": "character", | ||
"attributes": {}, | ||
"value": ["data.frame"] | ||
} | ||
}, | ||
"value": [ | ||
{ | ||
"type": "character", | ||
"attributes": {}, | ||
"value": ["n_non_missing", "n_missing", "n_non_missing", "n_missing"] | ||
}, | ||
{ | ||
"type": "integer", | ||
"attributes": { | ||
"levels": { | ||
"type": "character", | ||
"attributes": {}, | ||
"value": ["AGEGR1", "SEX"] | ||
}, | ||
"class": { | ||
"type": "character", | ||
"attributes": {}, | ||
"value": ["factor"] | ||
} | ||
}, | ||
"value": [1, 1, 2, 2] | ||
}, | ||
{ | ||
"type": "double", | ||
"attributes": {}, | ||
"value": [85, 1, 82, 4] | ||
}, | ||
{ | ||
"type": "character", | ||
"attributes": {}, | ||
"value": ["Demographics", "Demographics", "Demographics", "Demographics"] | ||
} | ||
] | ||
} | ||
|
||
--- | ||
|
||
Code | ||
actual_f | ||
Output | ||
label description qualifiers value | ||
<char> <char> <char> <num> | ||
1: n_non_missing Demographics <NA> 52 | ||
{ | ||
"type": "list", | ||
"attributes": { | ||
"names": { | ||
"type": "character", | ||
"attributes": {}, | ||
"value": ["label", "description", "qualifiers", "value"] | ||
}, | ||
"row.names": { | ||
"type": "integer", | ||
"attributes": {}, | ||
"value": [1] | ||
}, | ||
"class": { | ||
"type": "character", | ||
"attributes": {}, | ||
"value": ["data.frame"] | ||
} | ||
}, | ||
"value": [ | ||
{ | ||
"type": "character", | ||
"attributes": {}, | ||
"value": ["n_non_missing"] | ||
}, | ||
{ | ||
"type": "character", | ||
"attributes": {}, | ||
"value": ["Demographics"] | ||
}, | ||
{ | ||
"type": "character", | ||
"attributes": {}, | ||
"value": [null] | ||
}, | ||
{ | ||
"type": "double", | ||
"attributes": {}, | ||
"value": [52] | ||
} | ||
] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters