File size: 6,561 Bytes
dfea2ca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21c7f57
dfea2ca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
648ea96
 
 
dfea2ca
648ea96
 
dfea2ca
 
 
 
 
 
 
 
 
 
648ea96
dfea2ca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
---
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](https://github.com/csiiiv/dpwh-transparency-data-api-scraper) by [@csiiiv](https://github.com/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](https://creativecommons.org/publicdomain/zero/1.0/) 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](https://transparency.dpwh.gov.ph/). Dataset compiled and formatted for research and analysis purposes.

Special thanks to [@csiiiv](https://github.com/csiiiv) for developing the [dpwh-transparency-data-api-scraper](https://github.com/csiiiv/dpwh-transparency-data-api-scraper) tool that enabled systematic data collection from the DPWH Transparency API.