Learn R Programming

harmonydata (version 0.3.1)

load_instruments_from_file: Load Instruments from File

Description

This function loads instruments from a file specified by the path parameter and sends the file content to an API for further processing. It also accepts a URL leading to a file.

Usage

load_instruments_from_file(path)

Value

A list of instruments returned from the API.

Arguments

path

The path to the file to load instruments from.

Author

Ulster University [cph]

Examples

Run this code
# \donttest{
# Load instruments from a PDF file
pdf_file <- "https://www.apa.org/depression-guideline/patient-health-questionnaire.pdf"
response <- load_instruments_from_file(pdf_file)
# }

Run the code above in your browser using DataLab