private static void runAllTopicAnalysisQueries(DataManager mgr, int venueId) throws Exception { int[] stend = mgr.getMinMaxYearForResearchDomain(venueId); int timestep = 1; runTopicDistribution(mgr, venueId, stend, timestep); // runTopicCollab(mgr, venueId, stend); }
private static void importTopicsToDatabase(DataManager d, int venueId) throws SQLException, IOException { Connection conn = d.getConnection(); int[] years = d.getMinMaxYearForResearchDomain(venueId); DataExporterImporter importer = new DataExporterImporter(); String topicKWFile = TopicConstants.OUTPUTDIRPATH + File.separator + TopicConstants.TOPICKWFILENAME; String docTopicFile = TopicConstants.OUTPUTDIRPATH + File.separator + TopicConstants.TOPICDOCFILENAME; importer.importTopics(conn, venueId, years[0], years[1], docTopicFile, topicKWFile); }