跳到正文
cccskills
免费在 GitHub 公开

data-deposit

Prepare a research replication package for the sewage-house-prices project, including an AEA-format README, a master script, and a deposit checklist. Map script dependencies and validate ten requirements so others can follow the analysis workflow.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Prepare a replication package for the sewage-house-prices project. Generates AEA-compliant README, master script, numbered script order, install script, and deposit checklist. Validates the package against 10 verification checks. This skill should be used when asked to "prepare replication", "data deposit", "create replication package", or "package for submission".

集成工具Docker

实测评分 未实测

查看安装方法

适用场景

  • Prepare research files for a data deposit
  • Document script dependencies and execution order
  • Trace manuscript tables and figures to their scripts
  • Document public and restricted datasets

包含的文件(1)

  • SKILL.md4.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Data Deposit Preparation

Prepare an AEA Data Editor compliant replication package for the sewage-house-prices project.

Input: $ARGUMENTS — output directory (defaults to Replication/).


Project-Specific Context

Pipeline Structure

The project has a 6-layer data pipeline in scripts/R/:

  1. 01_data_ingestion/ — Raw data collection (EDM archives, APIs)
  2. 02_data_cleaning/ — Format standardisation, geocoding, validation
  3. 03_data_enrichment/ — Temporal aggregation, rainfall metrics, dry spill identification
  4. 04_feature_engineering/ — Spatial matching (house/rental ↔ spill sites)
  5. 05_data_integration/ — Merging historical and API EDM data
  6. 06_analysis_datasets/ — Final dataset assembly

Analysis scripts: scripts/R/09_analysis/ (6 subdirectories by approach) Utilities: scripts/R/utils/ Python scripts: scripts/python/ (river network processing) Docker pipelines: RiverNetworks/, upstream_downstream/

Data Layout

data/raw/          — Original immutable data (EDM, Land Registry, Met Office, shapefiles)
data/processed/    — Intermediate pipeline outputs (parquet)
data/final/        — Analysis-ready datasets
data/cache/        — Postcode geocoding cache

Key Dependencies

  • R packages managed via renv (renv.lock)
  • Python environment via uv in scripts/python/
  • PostGIS via Docker for river network analysis

Workflow

Step 1: Inventory

  1. Read all scripts in scripts/R/ and parse data file references
  2. Read renv.lock for package versions
  3. Scan output/tables/ and output/figures/ for output files
  4. Read the manuscript (docs/overleaf/_main.tex) for table/figure references
  5. Check scripts/python/ for Python dependencies

Step 2: Analyse Dependencies

  1. Parse script dependencies (which scripts create files that others load)
  2. Map the execution order (follows the 6-layer pipeline, then analysis scripts)
  3. Cross-reference the full execution order documented in ReadMe.md

Step 3: Assemble Package

Create in Replication/ (or specified directory):

  1. README.md — AEA format:

    • Data availability statement (which data is public vs restricted)
    • Computational requirements (R version, packages, PostGIS, Python)
    • Program descriptions (what each script does)
    • Replication instructions (step-by-step)
    • Expected runtime
  2. master.R — Runs everything in order:

    # Master replication script for "Sewage in Our Waters"
    # Estimated runtime: [X hours]
    
    source(here::here("scripts", "R", "01_data_ingestion", "script.R"))
    # ... through all layers
    source(here::here("scripts", "R", "09_analysis", "subdir", "script.R"))
    
  3. install_packages.R — If renv is not used:

    install.packages(c("tidyverse", "fixest", "modelsummary", ...))
    
  4. DEPOSIT_CHECKLIST.md — Pre-deposit verification

Step 4: Validate

Run the 10 verification checks (equivalent to /audit-replication):

  1. Script execution order is correct
  2. All data file references resolve
  3. All output files are generated
  4. Package versions documented
  5. No hardcoded absolute paths
  6. Data provenance documented
  7. README completeness (AEA format)
  8. Output cross-reference (every table/figure traced to a script)
  9. Restricted data properly flagged
  10. Master script runs without modification

Step 5: Present Results

  1. Package contents — All files in Replication/
  2. Script order — Numbered sequence with dependency graph
  3. Data availability — Public vs restricted datasets
  4. Verification result — X/10 checks passed
  5. Deposit steps — openICPSR / Zenodo instructions

Principles

  • AEA Data Editor standards are the target. README format, versions, data access statements.
  • Don't rename scripts without approval. Present ordering first, let the user decide.
  • Thorough data provenance. Every dataset documented with source, access date, and restrictions.
  • Test before declaring ready. Always validate after assembly.
  • Document restricted data clearly. Land Registry and Zoopla data may have access restrictions.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

a1

免费

Turn a broad research idea into clear, testable questions. Compare familiar and less conventional approaches, structure the selected question around its population and methods, and assess variables, feasibility, and potential theoretical contributions.

中文简介正在准备中。当前显示英语简介。

  • Turn a research topic into testable questions
  • Narrow an overly broad research question
  • Compare alternative research angles
brycewang-stanford/Auto-Empirical-Research-Skills47512026年10月20日 更新

a2

免费

Helps build a research framework by comparing theories, mapping relationships between variables, and deriving testable hypotheses. Explores less conventional options, examines weaknesses and competing explanations, and produces diagrams with anticipated reviewer objections.

中文简介正在准备中。当前显示英语简介。

  • Comparing theories for a research question
  • Deriving hypotheses from relationships between variables
  • Examining weaknesses and anticipated reviewer objections
brycewang-stanford/Auto-Empirical-Research-Skills47512026年10月20日 更新

a5

免费

Clarify the philosophical assumptions behind a research project and check whether they fit the proposed methods. Get a reasoned research stance, draft proposal wording, and guidance for explaining how the researcher's background and values shape the study.

中文简介正在准备中。当前显示英语简介。

  • Clarifying philosophical foundations for a research proposal
  • Explaining why the chosen research methods fit the study
  • Drafting a statement about the researcher's position
brycewang-stanford/Auto-Empirical-Research-Skills47512026年10月20日 更新

Plan and draft academic papers through specialized agent roles covering literature, arguments, citations, and review. Get chapter guidance, revision roadmaps, Traditional Chinese and English abstracts, and documents formatted as LaTeX, DOCX, PDF, or Markdown.

中文简介正在准备中。当前显示英语简介。

  • Planning a paper chapter by chapter
  • Drafting a paper from research materials
  • Turning reviewer comments into a revision roadmap
brycewang-stanford/Auto-Empirical-Research-Skills47512026年10月20日 更新

Turn a detailed outline into a philosophy or interdisciplinary manuscript. Draft chapters with repeated quality reviews, check terminology and arguments across sections, and prepare the manuscript, evaluation reports, abstract, and metadata for submission.

中文简介正在准备中。当前显示英语简介。

  • Draft a full paper from a detailed outline
  • Review argument and citation quality chapter by chapter
  • Check terminology and argument flow across chapters
brycewang-stanford/Auto-Empirical-Research-Skills47512026年10月20日 更新

Simulate academic peer review through five reviewer roles tailored to the paper's field. Receive separate critiques, an editorial decision, and a prioritized revision roadmap, or check whether a revised manuscript addresses earlier comments.

中文简介正在准备中。当前显示英语简介。

  • Review a manuscript before journal submission
  • Examine research methods and statistical validity
  • Challenge core arguments and alternative explanations
brycewang-stanford/Auto-Empirical-Research-Skills47512026年10月20日 更新

查看 brycewang-stanford 的全部技能

报告此技能的问题