Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
RayStick committed Jul 8, 2024
1 parent 9cad2f6 commit 7fac9ed
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated by roxygen2: do not edit by hand

export(compare_csv_outputs)
export(compare_sessions)
export(domain_mapping)
export(user_categorisation)
import(cli)
Expand Down
6 changes: 3 additions & 3 deletions R/compare_csv_outputs.R → R/compare_sessions.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' compare_csv_outputs
#' compare_sessions
#'
#' This function is to be used after running the domain_mapping function. \cr \cr
#' It compares outputs from two sessions, finds their differences, and asks for a consensus. \cr \cr
#' It compares csv outputs from two sessions, finds their differences, and asks for a consensus. \cr \cr
#'
#' @param session_dir This directory should contain 2 csv files for each session (LOG_ and OUTPUT_), 4 csv files in total.
#' @param session1_base Base file name for session 1 e.g. 'NationalCommunityChildHealthDatabase(NCCHD)_BLOOD_TEST_2024-07-05_16-07-38.599493'
Expand All @@ -12,7 +12,7 @@
#' @importFrom dplyr left_join select join_by
#' @export

compare_csv_outputs <- function(session_dir,session1_base,session2_base,json_file,domain_file) {
compare_sessions <- function(session_dir,session1_base,session2_base,json_file,domain_file) {

timestamp_now <- gsub(" ", "_", Sys.time())
timestamp_now <- gsub(":", "-", timestamp_now)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ The lookup file:

The csv output file containing the categorisation for each data element could be used as an input in later analysis steps to filter variables and visualise how each variable maps to research domains of interest.

Categorisations across researchers can be compared by using the function [R/compare_csv_outputs.R](R/compare_csv_outputs.R). Type `?compare_csv_outputs` to read the manual on how to run this function. In brief, it compares outputs from two sessions, finds their differences, and asks for a consensus.
Categorisations across researchers can be compared by using the function [R/compare_sessions.R](R/compare_sessions.R). Type `?compare__sessions` to read the manual on how to run this function. In brief, it compares csv outputs from two sessions, finds their differences, and asks for a consensus.

## License

Expand Down
12 changes: 6 additions & 6 deletions man/compare_csv_outputs.Rd → man/compare_sessions.Rd

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

0 comments on commit 7fac9ed

Please sign in to comment.