This is my first time working with JSON and I'm still fairly new to Javascript. I am working on an app and I will be needing to work with several sets of data. Since there are nearly 300 entries with 6 properties each I plan to store them in a JSON format. In the app I will need to retrieve the data and do several calculations with it.
I am having some trouble deciding how to store the data. I know that it is generally bad practice to store things as global variables even though it is convenient and easy to work with. Because of this I was considering storing the data in a separate file and loading it in using jQuery. This method makes it much more tedious to work with the data, but it has the benefit of making it very easy to update the entries when they become out of date. I'm also unsure how much this method would affect load times.
I'm not sure which option is preferable or if there are better options. How would you do it?