def main(): print 'Retrieving data...' reader.fetchData() #print 'Creating Earth KML...' #makeKML( True ) print 'Creating data.js...' makeData() print 'Creating Maps JSON...' makeJson( 'democrat' ) makeJson( 'republican' ) print 'Checking in Maps JSON...' os.system( 'svn ci -m "Vote update" fl_text_output_for_mapping.csv data.js results_democrat.js results_republican.js' ) print 'Done!'
def main(): print 'Retrieving data...' reader.fetchData() #print 'Creating Maps KML...' #makeKML( False ) print 'Creating Earth KML...' makeKML(True) print 'Creating JSON...' makeJson('democrat') makeJson('republican') print 'Creating data.js...' makeData() print 'Done!'
def main(): print 'Retrieving data...' reader.fetchData() #print 'Creating Maps KML...' #makeKML( False ) print 'Creating Earth KML...' makeKML( True ) print 'Creating JSON...' makeJson( 'democrat' ) makeJson( 'republican' ) print 'Creating data.js...' makeData() print 'Done!'
def main(): print "Retrieving data..." reader.fetchData() # print 'Creating Earth KML...' # makeKML( True ) print "Creating data.js..." makeData() print "Creating Maps JSON..." makeJson("democrat") makeJson("republican") print "Checking in Maps JSON..." os.system( 'svn ci -m "Vote update" nv_text_output_for_mapping.csv data.js results_democrat.js results_republican.js' ) print "Done!"
def main(): print 'Retrieving data...' reader.fetchData() #print 'Creating Earth KML...' #makeKML( True ) print 'Creating data.js...' makeData() print 'Creating Maps JSON...' makeJson('democrat') makeJson('republican') print 'Checking in Maps JSON...' os.system( 'svn ci -m "Vote update" fl_text_output_for_mapping.csv data.js results_democrat.js results_republican.js' ) print 'Done!'