View source: R/dimension_table_character_dimensions.R
character_dimension | R Documentation |
Transforms numeric type attributes of a dimension into character type.
character_dimension(
dimension,
length_integers = TRUE,
NA_replacement_value = NULL
)
## S3 method for class 'dimension_table'
character_dimension(
dimension,
length_integers = TRUE,
NA_replacement_value = NULL
)
dimension |
A |
length_integers |
A |
NA_replacement_value |
A string, value to replace NA values. |
It allows indicating the amplitude for some fields, filling with zeros on the left: This is useful to make the alphabetical order of the result correspond to the numerical order. It also allows indicating the literal to be used in case the numerical value is not defined. For dates, for not defined values, the value "9999-12-31" is assigned.
A dimension_table
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.