CIP-RIU / brapi

An R package to use the Breeding API (BrAPI) for accessing plant breeding data.
13 stars 7 forks source link

studies_table.R returns incorrect table #2

Closed mverouden closed 7 years ago

mverouden commented 8 years ago

Hi Reinhard,

I have been trying to use your implementation of "Study Observation Units as a Table" (your studies_table.R function). It does not return the correct table when there are missing values in the JSON (represented as null). I have solved this problem by using the fromJSON function from the jsonlite package. Here is a short example:

Hope this information will be useful for you as well,

Regards, Maikel

c5sire commented 8 years ago

Hi Maikel,

thanks for this: I will address soon.

Best,

Reinhard

c5sire commented 7 years ago

the package uses now jsonlite throughout.