Skip to content

Commit

Permalink
Style code
Browse files Browse the repository at this point in the history
  • Loading branch information
Moohan authored and github-actions[bot] committed Aug 1, 2023
1 parent 29bd7f8 commit dd1a983
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
3 changes: 2 additions & 1 deletion R/create_individual_file.R
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,8 @@ join_slf_lookup_vars <- function(individual_file,
#' @param year financial year.
#' @param sc_client SC client lookup
#' @param sc_demographics SC Demographic lookup
join_sc_client <- function(individual_file,
join_sc_client <- function(
individual_file,
year,
sc_client = read_file(get_source_extract_path(year, "Client")),
sc_demographics = read_file(get_sc_demog_lookup_path(),
Expand Down
3 changes: 2 additions & 1 deletion R/process_lookup_gpprac.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
#' @return the final data as a [tibble][tibble::tibble-package].
#' @export
#' @family process extracts
process_lookup_gpprac <- function(open_data = get_gpprac_opendata(),
process_lookup_gpprac <- function(
open_data = get_gpprac_opendata(),
gpprac_ref_path = get_gpprac_ref_path(),
spd_path = get_spd_path(),
write_to_disk = TRUE) {
Expand Down
5 changes: 2 additions & 3 deletions R/read_lookup_sc_client.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
#' @return the final data as a [tibble][tibble::tibble-package].
#' @export
#' @family process extracts
read_lookup_sc_client <- function(
fyyear,
sc_dvprod_connection = phs_db_connection(dsn = "DVPROD")) {
read_lookup_sc_client <- function(fyyear,
sc_dvprod_connection = phs_db_connection(dsn = "DVPROD")) {
check_year_format(fyyear)
year <- convert_fyyear_to_year(fyyear)

Expand Down
3 changes: 1 addition & 2 deletions R/read_lookup_sc_demographics.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
#' @return a [tibble][tibble::tibble-package]
#' @export
#'
read_lookup_sc_demographics <- function(
sc_connection = phs_db_connection(dsn = "DVPROD")) {
read_lookup_sc_demographics <- function(sc_connection = phs_db_connection(dsn = "DVPROD")) {
sc_demog <- dplyr::tbl(
sc_connection,
dbplyr::in_schema("social_care_2", "demographic_snapshot")
Expand Down
3 changes: 1 addition & 2 deletions R/read_sc_all_alarms_telecare.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
#'
#' @export
#'
read_sc_all_alarms_telecare <- function(
sc_dvprod_connection = phs_db_connection(dsn = "DVPROD")) {
read_sc_all_alarms_telecare <- function(sc_dvprod_connection = phs_db_connection(dsn = "DVPROD")) {
# Read in data---------------------------------------

## read in data - social care 2 demographic
Expand Down

0 comments on commit dd1a983

Please sign in to comment.