Skip to contents

parses a json request and returns a short string representing the corresponding STATcube server

Usage

sc_json_get_server(json)

Arguments

json

path to a request json

Value

"ext", "red" or "prod" depending on the database uri in the json request

Examples

sc_example('accomodation') %>% sc_json_get_server()
#> [1] "ext"