Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dependancies: | |
# - requests | |
# - BeautifulSoup | |
import requests, re | |
from multiprocessing import Pool | |
#from multiprocessing.dummy import Pool | |
from datetime import datetime, timedelta | |
from bs4 import BeautifulSoup | |
from urllib.parse import unquote |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv,argparse,json,zipfile,os | |
from io import BytesIO | |
# Parse input | |
parser = argparse.ArgumentParser(description='Convert Tableau Logs for Lumberjack') | |
parser.add_argument('-i', '--input-file', help='Location of logs.zip', default=None) | |
parser.add_argument('-o', '--output-file', help='Location to write csv output', default=None) | |
parser.add_argument('-a', '--append', help='Append to the csv output file', action='store_true') | |
args = parser.parse_args() | |
logs_zip = args.input_file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************************** | |
* | |
* Currently does not work due to http://community.tableau.com/thread/131070 | |
* | |
*********************************************************/ | |
var viz = tableau.VizManager.getVizs()[0] |