updated with readme did data
This commit is contained in:
parent
9f6f7e9423
commit
942c8113d6
2280
42524_new_readme.csv
Normal file
2280
42524_new_readme.csv
Normal file
File diff suppressed because it is too large
Load Diff
@ -12,8 +12,8 @@ import math
|
||||
key = os.environ.get('KKEXKEY')
|
||||
|
||||
early_cutoff = dt.datetime(2008,2, 8)
|
||||
temp_dir1 = "/data/users/mgaughan/tmp/"
|
||||
temp_dir = "tmp/"
|
||||
temp_dir = "/data/users/mgaughan/tmp/"
|
||||
temp_dir1 = "tmp/"
|
||||
|
||||
'''
|
||||
- rate of change, rate of all/day
|
||||
@ -91,11 +91,11 @@ def file_get_contribs(upstream_vcs_link, event_date):
|
||||
|
||||
|
||||
def for_files():
|
||||
csv_path = "final_data/deb_contrib_did.csv"
|
||||
csv_path = "final_data/deb_readme_did.csv"
|
||||
count = 0
|
||||
with open(csv_path, 'r') as file:
|
||||
csv_reader = csv.DictReader(file)
|
||||
with open('42524_new_contrib.csv', "w") as writing_file:
|
||||
with open('42524_new_readme.csv', "w") as writing_file:
|
||||
# this would also have to get switched fro the cont dataset
|
||||
keys = ['upstream_vcs_link', "event_date", 'before_contrib_new', 'after_contrib_new', 'after_collab_new', 'before_collab_new', 'merge_pre', 'merge_post']
|
||||
dict_writer = csv.DictWriter(writing_file, keys)
|
||||
|
Loading…
Reference in New Issue
Block a user