Skip to content

Instantly share code, notes, and snippets.

@whyvez
Last active August 29, 2015 14:02
Show Gist options
  • Select an option

  • Save whyvez/6acea1ca25e8434df4ef to your computer and use it in GitHub Desktop.

Select an option

Save whyvez/6acea1ca25e8434df4ef to your computer and use it in GitHub Desktop.
violations dict
violations = {
'VARIABLES': {
'CompanyPlotNumber': [0],
'DisturbanceYear': [3],
'DisturbanceDay': [5],
'DisturbanceNumber': [1],
'DisturbanceComment': [6],
'DisturbanceCode': [2],
'DisturbanceMonth': [4],
'CompoundFKey': [7],
'CompoundPKey': [8]}
}
'DATA': {
0: ['CompanyPlotNumber', 'DisturbanceNumber', 'DisturbanceCode', 'DisturbanceYear', 'DisturbanceMonth', 'DisturbanceDay', 'DisturbanceComment', 'CompoundFKey', 'CompoundPKey'],
1: ['37', '1', 'DF', '2002', '', '', '', '37', '37-1'],
2: ['43', '1', 'MLU', '2013', '', '', '', '43', '43-1'],
3: ['54', '1', 'DF', '2002', '', '', '', '54', '54-1'],
4: ['59', '1', 'DF', '2002', '', '', '', '59', '59-1'],
5: ['62', '1', 'DF', '2002', '', '', '', '62', '62-1'],
6: ['63', '1', 'DF', '2002', '', '', '', '63', '63-1'],
7: ['94', '1', 'DF', '2002', '', '', '', '94', '94-1'],
8: ['103', '1', 'DF', '2002', '', '', '', '103', '103-1'],
9: ['105', '1', 'DF', '2002', '', '', '', '105', '105-1'],
10: ['107', '1', 'DF', '2002', '', '', '', '107', '107-1'],
11: ['108', '1', 'DF', '2002', '', '', '', '108', '108-1'],
12: ['134', '1', 'DF', '2002', '', '', '', '134', '134-1'],
13: ['146', '1', 'DF', '2002', '', '', '', '146', '146-1'],
14: ['161', '1', 'MLU', '2010', '', '', '', '161', '161-1'],
15: ['162', '1', 'MLU', '2005', '', '', '', '162', '162-1'],
16: ['163', '1', 'MLU', '2005', '', '', '', '163', '163-1'],
17: ['166', '1', 'DF', '2002', '', '', '', '166', '166-1'],
18: ['169', '1', 'MLU', '2013', '', '', '', '169', '169-1'],
19: ['171', '1', 'DF', '2011', '', '', '', '171', '171-1'],
20: ['202', '1', 'DF', '2002', '', '', '', '202', '202-1'],
21: ['203', '1', 'DF', '2002', '', '', '', '203', '203-1'],
22: ['204', '1', 'DF', '2002', '', '', '', '204', '204-1'],
23: ['228', '1', 'DF', '2002', '', '', '', '228', '228-1'],
24: ['269', '1', 'MLU', '2010', '', '', '', '269', '269-1'],
25: ['284', '1', 'DF', '2002', '', '', '', '284', '284-1'],
26: ['285', '1', 'DF', '2002', '', '', '', '285', '285-1'],
27: ['308', '1', 'MLU', '2006', '', '', '', '308', '308-1'],
28: ['328', '1', 'MLU', '2010', '', '', '', '328', '328-1'],
29: ['329', '1', 'MLU', '2010', '', '', '', '329', '329-1']
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment