stadata_flutter_sdk 2.1.0 copy "stadata_flutter_sdk: ^2.1.0" to clipboard
stadata_flutter_sdk: ^2.1.0 copied to clipboard

Streamline BPS Statistics API integration in Flutter. Easily fetch, analyze, and visualize data.

STADATA Flutter SDK - Simplified Access to WebAPI BPS #

Pub Version (including pre-releases) Pub Points ci Code Coverage codecov Website style: very good analysis Powered by Mason License: MIT Pub Likes Pub Popularity


Description #

The STADATA Flutter SDK is a powerful and user-friendly Flutter SDK designed to seamlessly integrate with the official API offered by the Badan Pusat Statistik (BPS) Statistic of the Republic of Indonesia. BPS offers a WebAPI - https://webapi.bps.go.id/developer/ that allows users to programmatically access various types of data, including Publications, Press Releases, Static Tables, Dynamic Tables, and many more.

This SDK empowers Flutter developers to effortlessly access a wealth of statistical data and information directly from BPS's extensive database, enabling the creation of data-driven applications that provide valuable insights into various aspects of Indonesia's socio-economic landscape.

With STADATA Flutter SDK, you can harness the comprehensive data sets made available by BPS, covering a wide range of domains such as population, economy, demographics, and more. This SDK simplifies the process of fetching, processing, and presenting statistical data within your Flutter apps, ensuring a smooth and efficient user experience by eliminate the need for manual data downloads from the https://www.bps.go.id/.


Key Features #

  • Seamless Integration: Easily incorporate BPS Statistic of the Republic of Indonesia's data into your Flutter projects.
  • Rich Data Sources: Access a vast repository of statistical data on Indonesia's diverse economic and demographic aspects.
  • User-Friendly: Designed with developers in mind, making it straightforward to utilize the API's functionalities.
  • Data Insights: Create data-driven applications to provide valuable insights and visualizations to your users.
  • Up-to-Date: Stay current with the latest data releases and updates from BPS.

Unlock the potential of BPS's statistical data with the stadata_flutter_sdk and empower your Flutter applications to provide users with valuable information and insights about Indonesia's dynamic landscape.

For detailed usage instructions and documentation of the BPS API, please refer to the API BPS documentation.


Documentation #

For detailed usage instructions and documentation of this package, please refer to the official documentation.


πŸš€ Getting Started #

Prerequisites #

  • Flutter SDK >=3.47.0 (Dart SDK >=3.13.0 <4.0.0)
  • An API key from BPS WebAPI

Installation #

Add this package to your pubspec.yaml:

dependencies:
  stadata_flutter_sdk: ^latest_version

Quick Example #

import 'package:stadata_flutter_sdk/stadata_flutter_sdk.dart';

// Initialize the SDK
final stadata = StadataFlutter.instance;
await stadata.init(apiKey: 'your_api_key_here');

// Fetch domains
final domains = await stadata.list.domains(
  type: DomainType.all,
);

// Fetch publications
final publications = await stadata.list.publications(
  lang: DataLanguage.en,
  domain: '0000',
);

For more detailed examples, check our example app or visit the documentation.


πŸ› οΈ Development Status #

List API Implementation #

Feature Status Description
Domains βœ… Geographic administrative divisions
Publications βœ… BPS publications and reports
Infographics βœ… Statistical infographics
Static Tables βœ… Pre-defined statistical tables
Press Releases βœ… Official press releases
News βœ… Statistical news and updates
News Categories βœ… News categorization
Subject Categories βœ… Statistical subject hierarchies
Subjects βœ… Statistical subjects
Statistical Classifications βœ… KBLI & KBKI classifications
Strategic Indicators βœ… Key performance indicators
Units βœ… Measurement units
Variables βœ… Statistical variables
Vertical Variables βœ… Vertical measurement variables
Census Data βœ… Census information and datasets
Dynamic Tables βœ… Dynamic statistical tables
Glossary βœ… Statistical terms glossary
Foreign Trade βœ… Export/import statistics
SDGs Data βœ… Sustainable Development Goals
CSA Subject Categories & Subjects πŸ”„ Cross-sector subject categories/subjects
SDDS πŸ”„ Special Data Dissemination Standard
SIMDASI πŸ”„ Integrated Statistical Data Management

View API Implementation #

Feature Status Description
Publications βœ… Detailed publication view
Static Tables βœ… Detailed table view
Press Releases βœ… Detailed press release view
News βœ… Detailed news view
News Categories βœ… Category details
Statistical Classifications βœ… Classification details
Subject βœ… Detailed subject view
Subject Categories βœ… Detailed subject category view
Strategic Indicators βœ… Detailed strategic indicator view
Variables βœ… Detailed variable view
Vertical Variables βœ… Detailed vertical variable view
Infographics βœ… Detailed infographic view
Periods βœ… Detailed period view
Derived Periods βœ… Detailed derived period view
Derived Variables βœ… Detailed derived variable view
Units βœ… Detailed unit view
Dynamic Tables πŸ”„ Dynamic table details

Legend: βœ… Complete | πŸ”„ In Progress | ❌ Not Started


🀝 Contributing #

We welcome contributions from the community! Whether you're fixing bugs, adding features, improving documentation, or helping with translations, your contributions are valuable.

Quick Start for Contributors #

  1. πŸ‘‹ New to Contributing? Read our Contributor Guide | Panduan Kontributor
  2. πŸ” First Time? Check our Contribution Guidelines
  3. πŸš€ New Feature? Follow our Feature Development Workflow | Panduan Pengembangan Fitur
  4. πŸ“‹ GitHub Process? See our GitHub Contribution Workflow | Alur Kontribusi GitHub

Ways to Contribute #

  • πŸ› Bug Reports: Found an issue? Report it here
  • ✨ Feature Requests: Have an idea? Suggest it here
  • πŸ“ Documentation: Help improve our docs
  • πŸ§ͺ Testing: Write tests to improve coverage
  • 🌍 Localization: Help translate the example app
  • πŸ”„ Pending Features: Help implement features marked with πŸ”„

Good First Issues #

Look for issues labeled good first issue - these are perfect for newcomers!

Documentation #

Activities #

Alt

7
likes
140
points
177
downloads

Documentation

API reference

Publisher

verified publisherbanuacoders.com

Weekly Downloads

Streamline BPS Statistics API integration in Flutter. Easily fetch, analyze, and visualize data.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#data #api

Funding

Consider supporting this project:

saweria.co

License

MIT (license)

Dependencies

collection, flutter, html_unescape, logger, meta

More

Packages that depend on stadata_flutter_sdk