get_upload_file_preview: Get Upload file preview

View source: R/nabat_gql_queries.R

get_upload_file_previewR Documentation

Get Upload file preview

Description

Returns a template to be uploaded with the processing function

Usage

get_upload_file_preview(
  file_path,
  token,
  survey_type = "bulk_sae",
  branch = "prod",
  url = NULL,
  aws_gql = NULL,
  aws_alb = NULL,
  docker = FALSE
)

Arguments

file_path

String full path to CSV file for preview

token

List token created from get_nabat_gql_token() or get_refresh_token()

survey_type

(optional) String 'bulk_sae' | 'bulk_mae' | 'bulk_hib' | 'bulk_mat'

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


usgs/nabatr documentation built on Jan. 28, 2024, 7:10 a.m.