You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps we can add a property "last_modified" to the data set class, something that goes and gets the value from the "modified" field in this table for each table...
The text was updated successfully, but these errors were encountered:
I see that each table can have a different 'modified' date stamp, so we will get this per dataset. Since it will be the same for all DataSetResults, we don't need to get it each time results are obtained.
(I'll put this into a branch of ECHO_modules.)
A slight complication in that Last-Modified has the table names (e.g. RCRA_VIOLATIONS), while we are using the views based on them (RCRA_VIOLATIONS_MVIEW). I'll have to add something like base_table_name to each of the DataSet objects when they are created in make_data_sets().
A new base_table was added to each DataSet instance identifying the database table that reflects the data set's last modified time. In the DataSet's get_data() function the last_modified time is set if it hasn't already been done.
Last-Modified data as returned from the ECHO EPA server
http://apps.tlt.stonybrook.edu/echoepa/?query=select%20*%20from%20%22Last-Modified%22&pg
Perhaps we can add a property "last_modified" to the data set class, something that goes and gets the value from the "modified" field in this table for each table...
The text was updated successfully, but these errors were encountered: