Skip to contents

This will read and process the gpprac lookup, it will return the final data and also write this out to disk.

Usage

process_lookup_gpprac(
  open_data = get_gpprac_opendata(),
  gpprac_ref_path = get_gpprac_ref_path(),
  spd_path = get_spd_path(),
  write_to_disk = TRUE
)

Arguments

open_data

PHS open dataset link to GP practice details

gpprac_ref_path

Path to GP Practice reference file

spd_path

Path to Scottish Postcode Directory.

write_to_disk

(optional) Should the data be written to disk default is TRUE i.e. write the data to disk.

Value

the final data as a tibble.