Description Usage Arguments Value Examples
getValues
returns the values of the variable specified as input parameter of
those statistical units also specified as an input parameter of the input object.
1 2 3 4 5 6 7 8 9 10 | ## S4 method for signature 'StQList'
getUnits(object, DDslot = "MicroData")
getValues(object, VarName, Units = getUnits(object))
## S4 method for signature 'StQ,character'
getValues(object, VarName, Units = getUnits(object))
## S4 method for signature 'StQList,character'
getValues(object, VarName, Units = getUnits(object))
|
object |
Object of class StQ or StQList. |
VarName |
Character vector with the name of the variable. |
Units |
data.table with the qualifier values identifying each statistical unit in the input object. |
Returns a data.table with the unit qualifier and the corresponding value for each statistical unit.
1 2 3 | library(data.table)
getValues(ExampleStQ, 'Employees_1.')
getValues(ExampleStQ, 'Turnover', Units = data.table(ID = c('00001', '00002')))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.