niDataImport | R Documentation |
niDataImport
assembles arguments and returns an S3
object of class
niDataImport
. is.niDataImport
tests if a candidate object is of
class niDataImport
.
niDataImport(
indicators = NULL,
referenceValues = NULL,
indicatorObservations = NULL,
ICunits = NULL,
BSunits = NULL,
ecosystems = NULL
)
is.niDataImport(x)
indicators |
tibble of indicator data. |
referenceValues |
list of reference value data. |
indicatorObservations |
list of observation data. |
ICunits |
tibble of ICunit data. |
BSunits |
tibble of BSunit data. |
ecosystems |
tibble of ecosystem data. |
x |
object to be tested. |
Lists of class niDataImport
contain a complete data set for calculating
the Nature Index or a thematic index. The function importDatasetApi
returns objects of class niDataImport
after reading the data from the
NI database via the
[The Nature Index Application Programming Interface](https://www8.nina.no/NaturindeksNiCalc/index.html).
niDataImport
returns a list of class niDataImport
with elements:
[[1]] | indicators |
[[2]] | referenceValues |
[[3]] | indicatorObservations |
[[4]] | ICunits |
[[5]] | BSunits |
[[6]] | ecosystems |
is.niDataImport
returns TRUE
if the argument is of class
niDataImport
.
Bård Pedersen
Function importDatasetApi
. The vignette objectsInNIcalc
gives a more detailed description of niDataImport
lists.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.