stat157 / recent-quakes

Stat 157 Homework 2 due on Monday 2013-10-21 at 11:59pm
0 stars 20 forks source link

variables in csv is not same variables in JSON #7

Open GalaxyNight-day opened 10 years ago

GalaxyNight-day commented 10 years ago

For example, csv file have Src variable but it seems JSON file does not have variable called Src, I thought we have to reproduce same output with current dataset. I wonder which variable in Json is equivalent to Src.

teresita commented 10 years ago

I can't find where, but I remember reading that our new output might differ slightly due to the change in data source. Just grab what you can match up; Src seems to be unimportant anyway

GalaxyNight-day commented 10 years ago

I figured it out! (except Version)

Src in dataset from CSV is equal to net in dataset from JSON. Eqid in dataset from CSV is equal to code in dataset from JSON. time in dataset from CSV is equal to time in dataset from JSON. Lat in dataset from CSV is equal to longitude in dataset from JSON. Lon in dataset from CSV is equal to longitude in dataset from JSON. Depth in dataset from CSV is equal to depth in dataset from JSON. nst in dataset from CSV is equal to nst in dataset from JSON. region in dataset from CSV is equal to place in dataset from JSON.

aculich commented 10 years ago

@taywon Thanks for sharing this mapping between the column names of the old and new data sets!