]> code.communitydata.science - wikia_userroles_scraper.git/blob - scrape_log.sh
a9178beb31bc15a3c09d4364863e7f3bf7fc6402
[wikia_userroles_scraper.git] / scrape_log.sh
1 #!/usr/bin/env bash
2
3 # you specify a csv file that has a list of wikis
4 wikilist=example/wikiList.csv
5
6 # specify a location for the output
7 output=userroles/logevents/
8 o1=userroles
9 mkdir $o1
10 mkdir $output
11
12 blocks_output=userroles/blockevents/
13 mkdir $blocks_output
14
15 ./userroles_from_logevents.py --sep=',' --blocks-output=$blocks_output  $wikilist $output

Community Data Science Collective || Want to submit a patch?