j4ckofalltrades's picture
Update dataset fields info
648ea96 verified
metadata
language:
  - en
license: cc0-1.0
tags:
  - government
  - infrastructure
  - transparency
  - philippines
  - public-works
  - geospatial
pretty_name: DPWH Infrastructure Transparency Dataset
size_categories:
  - 1K<n<10K
task_categories:
  - tabular-classification
  - tabular-regression
configs:
  - config_name: default
    data_files: dpwh_transparency_data.parquet

DPWH Infrastructure Transparency Dataset

Dataset Description

This dataset contains comprehensive information about infrastructure projects from the Department of Public Works and Highways (DPWH) of the Philippines. The data is sourced from DPWH's transparency initiatives and includes detailed information about public works contracts, budgets, progress tracking, and geospatial data.

Dataset Summary

The DPWH Infrastructure Transparency Dataset provides detailed records of infrastructure projects including:

  • Contract and project identification
  • Project descriptions and categorization
  • Budget and financial tracking (budget allocation and amounts paid)
  • Project progress and status monitoring
  • Contractor information
  • Temporal data (start dates, completion dates, infrastructure year)
  • Funding sources and program details
  • Livestream monitoring capabilities for select projects
  • Geospatial coordinates (latitude/longitude)
  • Regional and provincial location information
  • Community engagement metrics (report counts)

This dataset is valuable for:

  • Government transparency and accountability research
  • Infrastructure project analysis and monitoring
  • Budget allocation and spending pattern studies
  • Geospatial analysis of public works distribution
  • Contractor performance evaluation
  • Project timeline and completion analysis

Supported Tasks

  • Tabular Classification: Predict project status, category, or completion likelihood
  • Tabular Regression: Predict project budgets, progress rates, or completion times
  • Geospatial Analysis: Map infrastructure distribution across Philippine regions
  • Time Series Analysis: Track project timelines and spending patterns

Languages

The dataset contains text primarily in English, with some project descriptions and location names in Filipino.

Dataset Structure

Data Fields

  • contractId (string): Unique identifier for the contract
  • description (string): Detailed description of the infrastructure project
  • category (string): Main category of the infrastructure project
  • componentCategories (string): Additional component categorizations
  • status (string): Current status of the project
  • budget (float64): Allocated budget for the project
  • amountPaid (int64): Amount paid to date
  • progress (float64): Project completion progress (0-100%)
  • location (struct): Location information
    • province (string): Province where project is located
    • region (string): Administrative region
  • contractor (string): Name of the contracting company
  • startDate (date32): Project start date
  • completionDate (date32): Scheduled or actual completion date
  • infraYear (string): Infrastructure fiscal year
  • programName (string): Associated government program
  • sourceOfFunds (string): Funding source(s)
  • isLive (bool): Whether project has livestream monitoring
  • livestreamUrl (string): URL to livestream if available
  • livestreamVideoId (string): Video identifier for livestream
  • livestreamDetectedAt (string): Timestamp of livestream detection
  • latitude (float64): Geographic latitude coordinate
  • longitude (float64): Geographic longitude coordinate
  • reportCount (int64): Number of reports or updates
  • hasSatelliteImage (bool): Whether satellite imagery is available for this project

Data Splits

The dataset is provided as a single training split containing all available records.

Dataset Creation

Source Data

This dataset aggregates data from the DPWH Transparency Portal (https://transparency.dpwh.gov.ph/), the official transparency platform of the Philippine Department of Public Works and Highways.

Initial Data Source

The original data is published by the Department of Public Works and Highways (DPWH) of the Philippines through their public transparency API:

  • Base API: https://api.transparency.dpwh.gov.ph/projects
  • Contract Details API: https://api.transparency.dpwh.gov.ph/projects/{contractId}

Data Collection

  • Collection Process: Data was extracted using the dpwh-transparency-data-api-scraper by @csiiiv
  • Collection Methodology: The scraper employed two approaches:
    • Pagination-Based Extraction: Concurrent threading to fetch bulk project listings across multiple pages
    • Individual Contract Extraction: Detailed retrieval for specific contracts using contract IDs
  • Technical Implementation: Uses curl-cffi with 70+ browser TLS fingerprints (Chrome, Firefox, Safari, Edge, Opera variants) to diversify request signatures, with intelligent retry logic and rate-limit detection
  • Annotation Process: Data is provided as-is from government sources
  • Time Period: Contains projects from various infrastructure years
  • Rate Limiting: The DPWH API enforces approximately 300 requests per 10 minutes; data collection respects these limits

Personal and Sensitive Information

The dataset contains information about government contractors and public infrastructure projects. All information is from public government transparency portals. No personal information about private citizens is included.

Considerations for Using the Data

Social Impact

This dataset supports government transparency and accountability by making infrastructure project data accessible for analysis and monitoring.

Additional Information

Licensing

This dataset is licensed under the CC0 1.0 Universal license. This means you can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Contributions

Data sourced from the Philippine Department of Public Works and Highways (DPWH) Transparency Portal. Dataset compiled and formatted for research and analysis purposes.

Special thanks to @csiiiv for developing the dpwh-transparency-data-api-scraper tool that enabled systematic data collection from the DPWH Transparency API.