get_presigned_data: Get presigned data

View source: R/nabat_gql_queries.R

get_presigned_dataR Documentation

Get presigned data

Description

Returns a uuid and presigned url to upload a csv into the AWS bucket

Usage

get_presigned_data(
  project_id,
  token,
  branch = "prod",
  url = NULL,
  aws_gql = NULL,
  aws_alb = NULL,
  docker = FALSE
)

Arguments

token

List token created from get_nabat_gql_token() or get_refresh_token()

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

file_path

String full path to CSV file for preview

survey_type

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


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