oktmo_restore: Restore oktmo value

Description Usage Arguments Value Examples

Description

Rewrite oktmo value in dataframe if it is less than 8 character. It often whenotmo value recognizes as numeric, not as character

Usage

1
oktmo_restore(df, name_col = 'oktmo')

Arguments

df

dataframe

name_col

character string like 'location', 'oktmo' - name of column in dataframe with oktmo records

Value

dataframes where oktmo is character vector and consist with 8 digits

Examples

1
2
df <- tibble (location = c('56789', '1076600'))
oktmo_restore(df,name_col = 'location')

St-Digital-Twin/Dtwin documentation built on Jan. 1, 2022, 8:11 p.m.