View source: R/get_lab_fields.R
get_lab_fields | R Documentation |
This function creates a look-up table of lab result fields (both core and user-designed questionnaire) and their hard-coded values, where relevant. The fields and values are extracted for the active outbreak of a user's Go.Data instance. Values will include user-defined values that were added to the reference sets in Go.Data. The fields and values can then be mapped to a laboratory data file, in preparation for importing to Go.Data.
get_lab_fields(url = url, username = username, password = password)
url |
URL (web address) for Go.Data instance |
username |
User email address used to log in to Go.Data |
password |
User password used to log in to Go.Data |
Returns a list of lab fields including values to map where relevant
Amy Mikhail, amy.mikhail@gmail.com
## Not run:
# Get lab fields from a specific Go.Data instance:
labvars <- get_lab_fields(url = url,
username = username,
password = password)
# View the result:
labvars
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.