Skip to content

LDFLK/datasets

Sri Lanka Government Statistics Datasets

License Code of Conduct Security Contributing

This repository contains cleaned and organized datasets from various Sri Lankan government public sources, compiled by the Lanka Data Foundation. The data spans from 2019 to 2025 and covers multiple ministries and departments.

All datasets are in clean JSON format with metadata.

To see a summary of all data available, see the Data Matrix.

Features

Feature Description
Multi-Year Coverage 6 years of comprehensive data (2020-2025)
Government-Wide Scope Data from 4 major ministries and multiple departments
Clean & Structured All datasets in standardized JSON format with consistent schemas
175+ Datasets Extensive collection covering tourism, immigration, employment, and foreign affairs
Rich Metadata Each dataset includes optional metadata for context and provenance
Interactive Browser Browse data online via GitHub Pages with built-in JSON viewer
Bulk Downloads Year-wise ZIP files for easy batch downloading

Getting Started

Browsing & Viewing Data

The easiest way to explore the datasets:

All datasets are available as JSON files in the data/ directory, organized by year and ministry.

Adding New Data

To add new datasets to this repository:

  1. Navigate to the appropriate year folder in data/statistics/[YEAR]/
  2. Add your dataset as a JSON file in the correct ministry/department structure
  3. Update the hierarchy file (data_hierarchy_[YEAR].yaml) to include your new dataset
  4. Submit a pull request - See CONTRIBUTING.md for guidelines

Data File Requirements

  • data.json: Must contain valid JSON data
  • metadata.json: Optional, should contain dataset metadata (description, source, etc.)
  • Files must be placed in appropriately named folders with appropriate categories

Ingesting Data into OpenGIN

If you want to ingest this data into your own OpenGIN database instance, see Data Ingestion Guide for complete setup instructions, prerequisites, and usage examples.

Contributing

Please see our Contributing Guidelines.

Code of Conduct

Please see our Code of Conduct.

Security

Please see our Security Policy.

License

See LICENSE file for details.

About

Raw data extracted to be inserted into the databases

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 8