Skip to content

Commit

Permalink
edit description for professional and procedure_select
Browse files Browse the repository at this point in the history
  • Loading branch information
xilinchen committed Oct 13, 2020
1 parent 9479414 commit 063c139
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
^.*\.Rproj$
^\.Rproj\.user$
^LICENSE\.md$
^_pkgdown\.yml$
^docs$
^pkgdown$
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@

.DS_Store
inst/doc
docs
5 changes: 3 additions & 2 deletions R/procedure_selection.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
#' @param std_data_root professional claim data location
#' @param prof_codes_folder professional claim folder name
#' @param cpt_map should include 3 variable: cpt_cd, e_proc_grp and e_proc_grp_lbl
#' @param test_sas_processed_data_loc this is for testing, only assign value when you wnat to test.
#' Otherwise leave it NA. When testing assign the location of sas pre processed prof_clm data.
#' @param test_sas_processed_data_loc this is for testing, only assign value when you want to test,
#' eg. compare the processing results with SAS code Zhaohui Fan created.
#' Otherwise leave it NA. When testing, assign the location of sas pre processed prof_clm data.
#' eg. "/Volumes/George_Surgeon_Projects/medicare_data/sample_npct_std/prof_clm.sas7bdat"
#'
#' @return
Expand Down
7 changes: 5 additions & 2 deletions R/professionals.R
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
#' Read in physicains npi data
#' Read in physicians npi data
#' @description used in step3_professional
#' combine all years physician to one dataset and delete who have missing NPI
#'
#' @param year year of medicare data
#' @param data_file_name original medicare dataset names
#' @param schema defined in csv file. defult is "professional"
#' @param schema defined in csv file. default is "professional"
#' @param src_root locations of carrier line on database
#' @param mapping_data: select medicare original vars to mapped vars
#'
#' @return combined physician NPI across years
#' @export
#' @details 1.read all NPIs info across years from carrier line file
#' 2. rename NPI variable
#' 3. Combine all NPIs and delete NA values
#'
#' @examples
professionals <- function(year, data_file_name, schema, src_root, mapping_data = import_mapping) {
Expand Down
Empty file added _pkgdown.yml
Empty file.
5 changes: 3 additions & 2 deletions man/procedure_selection.Rd

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

9 changes: 7 additions & 2 deletions man/professionals.Rd

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

0 comments on commit 063c139

Please sign in to comment.