[Rails] Database table for 2-dimensional array
My Doppler Value Investing site (http://www.dopplervalueinvesting.com) uses Ruby on Rails and a Postgres database.
There are two important parts: the superficial analysis and an in-depth analysis.
An example of the superficial analysis is at:
http://www.dopplervalueinvesting.com/stocks/FAST
An example of the in-depth analysis is at:
http://old.doppler.webfactional.com/sites/default/files/stock-results/FAST.html
Note that the results of the superficial analysis are 1-dimensional - just parameters. This easily fits into one row in one table of a database.
Note that the results of the in-depth analysis are 2-dimensional - parameters AND year. How would this fit into a Postgres database? What are your suggestions? Is it possible to have a table within a table?
-- There are two important parts: the superficial analysis and an in-depth analysis.
An example of the superficial analysis is at:
http://www.dopplervalueinvesting.com/stocks/FAST
An example of the in-depth analysis is at:
http://old.doppler.webfactional.com/sites/default/files/stock-results/FAST.html
Note that the results of the superficial analysis are 1-dimensional - just parameters. This easily fits into one row in one table of a database.
Note that the results of the in-depth analysis are 2-dimensional - parameters AND year. How would this fit into a Postgres database? What are your suggestions? Is it possible to have a table within a table?
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/259c7f97-a656-4c3d-9b62-05a8ed4656e2%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home