Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of hardcode_no_ct(), hardcode_ct(), assign_no_ct() and assign_ct() #41

Merged
merged 68 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
1c4501f
First mockup of `hardcode_no_ct()`
ramiromagno Feb 8, 2024
faef0b1
Update `hardcode_no_ct()`
ramiromagno Feb 17, 2024
fd63b37
Align `hardcode_no_ct()` code style with Ramm's expectations
ramiromagno Feb 21, 2024
80d3943
Add `hardcode_*()` and `assign_*()` functions
ramiromagno Feb 22, 2024
ec5a9e4
hardcode_no_ct algorithm code changes (#45)
rammprasad Mar 13, 2024
0333d95
Add `oak_id_vars()`
ramiromagno Mar 14, 2024
7fd7716
Fix typo in `recode()`
ramiromagno Mar 14, 2024
802aacc
Simplify `oak_id_vars()` docs
ramiromagno Mar 14, 2024
7fd07b4
Update `assign_*` and `hardcode_*` implementations
ramiromagno Mar 14, 2024
9cc26d1
Introduce memoisation of `ct_mappings()`
ramiromagno Mar 14, 2024
329feaa
Update of README introductory paragraph
ramiromagno Mar 14, 2024
29be830
Merge from main
ramiromagno Mar 14, 2024
7720c05
Update hardcode_* functions' interface
ramiromagno Mar 24, 2024
e87ca66
Add `contains_oak_id_vars()` function
ramiromagno Mar 24, 2024
a5e61f0
Update `contains_oak_id_vars()` doc examples
ramiromagno Mar 24, 2024
a60ccd6
Update `sdtm_harcode()` and dependant functions
ramiromagno Mar 24, 2024
cd89804
Update `assign_*` and `hardcore_*` related functions
ramiromagno Mar 25, 2024
ae2da80
Automatic renv profile update.
ramiromagno Mar 25, 2024
30857e3
Automatic renv profile update.
ramiromagno Mar 25, 2024
73ebe2d
Make `ct` and `cl` parameters mandatory for `assign_ct()`
ramiromagno Mar 27, 2024
0eb4677
Add functions ct importing
ramiromagno Mar 27, 2024
dfd7710
Bring `hardcode*()` and `assign*()` related assertions closer to user…
ramiromagno Mar 27, 2024
6652aae
Add lagging behind Rd for `ct_example()`
ramiromagno Mar 27, 2024
59bcc71
Add `assert_ct()`
ramiromagno Mar 27, 2024
7f9f388
Add ct assertions
ramiromagno Mar 27, 2024
4c81ae1
Merge branch '0040_hardcode_no_ct' of github.com:pharmaverse/sdtm.oak…
ramiromagno Mar 27, 2024
4ed5c41
Remove R/.gitkeep
ramiromagno Apr 1, 2024
ca26d22
Add unit tests for `ct_vars()`
ramiromagno Apr 1, 2024
0456d55
Update dependencies
ramiromagno Apr 1, 2024
0e1eab4
Export `ct_vars()`
ramiromagno Apr 1, 2024
84a4f7d
Update `assert_ct()` docs
ramiromagno Apr 1, 2024
7cf1072
Clarify `assign_ct()`/`assign_no_ct()` doc
ramiromagno Apr 1, 2024
7dff0aa
Improve grammar in doc
ramiromagno Apr 1, 2024
cb2f2e8
Remove last empty line from ct example file
ramiromagno Apr 1, 2024
454b7d8
Add documentation to `sdtm_assign()` and ct-related unit tests
ramiromagno Apr 1, 2024
fafe01b
Update hardcode-related fns
ramiromagno Apr 1, 2024
3a4b355
Changes to meet linter issues
ramiromagno Apr 1, 2024
37575b2
Code reformatting
ramiromagno Apr 1, 2024
c176654
Code reflow
ramiromagno Apr 1, 2024
dafcfef
Improve `assert_cl()` docs
ramiromagno Apr 1, 2024
e128779
Update `read_ct()` docs
ramiromagno Apr 1, 2024
0895764
Automatic renv profile update.
ramiromagno Apr 1, 2024
339039e
Automatic renv profile update.
ramiromagno Apr 1, 2024
ab9db14
Add units tests for `recode()`
ramiromagno Apr 1, 2024
52c52fa
Remove `are_to_recode()` function
ramiromagno Apr 1, 2024
229c0bd
Add units tests for `assert_ct()`
ramiromagno Apr 1, 2024
c83bfdf
Add one more test for `assert_ct()`
ramiromagno Apr 1, 2024
a362578
Add a basic unit test for `ct_mappings()`
ramiromagno Apr 1, 2024
934a15c
Fill in some doc details of ct-related functions
ramiromagno Apr 2, 2024
0dcf0fc
Remove leftover doc text in `assign`
ramiromagno Apr 2, 2024
a44c865
Update website's reference
ramiromagno Apr 2, 2024
efb423f
Styling update
ramiromagno Apr 2, 2024
365fa09
Bump version and update NEWS
ramiromagno Apr 2, 2024
b267610
Fix a few lintr issues
ramiromagno Apr 2, 2024
cbd38eb
Merge branch '0040_hardcode_no_ct' of github.com:pharmaverse/sdtm.oak…
ramiromagno Apr 2, 2024
9cb23f5
Add examples to `ct_map()` doc
ramiromagno Apr 2, 2024
1bebdd8
Fix typo in `problems()` doc
ramiromagno Apr 2, 2024
a8f1bf5
Fix typo
ramiromagno Apr 2, 2024
5987684
Remove lint issues
ramiromagno Apr 3, 2024
2791ef0
Replace `.data` usage in tidyselect expressions
ramiromagno Apr 3, 2024
2a8dbf5
Variable renaming
ramiromagno Apr 4, 2024
a718207
Finish pending renaming of variables
ramiromagno Apr 4, 2024
8cc8dcb
Rename code-list to codelist
ramiromagno Apr 4, 2024
609b60e
Fix style
ramiromagno Apr 4, 2024
e8beefc
Fix style
ramiromagno Apr 4, 2024
42d4d5a
Update `ct_map()` doc example
ramiromagno Apr 10, 2024
66644eb
Make tibbles more readable in doc examples
ramiromagno Apr 10, 2024
bb2e0d2
Rename `ct_cltc` to `ct_clst`
ramiromagno Apr 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ Imports:
purrr (>= 0.3.3),
rlang (>= 0.4.4),
stringr (>= 1.4.0),
tibble
tibble,
tidyr,
vctrs
Suggests:
knitr,
rmarkdown,
Expand Down
8 changes: 8 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
# Generated by roxygen2: do not edit by hand

S3method(print,iso8601)
export(assign_ct)
export(assign_no_ct)
export(create_iso8601)
export(ct_map)
export(fmt_cmp)
export(hardcode_ct)
export(hardcode_no_ct)
export(problems)
importFrom(rlang,"%||%")
importFrom(rlang,":=")
importFrom(rlang,.data)
importFrom(stats,na.omit)
importFrom(tibble,tibble)
Loading
Loading