rmgpanw / ukbwranglr

R package for UK Biobank data wrangling.
https://rmgpanw.github.io/ukbwranglr/
Other
14 stars 1 forks source link

The "download_url" updated #6

Closed statpng closed 1 year ago

statpng commented 1 year ago

The download_url was updated in UK biobank from https://biobank.ctsu.ox.ac.uk/ to https://biobank.ndph.ox.ac.uk/. The corresponding two functions are as follows:

get_ukb_codings <- function(path = NULL) {
  get_ukb_data_dict_codings_helper(
    path = path,
    env_var_name = "UKB_CODINGS",
    file_name = "Codings.tsv",
    download_url = "https://biobank.ctsu.ox.ac.uk/~bbdatan/Codings.tsv"
  )
}
get_ukb_data_dict <- function(path = NULL) {
  get_ukb_data_dict_codings_helper(
    path = path,
    env_var_name = "UKB_DATA_DICT",
    file_name = "Data_Dictionary_Showcase.tsv",
    download_url = "https://biobank.ctsu.ox.ac.uk/~bbdatan/Data_Dictionary_Showcase.tsv"
  )
}
rmgpanw commented 1 year ago

Hi again! Thanks, I've updated this now