ReadAGOL: Read data from the Desert Springs AGOL feature layer.

View source: R/utils.R

ReadAGOLR Documentation

Read data from the Desert Springs AGOL feature layer.

Description

Read data from the Desert Springs AGOL feature layer.

Usage

ReadAGOL(
  data_path = c(main_db =
    "https://services1.arcgis.com/fBc8EJBxQRMcHlei/arcgis/rest/services/MOJN_DS_SpringVisit/FeatureServer",
    lookup_db =
    "https://services1.arcgis.com/fBc8EJBxQRMcHlei/arcgis/rest/services/MOJN_Lookup_Database/FeatureServer",
    sites_db =
    "https://services1.arcgis.com/fBc8EJBxQRMcHlei/arcgis/rest/services/MOJN_DS_Sites_Master/FeatureServer",
    calibration_db =
    "https://services1.arcgis.com/fBc8EJBxQRMcHlei/arcgis/rest/services/MOJN_Calibration_Database/FeatureServer"),
  agol_username = "mojn_hydro",
  agol_password =
    rstudioapi::askForPassword(paste("Please enter the password for AGOL account",
    agol_username))
)

Arguments

data_path

URL to Desert Springs feature service on AGOL.

agol_username

Username of headless AGOL account with permissions to view the feature service.

agol_password

Password for headless AGOL account.

Value

A list of tibbles


nationalparkservice/mojn-ds-rpackage documentation built on Oct. 5, 2023, 6:21 p.m.