@app.route('/tweetsByCountryOfBirth/<term>/<stateCode>/<suburbCode>/<startDate>/<endDate>', methods=['GET', 'OPTIONS'])
@crossdomain(origin='*')
def getTweetsByCountryOfBirth(term, stateCode, suburbCode, startDate, endDate):
    return jsonify(indexer.getTweetsByCountryOfBirth(term, stateCode, suburbCode, startDate, endDate))
@app.route('/tweetsByCountryOfBirth/<term>/<stateCode>/<suburbCode>/<startDate>/<endDate>', methods=['GET', 'OPTIONS'])
@crossdomain(origin='*')
def getTweetsByCountryOfBirth(term, stateCode, suburbCode, startDate, endDate):
    return jsonify(indexer.getTweetsByCountryOfBirth(term, stateCode, suburbCode, startDate, endDate))