JSON Object
Actually, what I need is JSON to a data frame. the data is a list of the list where every list contains two arguments year and other value.
{
"series_id": "TOTAL.PAEWPUS.A",
"name": "Wells Drilled, Exploratory, Crude Oil, Annual",
"units": "Number of Wells",
"f": "A",
"start": "2004",
"end": "2012",
"last_updated": "2016-04-25T13:57:43-04:00",
"data": [
[
"2010",
669
],
[
"2009",
605
],
[
"2008",
897
],
[
"2007",
808
],
[
"2006",
646
],
[
"2005",
539
],
[
"2004",
383
],
]
}
how can create a data frame like this
series_id start end data
TOTAL.PAEWPUS.A 2004 2010 2010
TOTAL.PAEWPUS.A 2004 2010 2009
TOTAL.PAEWPUS.A 2004 2010 2008
TOTAL.PAEWPUS.A 2004 2010 2007
TOTAL.PAEWPUS.A 2004 2010 2006
TOTAL.PAEWPUS.A 2004 2010 2005
TOTAL.PAEWPUS.A 2004 2010 2004
How can I achieve this?