get_ma_bulk_wavs_old: Get Acoustic mobile bulk upload template dataframe for a...

View source: R/nabat_gql_queries.R

get_ma_bulk_wavs_oldR Documentation

Get Acoustic mobile bulk upload template dataframe for a project

Description

Returns all surveys within a single project (project_id)

Usage

get_ma_bulk_wavs_old(
  token,
  survey_df,
  project_id,
  year = NULL,
  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()

survey_df

Dataframe a survey dataframe from the output of get_acoustic_m_project_summary()

project_id

Numeric or String a project id

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

Examples


## Not run: 
acoustic_bulk_df = get_ma_bulk_wavs_old(token,
                                          get_acoustic_m_project_summary(),
                                          project_id)

## End(Not run)


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