-
Notifications
You must be signed in to change notification settings - Fork 1
/
crsp.py
28 lines (23 loc) · 924 Bytes
/
crsp.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from wrdsdata import wrdsdata
class crsp(wrdsdata):
"""
This is a class inherited from wrdsdata class to process crsp data.
Args:
startyear (int): The startyear of the desired output data.
endyear (int): The endyear of the desired output data.
month (int): The month of the desired output data; 0 means every month.
file (str): the file name of the desired output data.
"""
def __init__(self, startyear, endyear, month, file):
"""
The constructor for crsp class.
Args:
startyear (int): The startyear of the desired output data.
endyear (int): The endyear of the desired output data.
month (int): The month of the desired output data; 0 means every month.
file (str): the file name of the desired output data.
Returns:
no returns.
"""
wrdsdata.__init__(self, startyear, endyear, month, file)
pass