skills/43-wentorai-research-plugins/skills/tools/scraping/dataset-finder-guide/SKILL.md
Search and download research datasets from Kaggle, HuggingFace, and repos
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research dataset-finder-guideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Search, evaluate, and download research datasets from major repositories including Kaggle, Hugging Face, Google Dataset Search, Zenodo, UCI Machine Learning Repository, and domain-specific archives. This skill helps researchers locate the right data for their experiments efficiently.
Finding suitable datasets is often one of the most time-consuming phases of empirical research. Datasets are scattered across dozens of platforms, each with different APIs, licensing terms, download mechanisms, and metadata standards. A single research project might require datasets from Kaggle for benchmarking, Hugging Face for NLP tasks, Zenodo for supplementary materials from published papers, and government open data portals for demographic or economic variables.
This skill provides a unified approach to dataset discovery: formulating search queries, evaluating dataset quality and suitability, understanding licensing implications, and efficiently downloading and organizing data. It covers both general-purpose repositories and domain-specific archives that researchers in various fields need.
The emphasis is on reproducibility -- every dataset used in research should be citable, versioned, and documented. This skill includes patterns for recording dataset provenance, creating data cards, and managing dataset versions across experiments.
| Repository | Strengths | API | Citation Support | |------------|-----------|-----|-----------------| | Kaggle | ML benchmarks, competitions, community kernels | REST + CLI | DOI via dataset cards | | Hugging Face Datasets | NLP, CV, audio; streaming support | Python library | Built-in citation | | Zenodo | Any research data, DOI minting, EU-funded | REST API | Automatic DOI | | Google Dataset Search | Meta-search across repositories | Web only | Links to source | | UCI ML Repository | Classic ML benchmarks | Direct download | BibTeX provided | | Figshare | Figures, datasets, media, preprints | REST API | DOI per item | | Dryad | Ecology, biology, environmental science | REST API | DOI per dataset | | ICPSR | Social science survey data | Restricted API | Persistent IDs | | Harvard Dataverse | Multi-discipline, institutional | REST API | DOI per dataset |
| Domain | Repository | Notable Datasets | |--------|-----------|-----------------| | Genomics | NCBI GEO, ENA | Gene expression, sequencing data | | Astronomy | NASA archives, SDSS | Sky surveys, spectral data | | Economics | FRED, World Bank, IMF | Time series, macro indicators | | Climate | NOAA, CMIP6 | Temperature, precipitation records | | Linguistics | LDC, CLARIN | Corpora, treebanks | | Medical | PhysioNet, MIMIC | Clinical records, ECG/EEG | | Chemistry | PubChem, ChEMBL | Molecular structures, bioassays |
# Install and configure
pip install kaggle
# Place kaggle.json in ~/.kaggle/
# Search datasets
kaggle datasets list -s "sentiment analysis" --sort-by votes
kaggle datasets list -s "medical imaging" --file-type csv --min-size 100MB
# Get dataset details
kaggle datasets metadata -d stanford/imdb-review-dataset
# Download dataset
kaggle datasets download -d stanford/imdb-review-dataset -p ./data/
unzip ./data/imdb-review-dataset.zip -d ./data/imdb/
# Download competition data
kaggle competitions download -c titanic -p ./data/
from datasets import load_dataset, list_datasets
# Search for datasets by task
from huggingface_hub import HfApi
api = HfApi()
datasets = api.list_datasets(
search="scientific papers",
sort="downloads",
direction=-1,
limit=20
)
for ds in datasets:
print(f"{ds.id}: {ds.downloads} downloads")
# Load a dataset (with streaming for large datasets)
dataset = load_dataset("scientific_papers", "arxiv", streaming=True)
# Inspect structure
print(dataset["train"].features)
print(f"Number of examples: {dataset['train'].num_rows}")
# Load specific split and subset
validation = load_dataset(
"scientific_papers", "arxiv",
split="validation[:1000]"
)
import requests
from bs4 import BeautifulSoup
def search_google_datasets(query, num_results=10):
"""Search Google Dataset Search and extract results."""
url = f"https://datasetsearch.research.google.com/search"
params = {"query": query, "docid": ""}
# Note: Google Dataset Search does not have an official API
# Use the web interface or alternative approaches
print(f"Search at: {url}?query={query.replace(' ', '+')}")
return url
import requests
def search_zenodo(query, resource_type="dataset", size=10):
"""Search Zenodo for research datasets."""
url = "https://zenodo.org/api/records"
params = {
"q": query,
"type": resource_type,
"size": size,
"sort": "mostrecent",
"access_right": "open"
}
response = requests.get(url, params=params)
results = response.json()
for hit in results.get("hits", {}).get("hits", []):
meta = hit["metadata"]
print(f"Title: {meta['title']}")
print(f"DOI: {meta.get('doi', 'N/A')}")
print(f"License: {meta.get('license', {}).get('id', 'N/A')}")
print(f"Size: {sum(f['size'] for f in hit.get('files', []))/1e6:.1f} MB")
print("---")
return results
Before using a dataset in research, verify the following:
| License | Commercial Use | Modification | Attribution Required | |---------|---------------|-------------|---------------------| | CC0 | Yes | Yes | No | | CC-BY 4.0 | Yes | Yes | Yes | | CC-BY-SA 4.0 | Yes | Yes (share-alike) | Yes | | CC-BY-NC 4.0 | No | Yes | Yes | | ODC-ODbL | Yes | Yes (share-alike) | Yes | | Custom/Restricted | Varies | Varies | Varies |
## Data Card
**Dataset**: [Name]
**Source**: [URL]
**Version**: [Version/Date]
**DOI**: [DOI if available]
**License**: [License name]
**Downloaded**: [YYYY-MM-DD]
**Size**: [X rows, Y columns, Z MB]
**Description**: [Brief description]
**Preprocessing**: [Steps applied before use]
**Citation**: [BibTeX entry]
project/
data/
raw/ # Original downloaded data (never modify)
dataset_v1.csv
README.md # Data card with provenance
processed/ # Cleaned and transformed data
train.csv
test.csv
external/ # Third-party reference data
scripts/
download_data.py # Reproducible download script
preprocess.py # Data cleaning pipeline
"""download_data.py - Reproducible dataset download."""
import hashlib
from pathlib import Path
import requests
DATASETS = {
"main_dataset": {
"url": "https://zenodo.org/record/12345/files/data.csv",
"sha256": "abc123...",
"filename": "raw/main_dataset.csv"
}
}
DATA_DIR = Path("data")
for name, info in DATASETS.items():
path = DATA_DIR / info["filename"]
if path.exists():
print(f"Already downloaded: {name}")
continue
path.parent.mkdir(parents=True, exist_ok=True)
print(f"Downloading {name}...")
response = requests.get(info["url"])
path.write_bytes(response.content)
# Verify integrity
sha256 = hashlib.sha256(response.content).hexdigest()
assert sha256 == info["sha256"], f"Checksum mismatch for {name}"
print(f"Verified: {name}")
tools
Recommend AND run open-source AI tools, agents, Claude Code / Codex skills, and MCP servers for any stage of a literature review — searching, reading, extracting, synthesizing, screening, citation-checking, and paper writing. Use when the user asks "what tool should I use to..." OR "install/run/use <tool> to ..." for research/lit-review work: automating a survey or related-work section, PDF→Markdown extraction for LLMs (MinerU/marker/docling), PRISMA / systematic review (ASReview), citation-backed Q&A over PDFs (PaperQA2), wiring papers into Claude/Cursor via MCP (arxiv/paper-search/zotero servers), or chatting with a Zotero library. Ships a launcher (scripts/litrun.py) that installs each tool in an isolated venv and runs it. Curated catalog of 70+ vetted projects. 支持中英文(用于「文献综述工具选型」与「一键安装/运行」)。
development
Route empirical-research requests through the Auto-Empirical Research Skills catalog when this whole repository is installed as one skill in Codex, CodeBuddy, Claude Code, or another IDE. Use to choose and load the right vendored AERS skill for causal inference, econometrics, replication, data acquisition, manuscript writing, peer review and referee responses, citation checking, de-AIGC editing, or full empirical-paper workflows without reading the entire repository at once.
documentation
Use when the project collects primary data or runs a field, lab, or survey experiment, before the intervention begins — write the pre-analysis plan, size the sample from a power calculation, and register with the AEA RCT Registry. Apply after the design is chosen in aer-identification and before any outcome data are seen.
tools
Guide economists to authoritative data sources with explicit, confirmed data specifications before retrieval; interfaces with Playwright MCP to navigate portals and extract real data, not articles about data.