Skip to content

Instantly share code, notes, and snippets.

@hayduke19us
Created March 18, 2015 23:48
Show Gist options
  • Save hayduke19us/300be32564547fec82fd to your computer and use it in GitHub Desktop.
Save hayduke19us/300be32564547fec82fd to your computer and use it in GitHub Desktop.
{
"data":
{
"reports":
{
"1": [
{
"id": 11984,
"staging": "V84",
"weather": "This should not be in created array",
"grower_id": 1,
"field_id": 18,
"temp": 60,
"stand": 0,
"yield": 400,
"time": "2015-02-08 22:15:59 UTC",
"recommendation": "Please don't show up in the created array"
}
]
},
"corn_stand":
{
"1": [
{
"id": 20,
"row_width": 15,
"row_length": 36.4,
"stand_counts": [40, 40, 40, 40],
"stand_avg": 40000,
"report_id": 11984,
"long": -123.00,
"lat": 33
}
]
},
"corn_yield":
{
"1": [
{
"id": 21,
"row_width": 15,
"row_length": 36.4,
"kernals": [400, 333, 299, 100],
"harvest_ears": 33,
"bushel_size": 90000,
"yield": 300,
"report_id": 11984,
"long": -123.00,
"lat": 33
}
]
},
"others":
{
"1": [
{
"id": 22,
"comment": "THIS OTHER BETTER NOT FUCK WITH ME",
"report_id": 11984,
"long": -123.00,
"lat": 33
}
]
},
"disorders":
{
"1": [
{
"id": 23,
"name": "A DISORDER",
"comment": "WHoa",
"report_id": 11984,
"long": -123.00,
"lat": 33
}
]
},
"diseases":
{
"1": [
{
"comment": "DDDDDD",
"id": 23,
"report_id": 11984,
"name": "THIS IS A DISEASE",
"density": "heavy",
"long": -123.00,
"lat": 33
}
]
},
"pests":
{
"1": [
{
"comment": "DDDDDD",
"id": 23,
"report_id": 11984,
"name": "THIS IS A PEST",
"density": "heavy",
"long": -123.00,
"stage": "larvae",
"infestation": 60,
"lat": 33
}
]
},
"weeds":
{
"1": [
{
"comment": "HEy Elia this should work",
"id": 26,
"report_id": 11984,
"name": "THIS IS A WEED",
"height": 44,
"stage": "mature",
"density": "heavy",
"long": -123.00,
"lat": 33
}
]
},
"images":
{
"1": [
{
"id": 98990,
"imageable_type": "WeedSample",
"imageable_id": 26,
"file_name": "field.png"
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment