get_model_details: Get Model Details

Description Usage Arguments Details Value References Examples

View source: R/models.R

Description

get_model_details Calls Model Details endpoint of API

Usage

1
2
3
4
5
6
7
get_model_details(
  model_id,
  keyToUse = awhereEnv75247$uid,
  secretToUse = awhereEnv75247$secret,
  tokenToUse = awhereEnv75247$token,
  apiAddressToUse = awhereEnv75247$apiAddress
)

Arguments

model_id

A model id to retrieve details for that specific model

keyToUse

aWhere API key to use. For advanced use only. Most users will not need to use this parameter (optional)

secretToUse

aWhere API secret to use. For advanced use only. Most users will not need to use this parameter (optional)

tokenToUse

aWhere API token to use. For advanced use only. Most users will not need to use this parameter (optional)

apiAddressToUse

Address of aWhere API to use. For advanced use only. Most users will not need to use this parameter (optional)

Details

Every model has its own parameters and criteria it uses to calculate the results. This API will return those details; for the growth stage models currently available this API returns information about the crop stages that the model may return.

Value

- data.frame containing details about requested model

References

https://developer.awhere.com/api/reference/models/details

Examples

1
## Not run: get_model_details('BarleyGenericMSU')

aWhereAPI/aWhere-R-Library documentation built on Nov. 5, 2021, 3:35 a.m.