get_projects: Search NABat Projects

View source: R/nabat_gql_queries.R

get_projectsR Documentation

Search NABat Projects

Description

Returns all projects that the user has permissions to view

Usage

get_projects(
  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

Examples


## Not run: 
project_df = get_projects(token)

## End(Not run)


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