A comprehensive toolkit for calculating disruptive innovation metrics (DI1, DI5, mCD).
Project description
# Disruptive Innovation Index Calculator
A simple, high-performance Python tool to calculate citation-based disruptive innovation index (**DI1**, **DI5**, **mCD**).
## 📦 Installation
```bash
pip install from disrupt_idx
🚀 Quick Start
1. Prepare Data
Place these 3 files in your working directory:
| File | Columns Required | Description |
|---|---|---|
net.csv |
id, cited (or netfrom, netto) |
Citation network relationships. |
time.csv |
id, publicationDate |
Publication dates (YYYY/MM/DD). |
focal.csv |
id |
List of target IDs to calculate. |
2. Run Code
Create a python script (e.g., run.py) and run it:
Python
from disruptive_metrics import DisruptiveInnovator
# Initialize (Automatically loads net.csv, time.csv, focal.csv)
calculator = DisruptiveInnovator()
print("Calculating...")
# Standard Metrics
calculator.calculate("DI1")
calculator.calculate("DI5")
calculator.calculate("mCD")
# Metrics with Time Window (e.g., 5 years)
calculator.calculate("DI1", window_years=5)
# Metrics excluding Nk term (nk mode)
calculator.calculate("DI1", exclude_nk=True)
📂 Output
Results are automatically saved in the results/ folder:
results/DI1.csvresults/DI1Y5.csv- ...and so on.
📄 License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
disrupt_idx-0.1.0.tar.gz
(4.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file disrupt_idx-0.1.0.tar.gz.
File metadata
- Download URL: disrupt_idx-0.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17f69fbc1f98b6ff94840584ce35a60f1f6913fc2fe8d8bf2af7f719e87c468e
|
|
| MD5 |
1e4ddef15475b04e5b2e1d956be4a564
|
|
| BLAKE2b-256 |
7265fade7431f545596127d928afa93153a6a2783b80299e0339b71002007021
|
File details
Details for the file disrupt_idx-0.1.0-py3-none-any.whl.
File metadata
- Download URL: disrupt_idx-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84c9ade4c02a3681d0d2578b960fee82f31870f43121b6cbba9ec5b53600f4a3
|
|
| MD5 |
d1760bbb7d072c453afb88825509f0e1
|
|
| BLAKE2b-256 |
5fa40da09dbc0173baab4fa592e98e8fca25f17273a0c810c6f2d743a9d7d36f
|