Returns information about plans or actions (TMDLs, 4B Actions, Alternative Actions, Protective Approach Actions) that have been finalized. This is similar to actions but returns data by HUC code and any assessment units covered by a plan or action within the specified HUC.
Arguments
- huc
(character) Filters the returned actions by 8-digit or higher HUC. required
- organization_id
(character). Filters the returned actions by those belonging to the specified organization. Multiple values can be used. optional
- summarize
(logical) If
TRUEthe count of assessment units is returned rather than the assessment unit itdentifers for each action. Defaults toFALSE.- tidy
(logical)
TRUE(default) the function returns a list of tibbles.FALSEthe function returns the raw JSON string.- .unnest
(logical)
TRUE(default) the function attempts to unnest data to longest format possible. This defaults toTRUEfor backwards compatibility but it is suggested to useFALSE.- ...
list of curl options passed to
crul::HttpClient()
Value
If count = TRUE returns a tibble that summarizes the count of
actions returned by the query. If count = FALSE returns a list of
tibbles including documents, use assessment data, and parameters assessment
data identified by the query. If tidy = FALSE the raw JSON string is
returned, else the JSON data is parsed and returned as a list of tibbles.
Details
huc is a required argument. Multiple values are allowed for
indicated arguments and should be included as a comma separated values in
the string (eg. organization_id="TCEQMAIN,DCOEE").
Note
See domain_values to search values that can be queried. As of v1.0
this function no longer returns the documents, associated_permits, or
plans tibbles.