Movatterモバイル変換


[0]ホーム

URL:


Skip to contents

Download Assessment Unit Summary

Source:R/assessment_units.R
assessment_units.Rd

Provides basic information about the requested assessment units.

Usage

assessment_units(  assessment_unit_identifer=NULL,  state_code=NULL,  organization_id=NULL,  epa_region=NULL,  huc=NULL,  county=NULL,  assessment_unit_name=NULL,  last_change_later_than_date=NULL,  last_change_earlier_than_date=NULL,  status_indicator=NULL,  return_count_only=NULL,  tidy=TRUE,  .unnest=TRUE,...)

Arguments

assessment_unit_identifer

(character) Filters returned assessmentunits to one or more specific assessment units. Multiple values can beprovided. optional

state_code

(character) Filters returned assessment units to onlythose having a state code matches one in the provided list of states.Multiple values can be provided. optional

organization_id

(character) Filters returned assessment units to onlythose having a mathcing organization ID. Multiple values can be provided.optional

epa_region

(character) Filters returned assessment units to onlymatching EPA regions. Multiple values can be provided. optional

huc

(character) Filters returned assessment units to only thosewhich have a location type of HUC and the location value matches theprovided HUC. Multiple values can be provided. optional

county

(character) Filters returned assessment units to only thosewhich have a location type of county and matches the provided county.Multiple values can be provided. optional

assessment_unit_name

(character) Filters the returned assessment unitsto matching the provided value.

last_change_later_than_date

(character) Filters returned assessmentunits to those only changed after the provided date. Must be a characterwith format:"yyyy-mm-dd". optional

last_change_earlier_than_date

(character) Filters returned assessmentunits to those only changed before the provided date. Must be a characterwith format:"yyyy-mm-dd". optional

status_indicator

(character) Filter the returned assessment units tothose with specified status. "A" for active, "R" for retired. optional

return_count_only

[Deprecated]return_count_only = Y is no longer supported.

tidy

(logical)TRUE (default) the function returns a tidiedtibble.FALSE the function returns the raw JSON string.

.unnest

(logical)TRUE (default) the function attempts to unnestdata to longest format possible. This defaults toTRUE for backwardscompatibility but it is suggested to useFALSE.

...

list of curl options passed tocrul::HttpClient()

Value

Whentidy = TRUE a tibble with many variables, some nested, isreturned. Whentidy=FALSE a raw JSON string is returned.

Details

One or more of the following arguments must be included:assessment_unit_identfier,state_code ororganization_id. Multiple values are allowed for indicated argumentsand should be included as a comma separated values in the string (eg.organization_id="TCEQMAIN,DCOEE").

Note

Seedomain_values to search values that can be queried.

Examples

if(FALSE){# \dontrun{## Retrieve data about a single assessment unitassessment_units(assessment_unit_identifer="AL03150201-0107-200")## Retrieve data as a JSON insteadassessment_units(assessment_unit_identifer="AL03150201-0107-200", tidy=FALSE)}# }

[8]ページ先頭

©2009-2025 Movatter.jp