Learn R Programming

DatastreamDSWS2R (version 1.8.2)

dotconvertJSONString: .convertJSONString

Description

this is a modification of the function provided by 'phiver' on http://stackoverflow.com/questions/32076957/nas-introduced-when -transforming-json-date

Usage

.convertJSONString(x)

Value

the parsed result: either Date, String or numeric

Arguments

x

the JSON string

Details

converts a JSON string (including with Timezone) into either a numeric, string, or a R Date object