Skip to content

Commit

Permalink
#1 Change fx names
Browse files Browse the repository at this point in the history
  • Loading branch information
statasaurus committed Feb 2, 2022
1 parent 52515dd commit 3447850
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export(create_subgrps)
export(create_var_from_codelist)
export(drop_unspec_vars)
export(metatools_example)
export(sort_key)
export(sort_order)
export(order_cols)
export(sort_by_key)
importFrom(dplyr,"%>%")
importFrom(dplyr,across)
importFrom(dplyr,all_of)
Expand Down
8 changes: 4 additions & 4 deletions R/sort.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#' spec <- define_to_metacore(metacore_example("ADaM_define.xml"), quiet = TRUE) %>%
#' select_dataset("ADSL")
#' data <- read_xpt(metatools_example("adsl.xpt"))
#' sort_order(data, spec)
sort_order <- function(data, metacore, dataset_name = NULL) {
#' order_cols(data, spec)
order_cols <- function(data, metacore, dataset_name = NULL) {
metacore <- make_lone_dataset(metacore, dataset_name)
var_ord <- metacore$ds_vars %>%
filter(!is.na(.data$order)) %>%
Expand Down Expand Up @@ -55,8 +55,8 @@ sort_order <- function(data, metacore, dataset_name = NULL) {
#' spec <- define_to_metacore(metacore_example("ADaM_define.xml"), quiet = TRUE) %>%
#' select_dataset("ADSL")
#' data <- read_xpt(metatools_example("adsl.xpt"))
#' sort_key(data, spec)
sort_key <- function(data, metacore, dataset_name = NULL) {
#' sort_by_key (data, spec)
sort_by_key <- function(data, metacore, dataset_name = NULL) {
metacore <- make_lone_dataset(metacore, dataset_name)
var_ord <- metacore$ds_vars %>%
filter(!is.na(.data$key_seq)) %>%
Expand Down
8 changes: 4 additions & 4 deletions man/sort_order.Rd → man/order_cols.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions man/sort_key.Rd → man/sort_by_key.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3447850

Please sign in to comment.