get_grts_frame_name: Get the GRTS Frame name based on project_id and project_df

Description Usage Arguments Examples

View source: R/nabat_gql_queries.R

Description

returns the name of the grts frame region. Used to assign a pkg.env global variable for what coordinates csv to use for this project – project specific ex: When you pull survey data for a project in the US, the package imports the GRTS coordinates for Continental United states. If your project is in Canada, it imports the Canadian coordinates .. etc for Hawaii, Puerto Rico, Alaska, and Mexico.

Usage

1
get_grts_frame_name(project_df, project_id)

Arguments

project_df

Dataframe output from get_projects()

project_id

Numeric or String a project id

Examples

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

## End(Not run)

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