get_project_surveys: Get a project's Stationary Acoustic Surveys (DEPRECIATED) see...

Description Usage Arguments Examples

View source: R/nabat_gql_queries.R

Description

(DEPRECIATED) Returns all surveys within a single project (project_id)

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
get_project_surveys(
  token,
  project_df,
  project_id,
  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()

project_df

Dataframe output from get_projects()

project_id

Numeric or String a project id

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

1
2
3
4
5
6
## Not run: 
survey_df = get_project_surveys(token,
                                get_projects(token),
                                project_id)

## End(Not run)

talbertc-usgs/NABatR documentation built on April 22, 2020, 8:23 p.m.