load_sudan
data.load_sudan(raw_names=False)Load the 2011 Sudan secession panel with bilateral-trade weights.
The panel covers 34 African countries over 2000-2015 with GDP per capita (constant 2015 US\() as the outcome and six World Development Indicators series as covariates. South Sudan seceded in July 2011; the treated unit "Sudan" aggregates Sudan and South Sudan after the split, and ``treated`` is 1 for Sudan from 2011 onward (11 pre-treatment years, 5 post-treatment years, 33 donors). ``spatial_w`` holds each donor's average pre-period bilateral trade with Sudan (IMF Direction of Trade Statistics) and ``spatial_W`` the average bilateral trade among donors -- both raw US\) values, normalized inside the estimator.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| raw_names | bool | When False, the R-mangled WDI column headers are renamed to clean snake_case (see the returned column_map); when True, the original CSV headers are kept (useful for byte-level comparison against the R replication package). |
False |
Returns
| Name | Type | Description |
|---|---|---|
| SpillPanel | The panel, spatial weights, and column metadata. |
Examples
from scspill.data import load_sudan
panel = load_sudan()
panel.covariates
panel.spatial_w.nlargest(2) # Egypt and Kenya trade most with Sudan