getIndicatorValues | R Documentation |
This function retrieves the current values for a given indicator. It is used both to check the current
information, and as a starting point for updating the data. In case of updates, individual rows are altered
by the function setIndicatorValue
.
getIndicatorValues(indicatorID = NULL, years = NULL)
indicatorID |
integer identifying the indicator.
Usually this is first retrieved by the |
years |
integer, the year of the values to retrieve. Default = NULL, which means you get all values. |
Object of class 'indicatorData', A list containing 1) a data frame of the values of the indicator and 2) a list of distribution objects identifying the uncertainties of the estimates (optional)
Jens Åström
setIndicatorValues
for updating objects of class 'indicatorData',
and getIndicators
for list of accessible indicators.
The vignette Distributions
describes the use of these and other functions for
updating data sets.
## Not run:
myValues <- getIndicatorValues(IndicatorID = 1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.