Exemple #1
0
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!'
Exemple #2
0
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!'
Exemple #3
0
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!'
Exemple #4
0
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!"
Exemple #5
0
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!'