Closed eusebe closed 9 years ago
Thanks! You just uncovered a bug :-).
Working on it: It has to do with the jsonlite communication:
jsonlite::toJSON(data.frame(a=1,b=NA))
results in
[{a: 1}]
Perhaps you can use 'na=null' or na=string in tojson On Feb 23, 2015 6:54 AM, "Edwin de Jonge" notifications@github.com wrote:
Working on it: It has to do with the jsonlite communication:
jsonlite::toJSON(data.frame(a=1,b=NA))
results in
[{a: 1}]
— Reply to this email directly or view it on GitHub https://github.com/edwindj/daff/issues/5#issuecomment-75554927.
@jeroenooms Thanks! I solved it differently: since daff.js
uses a matrix internally I used
jsonlite::toJSON(..., dataframe='values')
.
Quick and clean, thanks! David
Hi,
Thank you for this very usefull package!
I tried the following code:
Is it expected?
Best, David