patent_project

Some python scripts from my thesis project on Organizational Learning and the Production of Innovation:

distance.py - file to get network distance between two subclasses in patent class/technology network

orgs_learning.py - file that takes patent subclass, organization and inventor and calculates fraction of learning that is from consolitation (ie existing), acquisition and search for knowledge'

industry_analysis.py - file that runs analysis of learning and innovation distance for 35 industries and plots the results

scrape_IPC_to_USPC.py - scrapes IPC webpage to get conversion from IPC codes to USPC codes neeeded to separate organizations into industry categories

dictionaries_for_matrix.py - extracts data from database and creates dictionaries to make matrix

data_to_matrix.py - creates sparse matrices from dictionaries created above in dictionaries_for_matrix.py