get_file | R Documentation |
Get a patient file from the server and save it locally in getwd().
get_file(url, filename)
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 |
A string representing the location of the file locally
get_file("http://localhost:3001/files/patient/628/ed2b036a-63ea-4d0a-84b9-ea1cc7109db0/image%20(1).png", "image (1).png")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.