Skip to content

Commit

Permalink
- removed dependencies: rmarkdown, covr
Browse files Browse the repository at this point in the history
- removed functions: taxonomy_codes, georgia_reassignments

- deleted inst directory containing pins files
  • Loading branch information
andrewallenbruce committed Dec 4, 2024
1 parent 5d49021 commit 807418c
Show file tree
Hide file tree
Showing 14 changed files with 35 additions and 258 deletions.
2 changes: 0 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ Imports:
vctrs,
zeallot
Suggests:
covr,
data.table,
fipio,
fontawesome,
Expand All @@ -45,7 +44,6 @@ Suggests:
htmltools,
httptest2,
knitr,
rmarkdown,
roxyglobals,
rvest,
sf,
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export(ror)
export(rx_years)
export(rxnorm)
export(summary_stats)
export(taxonomy_codes)
export(taxonomy_crosswalk)
export(tidyup)
export(util_years)
Expand Down
45 changes: 0 additions & 45 deletions R/generated-globals.R
Original file line number Diff line number Diff line change
Expand Up @@ -104,28 +104,14 @@ utils::globalVariables(c(
# <rbcs_util>
# <quality_payment>
"category",
# <taxonomy_codes>
"Category",
# <open_payments>
"category_1",
# <taxonomy_codes>
"Category_Level",
# <mips_2021>
"ccxp_ind",
# <download_nucc_csv>
"classification",
# <taxonomy_codes>
"Classification",
# <taxonomy_codes>
"Classification_Level",
# <laboratories>
"clia_number",
# <laboratories>
"cmplnc_stus_cd",
# <download_nucc_csv>
"code",
# <taxonomy_codes>
"Code",
# <laboratories>
"cola",
# <mips_2021>
Expand Down Expand Up @@ -154,17 +140,12 @@ utils::globalVariables(c(
"current_clia_lab_clsfctn_cd",
# <open_ids>
"data",
# <download_nucc_csv>
"definition",
# <gt_datadict>
"Definition",
# <cms_dataset_search>
"description",
# <taxonomy_codes>
# <gt_datadict>
"Description",
# <download_nucc_csv>
"display_name",
# <cms_update>
# <open_ids>
"distribution",
Expand Down Expand Up @@ -218,19 +199,13 @@ utils::globalVariables(c(
"group_id",
# <reassignments>
"group_state_code",
# <taxonomy_codes>
"Grouping",
# <taxonomy_codes>
"Grouping_Level",
# <cols_qelig>
"grp_status",
# <tidyup_provider.util>
"hcc_risk_avg",
# <rbcs_util>
# <compare_hcpcs>
"hcpcs",
# <taxonomies>
"hierarchy",
# <medline>
"html",
# <cms_update>
Expand Down Expand Up @@ -261,8 +236,6 @@ utils::globalVariables(c(
# <tidyup_drug.rx>
# <tidyup_service.util>
"level",
# <taxonomy_codes>
"Level",
# <ror>
"lg",
# <hospitals>
Expand Down Expand Up @@ -370,17 +343,9 @@ utils::globalVariables(c(
"rndrng_prvdr_geo_lvl",
# <quality_payment>
"score",
# <download_nucc_csv>
"section",
# <open_ids>
# <quality_payment>
"set",
# <download_nucc_csv>
"specialization",
# <taxonomy_codes>
"Specialization",
# <taxonomy_codes>
"Specialization_Level",
# <tidyup_provider.util>
# <tidyup_service.util>
"specialty",
Expand Down Expand Up @@ -423,16 +388,6 @@ utils::globalVariables(c(
"subtotal",
# <medline>
"summary._value",
# <taxonomy_codes>
"taxonomy_category",
# <taxonomy_codes>
"taxonomy_classification",
# <taxonomy_codes>
"taxonomy_code",
# <taxonomy_codes>
"taxonomy_grouping",
# <taxonomy_codes>
"taxonomy_specialization",
# <quality_eligibility>
"timelength_days",
# <cms_update>
Expand Down
35 changes: 13 additions & 22 deletions R/reassignments.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@
#'
#' *Update Frequency:* **Monthly**
#'
#' @param npi < *integer* > __Individual__ 10-digit National Provider Identifier
#' @param pac < *integer* > __Individual__ 10-digit PECOS Associate Control ID
#' @param enid < *character* > __Individual__ 15-digit Medicare Enrollment ID
#' @param first,last < *character* > __Individual__ Provider's name
#' @param state < *character* > __Individual__ Enrollment state abbreviation
#' @param specialty < *character* > __Individual__ Enrollment specialty
#' @param organization < *character* > __Organizational__ Legal business name
#' @param pac_org < *integer* > __Organizational__ 10-digit PECOS Associate Control ID
#' @param enid_org < *character* > __Organizational__ 15-digit Medicare Enrollment ID
#' @param state_org < *character* > __Organizational__ Enrollment state abbreviation
#' @param entry < *character* > Entry type, reassignment (`"R"`) or employment (`"E"`)
#' @param tidy < *boolean* > // __default:__ `TRUE` Tidy output
#' @param na.rm < *boolean* > // __default:__ `TRUE` Remove empty rows and columns
#' @param npi `<chr>` __Individual__ 10-digit National Provider Identifier
#' @param pac `<chr>` __Individual__ 10-digit PECOS Associate Control ID
#' @param enid `<chr>` __Individual__ 15-digit Medicare Enrollment ID
#' @param first,last `<chr>` __Individual__ Provider's name
#' @param state `<chr>` __Individual__ Enrollment state abbreviation
#' @param specialty `<chr>` __Individual__ Enrollment specialty
#' @param organization `<chr>` __Organizational__ Legal business name
#' @param pac_org `<chr>` __Organizational__ 10-digit PECOS Associate Control ID
#' @param enid_org `<chr>` __Organizational__ 15-digit Medicare Enrollment ID
#' @param state_org `<chr>` __Organizational__ Enrollment state abbreviation
#' @param entry `<chr>` Entry type, reassignment (`"R"`) or employment (`"E"`)
#' @param tidy `<lgl>` // __default:__ `TRUE` Tidy output
#' @param na.rm `<chr>` // __default:__ `TRUE` Remove empty rows and columns
#' @param ... Empty
#'
#' @return A [tibble][tibble::tibble-package] with the columns:
Expand Down Expand Up @@ -173,12 +173,3 @@ fct_record <- function(x) {
levels = c("Physician Assistant", "Reassignment"),
labels = c("Employment", "Reassignment"))
}

#' @autoglobal
#' @noRd
# nocov start
georgia_reassignments <- function() {
pins::board_url(github_raw("andrewallenbruce/provider/main/pkgdown/assets/pins-board/")) |>
pins::pin_read("georgia_reassignments")
}
# nocov end
9 changes: 9 additions & 0 deletions data-raw/deprecated/mount_board.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,12 @@ mount_board <- function(source = c("local", "remote")) {
)
)
}

#' @autoglobal
#' @noRd
# nocov start
georgia_reassignments <- function() {
pins::board_url(github_raw("andrewallenbruce/provider/main/pkgdown/assets/pins-board/")) |>
pins::pin_read("georgia_reassignments")
}
# nocov end
File renamed without changes.
4 changes: 0 additions & 4 deletions inst/extdata/pins/_pins.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions inst/extdata/pins/taxlong/20240409T213644Z-972c7/data.txt

This file was deleted.

Binary file not shown.
10 changes: 0 additions & 10 deletions inst/extdata/pins/taxonomy/20240409T213637Z-1a818/data.txt

This file was deleted.

Binary file not shown.
26 changes: 13 additions & 13 deletions man/reassignments.Rd

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

Loading

0 comments on commit 807418c

Please sign in to comment.