mihaeladuta commited on
Commit
6f2a4fb
·
1 Parent(s): 5e41234

Updated labels for binned variables.

Browse files
data/ImpactCaseStudies_ppreprocessed.csv.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b586fb056ba076ce3861eb2d9e47f6cb09b54b3fdef0484d4f8d7892153b183f
3
  size 40171812
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f1aa915eda241fae1f473aaf0e1625abe2669c35e7fe2f4f702812661268796
3
  size 40171812
data/Outputs_ppreprocessed.csv.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b1846173be0e2538254eb13b9e9ba68a19aff3fe04b1d5194e95e1d61d2b3b5e
3
  size 19328565
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad114d3e19ae554cb81fcc211b00adf42fda7bf8def726940c25594238f9d864
3
  size 19328565
data/ResearchDoctoralDegreesAwarded_ppreprocessed.csv.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:eed55027bf8c68c6449c1ab2d3ea2f57f04c4f2d253ce3764bbe177e738bab0d
3
  size 34634
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19bea102fd474ae1434cabb252f9bf61535a947afa6d9f90bfd24e91832835fb
3
  size 34634
data/ResearchGroups_ppreprocessed.csv.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:579dc85be5a669d80e0fb650d764b58f75e5c389691617360c93d88b2ebf17cf
3
  size 31879
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4848505b0857d9116f66ec0ab0ff212e2b34c5fa8e56d4a7cb80e610888d9b25
3
  size 31879
data/ResearchIncomeInKind_ppreprocessed.csv.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ed8a77628d0a75f5d08b0161d499dbc53a923398e55c95cd47c0d51592f649ef
3
  size 36614
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55e2fbcb509a2199e7fd45954ad826da6bafcaa426c284409452020fe66e4162
3
  size 36614
data/ResearchIncome_ppreprocessed.csv.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b0620c26cc5fe30f9f118c4e2ac8f8a6a78ebdcc035d7ed1758b46b9207147c9
3
  size 476153
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e0d91061ae89c6ad6aac4944b62728d45997c164531a832b3ac164f5a1f0a77
3
  size 476153
data/Results_ppreprocessed.csv.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:616132569f60c6b3940ecb4ec474cf084e9893ef035706e2b0ba9a4923eb7828
3
- size 140835
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b56959cd1a5f598e0ce36e18933b7a0aef15cb3d17d25a5c020c34035378d59f
3
+ size 140450
src/codebook.py CHANGED
@@ -140,8 +140,9 @@ def bin_percentages_labels():
140
  """
141
 
142
  bins = PERCENTAGE_BINS
143
- labels = [f"({bins[i]}, {bins[i+1]}]" for i in range(len(bins)-1)]
144
- labels[0] = f"[{bins[0]}, {bins[1]}]"
 
145
 
146
  return labels
147
 
 
140
  """
141
 
142
  bins = PERCENTAGE_BINS
143
+ labels = [f"{bins[i]} to {bins[i+1]} %" for i in range(len(bins)-1)]
144
+ # labels = [f"({bins[i]}, {bins[i+1]}]" for i in range(len(bins)-1)]
145
+ # labels[0] = f"[{bins[0]}, {bins[1]}]"
146
 
147
  return labels
148