View source: R/mars_data_fetch_write_functions.R
marsFetchPrivateSMPRecords | R Documentation |
Returns private SMP tracking number, project name, SMP ID, and plan label.
marsFetchPrivateSMPRecords(con, tracking_number)
con |
Formal class PostgreSQL, a connection to the MARS Analysis database |
tracking_number |
chr, tracking number for the requested SMP |
Output will be a dateframe with four columns:
tracking_number |
chr, requested SMP tracking number |
project name |
chr, SMP poject name |
smp_id |
int, SMP ID |
plan_label |
chr, name that the SMP is given on the plan set |
If a tracking number is not found, that row will include an error message in the "project name" column, and NAs in "smp_id" and "plan_label".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.