Skip to content

Commit

Permalink
Sort the list of 'applicable datasets' for easier maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
Moohan committed Aug 1, 2024
1 parent 5748bfe commit 40d7d3f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions R/get_latest_resource.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,14 @@ get_latest_resource <- function(dataset_name,
col_select = NULL,
include_context = FALSE) {
applicable_datasets <- c(
"gp-practice-populations", "gp-practice-contact-details-and-list-sizes",
"nhsscotland-payments-to-general-practice", "dental-practices-and-patient-registrations",
"general-practitioner-contact-details", "prescribed-dispensed",
"dispenser-location-contact-details", "community-pharmacy-contractor-activity"
"community-pharmacy-contractor-activity",
"dental-practices-and-patient-registrations",
"dispenser-location-contact-details",
"general-practitioner-contact-details",
"gp-practice-contact-details-and-list-sizes",
"gp-practice-populations",
"nhsscotland-payments-to-general-practice",
"prescribed-dispensed"
)

# check if data set is within applicable datasets
Expand Down

0 comments on commit 40d7d3f

Please sign in to comment.