dotgetValueTyped: .getValueTyped

Description Usage Arguments Details Value

Description

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

Usage

1
.getValueTyped(x, myType)

Arguments

x

a list that is expected to have an item 'Value' and item 'Type'

Details

extracts and converts a JSON string (including with Timezone) from the item 'Value' in the list x. the item is parsed from JSON into either a numeric, string, or a R Date object according to the rules in item 'Type'

Value

the parsed result: either Date, String or numeric


DatastreamDSWS2R documentation built on Oct. 5, 2021, 5:08 p.m.