Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename datazone to datazone2011 #744

Merged
merged 3 commits into from
Jul 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ hms
homecare
hscp
hscpnames
IDPC
infyyear
ipdc
itle
Expand All @@ -100,6 +101,7 @@ keydate
keyring
keytime
keytimex
kis
los
ltc
ltcs
Expand Down
2 changes: 1 addition & 1 deletion R/fill_geographies.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fill_geographies <- function(data) {
"hbrescode",
"hscp",
"lca",
"datazone",
"datazone2011",
"hbpraccode",
"hbtreatcode",
"gpprac"
Expand Down
2 changes: 1 addition & 1 deletion R/process_extract_acute.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ process_extract_acute <- function(data, year, write_to_disk = TRUE) {
"hbrescode",
"lca",
"hscp",
"datazone",
"datazone2011",
"location",
"hbtreatcode",
"yearstay",
Expand Down
2 changes: 1 addition & 1 deletion R/process_extract_district_nursing.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ process_extract_district_nursing <- function(
"gender",
"gpprac",
"postcode",
"datazone",
"datazone2011",
"lca",
"hscp",
"hbrescode",
Expand Down
2 changes: 1 addition & 1 deletion R/process_extract_gp_ooh.R
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ process_extract_gp_ooh <- function(year, data_list, write_to_disk = TRUE) {
"gpprac",
"postcode",
"hbrescode",
"datazone",
"datazone2011",
"hscp",
"hbtreatcode",
"location",
Expand Down
2 changes: 1 addition & 1 deletion R/process_extract_mental_health.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ process_extract_mental_health <- function(data, year, write_to_disk = TRUE) {
"hbrescode",
"lca",
"hscp",
"datazone",
"datazone2011",
"location",
"hbtreatcode",
"stay",
Expand Down
2 changes: 1 addition & 1 deletion R/read_extract_acute.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ read_extract_acute <- function(year, file_path = get_boxi_extract_path(year = ye
disch = "Discharge Type Code",
falls_adm = "Falls Related Admission (01)",
lca = "Geo Council Area Code",
datazone = "Geo Data Zone 2011",
datazone2011 = "Geo Data Zone 2011",
postcode = "Geo Postcode [C]",
hscp = "Geo HSCP of Residence Code - current",
conc = "Lead Consultant/HCP Code",
Expand Down
2 changes: 1 addition & 1 deletion R/read_extract_district_nursing.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ read_extract_district_nursing <- function(
lca = "Patient Council Area Code (Contact)",
postcode = "Patient Postcode [C] (Contact)",
gpprac = "Practice Code (Contact)",
datazone = "Patient Data Zone 2011 (Contact)",
datazone2011 = "Patient Data Zone 2011 (Contact)",
hbpraccode = "Practice NHS Board Code 9 (Contact)",
hbtreatcode = "Treatment NHS Board Code 9",
chi = "UPI Number [C]",
Expand Down
2 changes: 1 addition & 1 deletion R/read_extract_mental_health.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ read_extract_mental_health <- function(
hbrescode = "NHS Board of Residence Code - current",
lca = "Geo Council Area Code",
hscp = "Geo HSCP of Residence Code - current",
datazone = "Geo Data Zone 2011",
datazone2011 = "Geo Data Zone 2011",
location = "Treatment Location Code",
hbtreatcode = "Treatment NHS Board Code - current",
yearstay = "Occupied Bed Days (04)",
Expand Down
2 changes: 1 addition & 1 deletion R/read_extract_nrs_deaths.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ read_extract_nrs_deaths <- function(
dplyr::rename(
death_location_code = "Death Location Code",
lca = "Geo Council Area Code",
datazone = "Geo Data Zone 2011",
datazone2011 = "Geo Data Zone 2011",
postcode = "Geo Postcode [C]",
hscp = "Geo HSCP of Residence Code - current",
death_board_occurrence = "NHS Board of Occurrence Code - current",
Expand Down
2 changes: 1 addition & 1 deletion R/read_extract_ooh_consultations.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ read_extract_ooh_consultations <- function(
postcode = "Patient Postcode [C]",
hbrescode = "Patient NHS Board Code 9 - current",
hscp = "HSCP of Residence Code Current",
datazone = "Patient Data Zone 2011",
datazone2011 = "Patient Data Zone 2011",
gpprac = "Practice Code",
ooh_case_id = "GUID",
attendance_status = "Consultation Recorded",
Expand Down
2 changes: 1 addition & 1 deletion R/run_episode_file.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ run_episode_file <- function(processed_data_list, year, write_to_disk = TRUE) {
"cij_dis_spec",
"cost_total_net",
"hscp",
"datazone",
"datazone2011",
"attendance_status",
"deathdiag1",
"deathdiag2",
Expand Down