clean_metadata_value: Clean metadata value

Description Usage Arguments Examples

View source: R/process_metadata.R

Description

Delete any value/types associated with a metadata key, useful for changing a metadata value type.

Usage

1
clean_metadata_value(metadata_key, source = "dwh")

Arguments

metadata_key

The key of the metadata value, e.g. "last_processed_fit_score" could be the last processed time of the fit score

source

if ‘dwh', it’ll use the DWH, if you specify anything else, it'll use it as a filename to use as a config database

Examples

1
2
3
4
5
6
7
8
9
## Not run: 

set_metadata_value('my_cool_value', 'hello')
set_metadata_value('my_cool_value', 123) #ERROR!
clean_metadata_value('my_cool_value')
set_metadata_value('my_cool_value', 123)


## End(Not run)

auth0/rauth0 documentation built on July 3, 2021, 4:11 p.m.