Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,39 @@
|
|
1 |
-
---
|
2 |
-
license: mit
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
---
|
4 |
+
|
5 |
+
# Automated Nonparametric Content Analysis Datasets
|
6 |
+
|
7 |
+
This repository provides the four benchmark datasets used in:
|
8 |
+
|
9 |
+
> Connor T. Jerzak, Gary King, and Anton Strezhnev. **An Improved Method of Automated Nonparametric Content Analysis for Social Science.** *Political Analysis*, 31(1): 42–58, 2023.
|
10 |
+
|
11 |
+
Each dataset is formatted for easy loading in Python and R (CSV). Labels are integer-coded from `1,...,K`; text is provided as raw strings.
|
12 |
+
|
13 |
+
## Datasets
|
14 |
+
|
15 |
+
| Name | Documents | Categories | Source & Description |
|
16 |
+
| --------------- | --------: | ---------: | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
17 |
+
| **enron.csv** | 1,426 | 5 | Corporate emails from the Enron corpus, hand-coded into five thematic categories (e.g., business, personal, legal) |
|
18 |
+
| **immigration.csv** | 462 | 5 | Newspaper editorials on immigration policy, hand-coded into five sentiment/policy categories; originally used in Hopkins & King (2010) and Jerzak et al. (2023) |
|
19 |
+
| **clinton.csv** | 1,938 | 7 | Blog posts about Hillary Clinton from 2008, hand-coded into seven topical categories; feature space of \~3,623 word stems |
|
20 |
+
| **stanford.csv** | 11,855 | 5 | Sentences from the Stanford Sentiment Treebank, labeled on a five-point sentiment scale; commonly used in text quantification research |
|
21 |
+
|
22 |
+
|
23 |
+
---
|
24 |
+
|
25 |
+
### Citation
|
26 |
+
|
27 |
+
Connor T. Jerzak, Gary King, Anton Strezhnev. *An Improved Method of Automated Nonparametric Content Analysis for Social Science*. Political Analysis, 31(1): 42–58, 2023.
|
28 |
+
|
29 |
+
```
|
30 |
+
@article{JSK-readme2,
|
31 |
+
title={An Improved Method of Automated Nonparametric Content Analysis for Social Science},
|
32 |
+
author={Jerzak, Connor T. and Gary King and Anton Strezhnev},
|
33 |
+
journal={Political Analysis},
|
34 |
+
year={2023},
|
35 |
+
volume={31},
|
36 |
+
number={1},
|
37 |
+
pages={42-58}
|
38 |
+
}
|
39 |
+
```
|