View source: R/nabat_gql_queries.R
process_uploaded_csv | R Documentation |
Process a csv and upload to your NABat Project
process_uploaded_csv(
user_id,
project_id,
asUUid,
template,
survey_type,
token,
file_path,
file_name = NULL,
branch = "prod",
url = NULL,
aws_gql = NULL,
aws_alb = NULL,
docker = FALSE
)
user_id |
Numeric NABat user Id - from get_user_id_by_email() |
project_id |
Numeric or String a project id |
asUUid |
String asUUid - from get_presigned_data() |
template |
Dataframe - from get_upload_file_preview() |
survey_type |
String Type of data to process: 'bulk_sae' | 'bulk_mae' | 'bulk_hib' | 'bulk_mat' | 'bulk_ee' |
token |
List token created from get_nabat_gql_token() or get_refresh_token() |
file_path |
String full path to CSV file for preview |
file_name |
String Name of file to be uploaded into NABat website |
branch |
(optional) String that defaults to 'prod' but can also be 'dev'|'beta'|'local' |
url |
(optional) String url to use for GQL |
aws_gql |
(optional) String url to use in aws |
aws_alb |
(optional) String url to use in aws |
docker |
(optional) Boolean if being run in docker container or not |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.