When fromJSON
returns a list, format list names
Arguments
- results
A
fromJSON
list generated byjson_results
.- doi
A Digital Object Identifier for a chosen AIMS data series
Value
aims_data
returns a data.frame
of class
aimsdf
.
If summary %in% c("summary-by-series", "summary-by-deployment")
,
the output shows the summary information for the target dataset (i.e.
weather or temperature loggers)
(NB: currently, summary
only works for the temperature logger
database). If summary
is not passed as an additional argument, then
the output contains raw monitoring data. If summary = "daily"
,
then the output contains mean daily aggregated monitoring data.
The output also contains five attributes (empty strings if
summary
is passed as an additional argument):
metadata
a DOI link containing the metadata record for the data series.citation
the citation information for the particular dataset.parameters
The measured parameters comprised in the output.type
The type of dataset. Either "monitoring" ifsummary
is not specified, "monitoring (daily aggregation)" ifsummary = "daily"
, or a "summary-by-" otherwise.target
The input target.
Author
AIMS Datacentre adc@aims.gov.au