get_file: Get a patient file from the server and save it locally in...

View source: R/client.R

get_fileR Documentation

Get a patient file from the server and save it locally in getwd().

Description

Get a patient file from the server and save it locally in getwd().

Usage

get_file(url, filename)

Arguments

url

A uri representing the location of the file on the Thrive server Use 'get_patient_file_list' to get the proper url and filename for files associated with a patient

filename

filename to save data to locally

Value

A string representing the location of the file locally

Examples

get_file("http://localhost:3001/files/patient/628/ed2b036a-63ea-4d0a-84b9-ea1cc7109db0/image%20(1).png",
                            "image (1).png")

insilica/thriver documentation built on March 26, 2022, 1:46 a.m.