In [1]:
from knetwork import collaboration_count

In [2]:
data_source = 'web of science'
year_list = [2000]
country_list = ['USA','Japan']
column_name = 'C1'

In [3]:
collaboration_count.count_all_years(data_source,year_list,country_list,column_name)


---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-3-f3f68d143359> in <module>()
----> 1 collaboration_count.count_all_years(data_source,year_list,country_list,column_name)

C:\Users\rahul\Miniconda3\lib\site-packages\knetwork-1.0-py3.5.egg\knetwork\collaboration_count.py in count_all_years(data_source, year_list, country_list, column_name)
     65     results = []
     66     for i in year_list:
---> 67         count = wrapping_function(data_source, i, country_list, column_name)
     68         results.append(count)
     69     return results

C:\Users\rahul\Miniconda3\lib\site-packages\knetwork-1.0-py3.5.egg\knetwork\collaboration_count.py in wrapping_function(data_source, year, country_list, column_name)
     49     path = op.join(path, data_source)
     50     path = op.join(path, '%d' % year)
---> 51     filelist = os.listdir(path)
     52     count = np.zeros((len(country_list), len(country_list)))
     53     for i in filelist:

FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\rahul\\Miniconda3\\lib\\site-packages\\knetwork-1.0-py3.5.egg\\knetwork\\data\\web of science\\2000'