Conversation
install necessary packages build data frame from the api and public data info try to import json
|
On this repo, I think! https://github.com/OpenHumans/oh-ubiome-source |
the notebook can now import the public data in (valid) json, tsv and csv
|
I had some trouble getting it to run on my end:
Then I had a problem with getting the reference data loaded in. There's a lot of And in the end the Just for fun I also tried loading my own data in the next steps but that also yielded an error: |
|
Could you give me the whole traceback for the |
|
Sure, running I get the following output and |
|
thanks for the traceback. Yes I did run it on openhumans. I'll take a look, but I think it's because one of the json files has unquoted strings (which is not valid json) The warnings can safely be ignored, maybe I should wrap the call in an |
|
Great, thanks so much! I was just asking as otherwise different package versions might be to blame for some weird behavior. I'm not sure how to best turn off the warnings (my own R skills are basically limited to making things look nice thanks to the |


Ready for testing
Additional remarks
Some of the ubiome json files are not valid json, or are in other format (csv and tab delimited). Ideally there should be a data validation when accepting the upload files (I can file an issue in the repo if you want). Anyway the r code in the notebook should handle the different formats 🎉