Skip to contents

A helper function to import routine database

Usage

import_replace(df, replace_database, snt_country, column, by = FALSE)

Arguments

df

Target dataframe to be replaced

replace_database

Db which stored the corrected information, usually snt internal database could be used.

snt_country

Target snt country, as there is multiple country replacement store inside the replace db. So designate a database is necessary

column

Target column in the target dataframe to be replaced

Author

Chunzhe ZHANG