Get path to dummy UK Biobank Resource 592 file
Source:R/database-dummy.R
dummy_ukb_resource_592_path.RdReturns the file path to a subset of UK Biobank Resource 592
(all_lkps_maps_v4.xlsx, resource 592) included in the
package for testing and examples.
This is a subset of the full UKB Resource 592 file, containing a reduced
set of codes suitable for unit tests and documentation examples. For
production use, download the full file using get_ukb_resource_592().
See also
get_ukb_resource_592()to download the full UKB Resource 592 fileread_ukb_resource_592()to read the file
Examples
# Get path to dummy file
dummy_ukb_resource_592_path()
#> [1] "/home/runner/work/_temp/Library/codeminer/extdata/all_lkps_maps_v4.xlsx"
# Use in read_ukb_resource_592()
result <- read_ukb_resource_592(
path = dummy_ukb_resource_592_path(),
sheets = "icd10_lkp"
)
#> Reading 1 selected table from UKB Resource 592
#>