Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR - Include Source generation script/Change domain #25

Merged
merged 4 commits into from
Sep 28, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
__pycache__/
*.py[cod]

*.csv

# C extensions
*.so
Expand Down Expand Up @@ -100,3 +99,6 @@ docs/*.html
# IDE related
.idea/
.vscode/

# Observations related
tmp/
3 changes: 1 addition & 2 deletions observations/r/abbey.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ def abbey(path):
path = os.path.expanduser(path)
filename = 'abbey.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/MASS/abbey.csv'
url = 'http://dustintran.com/data/r/MASS/abbey.csv'
maybe_download_and_extract(path, url,
save_file_name='abbey.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/ability.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ def ability(path):
path = os.path.expanduser(path)
filename = 'ability.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/psych/ability.csv'
url = 'http://dustintran.com/data/r/psych/ability.csv'
maybe_download_and_extract(path, url,
save_file_name='ability.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/absentee.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ def absentee(path):
path = os.path.expanduser(path)
filename = 'absentee.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/pscl/absentee.csv'
url = 'http://dustintran.com/data/r/pscl/absentee.csv'
maybe_download_and_extract(path, url,
save_file_name='absentee.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/accdeaths.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ def accdeaths(path):
path = os.path.expanduser(path)
filename = 'accdeaths.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/MASS/accdeaths.csv'
url = 'http://dustintran.com/data/r/MASS/accdeaths.csv'
maybe_download_and_extract(path, url,
save_file_name='accdeaths.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/accident.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ def accident(path):
path = os.path.expanduser(path)
filename = 'accident.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/Ecdat/Accident.csv'
url = 'http://dustintran.com/data/r/Ecdat/Accident.csv'
maybe_download_and_extract(path, url,
save_file_name='accident.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/acf1.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ def acf1(path):
path = os.path.expanduser(path)
filename = 'acf1.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/DAAG/ACF1.csv'
url = 'http://dustintran.com/data/r/DAAG/ACF1.csv'
maybe_download_and_extract(path, url,
save_file_name='acf1.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/acme.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ def acme(path):
path = os.path.expanduser(path)
filename = 'acme.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/boot/acme.csv'
url = 'http://dustintran.com/data/r/boot/acme.csv'
maybe_download_and_extract(path, url,
save_file_name='acme.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/adler.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ def adler(path):
path = os.path.expanduser(path)
filename = 'adler.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/car/Adler.csv'
url = 'http://dustintran.com/data/r/car/Adler.csv'
maybe_download_and_extract(path, url,
save_file_name='adler.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/admit.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ def admit(path):
path = os.path.expanduser(path)
filename = 'admit.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/pscl/admit.csv'
url = 'http://dustintran.com/data/r/pscl/admit.csv'
maybe_download_and_extract(path, url,
save_file_name='admit.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/admnrev.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ def admnrev(path):
path = os.path.expanduser(path)
filename = 'admnrev.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/wooldridge/admnrev.csv'
url = 'http://dustintran.com/data/r/wooldridge/admnrev.csv'
maybe_download_and_extract(path, url,
save_file_name='admnrev.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/affairs.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ def affairs(path):
path = os.path.expanduser(path)
filename = 'affairs.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/COUNT/affairs.csv'
url = 'http://dustintran.com/data/r/COUNT/affairs.csv'
maybe_download_and_extract(path, url,
save_file_name='affairs.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/affect.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ def affect(path):
path = os.path.expanduser(path)
filename = 'affect.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/psych/affect.csv'
url = 'http://dustintran.com/data/r/psych/affect.csv'
maybe_download_and_extract(path, url,
save_file_name='affect.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/agefat.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ def agefat(path):
path = os.path.expanduser(path)
filename = 'agefat.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/HSAUR/agefat.csv'
url = 'http://dustintran.com/data/r/HSAUR/agefat.csv'
maybe_download_and_extract(path, url,
save_file_name='agefat.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/agriculture.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ def agriculture(path):
path = os.path.expanduser(path)
filename = 'agriculture.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/cluster/agriculture.csv'
url = 'http://dustintran.com/data/r/cluster/agriculture.csv'
maybe_download_and_extract(path, url,
save_file_name='agriculture.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/aids.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ def aids(path):
path = os.path.expanduser(path)
filename = 'aids.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/boot/aids.csv'
url = 'http://dustintran.com/data/r/boot/aids.csv'
maybe_download_and_extract(path, url,
save_file_name='aids.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/aids2.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ def aids2(path):
path = os.path.expanduser(path)
filename = 'aids2.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/MASS/Aids2.csv'
url = 'http://dustintran.com/data/r/MASS/Aids2.csv'
maybe_download_and_extract(path, url,
save_file_name='aids2.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/air_accs.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ def air_accs(path):
path = os.path.expanduser(path)
filename = 'air_accs.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/gamclass/airAccs.csv'
url = 'http://dustintran.com/data/r/gamclass/airAccs.csv'
maybe_download_and_extract(path, url,
save_file_name='air_accs.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/air_passengers.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ def air_passengers(path):
path = os.path.expanduser(path)
filename = 'air_passengers.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/datasets/AirPassengers.csv'
url = 'http://dustintran.com/data/r/datasets/AirPassengers.csv'
maybe_download_and_extract(path, url,
save_file_name='air_passengers.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/aircondit.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ def aircondit(path):
path = os.path.expanduser(path)
filename = 'aircondit.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/boot/aircondit.csv'
url = 'http://dustintran.com/data/r/boot/aircondit.csv'
maybe_download_and_extract(path, url,
save_file_name='aircondit.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/aircondit7.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ def aircondit7(path):
path = os.path.expanduser(path)
filename = 'aircondit7.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/boot/aircondit7.csv'
url = 'http://dustintran.com/data/r/boot/aircondit7.csv'
maybe_download_and_extract(path, url,
save_file_name='aircondit7.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/aircraft.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ def aircraft(path):
path = os.path.expanduser(path)
filename = 'aircraft.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/robustbase/aircraft.csv'
url = 'http://dustintran.com/data/r/robustbase/aircraft.csv'
maybe_download_and_extract(path, url,
save_file_name='aircraft.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/airfare.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ def airfare(path):
path = os.path.expanduser(path)
filename = 'airfare.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/wooldridge/airfare.csv'
url = 'http://dustintran.com/data/r/wooldridge/airfare.csv'
maybe_download_and_extract(path, url,
save_file_name='airfare.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/airline.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ def airline(path):
path = os.path.expanduser(path)
filename = 'airline.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/Ecdat/Airline.csv'
url = 'http://dustintran.com/data/r/Ecdat/Airline.csv'
maybe_download_and_extract(path, url,
save_file_name='airline.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/airmay.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ def airmay(path):
path = os.path.expanduser(path)
filename = 'airmay.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/robustbase/airmay.csv'
url = 'http://dustintran.com/data/r/robustbase/airmay.csv'
maybe_download_and_extract(path, url,
save_file_name='airmay.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/airmiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ def airmiles(path):
path = os.path.expanduser(path)
filename = 'airmiles.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/datasets/airmiles.csv'
url = 'http://dustintran.com/data/r/datasets/airmiles.csv'
maybe_download_and_extract(path, url,
save_file_name='airmiles.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/airq.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ def airq(path):
path = os.path.expanduser(path)
filename = 'airq.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/Ecdat/Airq.csv'
url = 'http://dustintran.com/data/r/Ecdat/Airq.csv'
maybe_download_and_extract(path, url,
save_file_name='airq.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/airquality.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ def airquality(path):
path = os.path.expanduser(path)
filename = 'airquality.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/datasets/airquality.csv'
url = 'http://dustintran.com/data/r/datasets/airquality.csv'
maybe_download_and_extract(path, url,
save_file_name='airquality.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/ais.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ def ais(path):
path = os.path.expanduser(path)
filename = 'ais.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/DAAG/ais.csv'
url = 'http://dustintran.com/data/r/DAAG/ais.csv'
maybe_download_and_extract(path, url,
save_file_name='ais.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/alcohol.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ def alcohol(path):
path = os.path.expanduser(path)
filename = 'alcohol.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/robustbase/alcohol.csv'
url = 'http://dustintran.com/data/r/robustbase/alcohol.csv'
maybe_download_and_extract(path, url,
save_file_name='alcohol.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/alcohol1.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ def alcohol1(path):
path = os.path.expanduser(path)
filename = 'alcohol1.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/mosaicData/Alcohol.csv'
url = 'http://dustintran.com/data/r/mosaicData/Alcohol.csv'
maybe_download_and_extract(path, url,
save_file_name='alcohol1.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/aldh2.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ def aldh2(path):
path = os.path.expanduser(path)
filename = 'aldh2.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/gap/aldh2.csv'
url = 'http://dustintran.com/data/r/gap/aldh2.csv'
maybe_download_and_extract(path, url,
save_file_name='aldh2.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/alfalfa.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ def alfalfa(path):
path = os.path.expanduser(path)
filename = 'alfalfa.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/Stat2Data/Alfalfa.csv'
url = 'http://dustintran.com/data/r/Stat2Data/Alfalfa.csv'
maybe_download_and_extract(path, url,
save_file_name='alfalfa.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/allbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ def allbacks(path):
path = os.path.expanduser(path)
filename = 'allbacks.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/DAAG/allbacks.csv'
url = 'http://dustintran.com/data/r/DAAG/allbacks.csv'
maybe_download_and_extract(path, url,
save_file_name='allbacks.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/alloauto.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ def alloauto(path):
path = os.path.expanduser(path)
filename = 'alloauto.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/KMsurv/alloauto.csv'
url = 'http://dustintran.com/data/r/KMsurv/alloauto.csv'
maybe_download_and_extract(path, url,
save_file_name='alloauto.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/allograft.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ def allograft(path):
path = os.path.expanduser(path)
filename = 'allograft.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/KMsurv/allograft.csv'
url = 'http://dustintran.com/data/r/KMsurv/allograft.csv'
maybe_download_and_extract(path, url,
save_file_name='allograft.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/ambient_noxch.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ def ambient_noxch(path):
path = os.path.expanduser(path)
filename = 'ambient_noxch.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/robustbase/ambientNOxCH.csv'
url = 'http://dustintran.com/data/r/robustbase/ambientNOxCH.csv'
maybe_download_and_extract(path, url,
save_file_name='ambient_noxch.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/amis.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ def amis(path):
path = os.path.expanduser(path)
filename = 'amis.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/boot/amis.csv'
url = 'http://dustintran.com/data/r/boot/amis.csv'
maybe_download_and_extract(path, url,
save_file_name='amis.csv',
resume=False)
Expand Down
3 changes: 1 addition & 2 deletions observations/r/aml.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ def aml(path):
path = os.path.expanduser(path)
filename = 'aml.csv'
if not os.path.exists(os.path.join(path, filename)):
url = 'https://raw.github.com/vincentarelbundock/Rdatasets/master/csv' \
'/boot/aml.csv'
url = 'http://dustintran.com/data/r/boot/aml.csv'
maybe_download_and_extract(path, url,
save_file_name='aml.csv',
resume=False)
Expand Down
Loading