get_ma_bulk_wavs: Get Acoustic Mobile bulk upload template dataframe for a...

View source: R/nabat_gql_queries.R

get_ma_bulk_wavsR Documentation

Get Acoustic Mobile bulk upload template dataframe for a project

Description

Returns all MA surveys within a single project (project_id) that are parsed by year using survey_df

Usage

get_ma_bulk_wavs(
  token,
  survey_df,
  year = NULL,
  batch = "first",
  branch = "prod",
  url = NULL,
  aws_gql = NULL,
  aws_alb = NULL,
  docker = FALSE,
  return_t = FALSE
)

Arguments

token

List token created from get_nabat_gql_token() or get_refresh_token()

survey_df

Dataframe a survey dataframe from the output of get_ma_project_summary()

year

(optional) Numeric year of data to be returned. NULL = first year, 'all' = all years, 2018 = only 2018 data

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

return_t

(optional) Boolean Changes the Returned value to a list and adds a token as one of the returned values (if set to TRUE)

project_id

Numeric or String a project id


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