Message Boards Message Boards


Select data out of JSON Weblink?

Posted 5 years ago
2 Replies
0 Total Likes

Dear all,

I would like to select a time series which I imported through a website in JSON format. However, I am new to Mathematica and not aware how to select all second arguments.

Please find a picture attached. I would like to select all prices after "->" and plot the according time, which is displayed as time, too. Import in Mathematica Can someone please help me?

Thank you in advance!

Best regards Alex

2 Replies


Your Import returns a nested Association. "bpi" has a value and there is a value for each date. Please read the documentation on Association. You reference the values like this:

In[1]:= a["bpi"]["2011-02-01"]

Out[1]= 0.7


@Alexander Hempfing please do NOT post code as images. Make sure you know the rules:

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract