尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Et projekt for at formidle data om dansk landbrug
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Making Danish agricultural data transparent and universally accessible.
Landbruget.dk organizes data from 18+ Danish government sources into a single, queryable platform. We collect, clean, and publish agricultural, environmental, and regulatory data so that journalists, researchers, and citizens can hold the industry accountable.
This installs frontend dependencies, Playwright browsers, and the shared Python workspace via uv, pinned to Python 3.11檢視完整 README ↗Making Danish agricultural data transparent and universally accessible.
Landbruget.dk organizes data from 18+ Danish government sources into a single, queryable platform. We collect, clean, and publish agricultural, environmental, and regulatory data so that journalists, researchers, and citizens can hold the industry accountable.
landbruget.dk/
├── frontend/ # Next.js 16 — interactive map + data visualization
├── frontend-pesticide/ # Next.js 16 — PFAS/pesticide exposure maps
├── data-explorer/ # Next.js 16 — browser-based SQL queries on Parquet files
├── backend/ # Python data pipelines (medallion architecture)
│ ├── pipelines/ # 12 data pipelines (CHR, unified, climate, etc.)
│ └── common/ # Shared utilities (DuckDB, R2, CRS)
├── supabase/ # PostgreSQL migrations + Edge Functions
├── schema/ # Data catalog (183 datasets) + relationship docs
├── docs/ # Pipeline index, data lineage, troubleshooting
├── scripts/ # Utility scripts (worktree setup)
└── .github/ # CI/CD workflows (30+ GitHub Actions)
| Layer | Technology | Purpose |
|---|---|---|
| Frontend | Next.js 16, React 19, TypeScript, Tailwind CSS 4 | Web applications |
| Maps | MapLibre GL JS, PMTiles | Geospatial visualization |
| Backend | Python 3.11+, DuckDB, ibis-framework | Data pipelines |
| Database | Supabase (PostgreSQL 15 + PostGIS) | Storage + API |
| Data Storage | Cloudflare R2 | Raw + processed data |
| CI/CD | GitHub Actions | Pipeline orchestration |
| Deployment | Vercel | Frontend hosting |
| Linting | oxlint (frontend), ruff (backend) | Code quality |
| Testing | Playwright (frontend), pytest (backend) | Quality assurance |
./scripts/setup-worktree.sh
This installs frontend dependencies, Playwright browsers, and the shared Python workspace via uv, pinned to Python 3.11 via .python-version, then verifies npm test, npm run lint, and uv run pytest can resolve their local tooling.
cd frontend
cp .env.example .env.local # Configure Supabase credentials
npm ci
npm run dev # http://localhost:3000
cd data-explorer
cp .env.local.example .env.local # Add Google API key for Gemini
npm install
npm run dev # http://localhost:3000
uv sync --python 3.11 --all-packages --group dev
# Run a specific pipeline
cd backend/pipelines/unified_pipeline
uv run python -m unified_pipeline bronze --source cadastral
All data flows through three layers:
All geospatial processing uses EPSG:25832 (UTM 32N, meters). Data is transformed to EPSG:4326 (WGS84) only at the final Supabase upload step.
All datasets join on one or more of:
| Identifier | Name | Format | Purpose |
|---|---|---|---|
| CVR | Company Registration | 8 digits | Links to companies |
| CHR | Central Herd Register | 6 digits | Links to livestock herds |
| BFE | Cadastral ID | Variable | Links to land parcels |
We collect from 18+ official Danish government sources including:
See docs/PIPELINE_INDEX.md for the full pipeline documentation.
| Pipeline | Purpose | Schedule |
|---|---|---|
unified_pipeline | 18+ government data sources | Weekly (Mon 2 AM UTC) |
chr_pipeline | Livestock registry + veterinary data | Weekly |
svineflytning_pipeline | Pig movement tracking | Weekly (Wed 2 AM UTC) |
climate | Farm-level CO2e emissions | On demand |
bmd_scraper | Pesticide database | Monthly |
dma_scraper | Environmental company registry | Monthly |
drive_data_pipeline | Google Drive regulatory docs | On demand |
bbr_buildings | Building registry | Monthly |
arbejdstilsynet_inspections |
# Frontend
cd frontend && npm test # Playwright E2E
cd frontend && npm run lint # oxlint
# Backend
uv run --all-packages --group dev pytest # pytest
uv run --all-packages --group dev ruff check backend
uv run --all-packages --group dev ruff format backend
Format: <type>/<short-description> — e.g. feat/map-view, fix/chr-data-load
Types: feat, fix, docs, refactor, test, chore, ci, perf, build
<type>(<scope>): <subject>
Examples: feat(frontend): add interactive map view, fix(pipeline): correct CHR transformation
main following the naming convention abovenpm test + uv run --all-packages --group dev pytest)npm run lint + uv run --all-packages --group dev ruff check backend)The source code in this repository is licensed under the MIT License.
The MIT license does not cover the data. This includes both:
docs/PIPELINE_INDEX.md), andEach dataset retains the licensing terms of its original source — typically Danish government open-data terms or, where applicable, a Creative Commons license. Where the source is not openly licensed, the original copyright and conditions of the issuing public authority apply. Reusing data from this project requires complying with the upstream source's terms.
See /om-os for the project's overall data policy and /kilder for per-source attribution.
The data is provided "as is and as available" — no warranty is given as to completeness, accuracy, or timeliness.
| Workplace safety inspections |
| On demand |
h3_pfas_exposure_pipeline | PFAS exposure mapping | Weekly |
property_owners_sftp | Property ownership data | Manual |