dataset 0.0.1

  • README.md
  • Example
  • Installing
  • Versions
  • 23

Dataset.dart

Dataset is a Dart library that makes managing the data behind client-side visualisations easy, including realtime data. It takes care of the loading, parsing, sorting, filtering and querying of datasets as well as the creation of derivative datasets.

example/dataset.dart

import 'package:dataset/dataset.dart';

main() {
  var ds = new Dataset.fromRows([
    {'one': 1, 'two': 4, 'three': 7}
  ]);

  var ds2 = new Dataset.url('/data/simple.json');

  print(ds is Dataset);
  print(ds2 is Dataset);
}

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  dataset: "^0.0.1"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:dataset/dataset.dart';
        
Version Uploaded Documentation Archive
0.0.1 May 30, 2016 Go to the documentation of dataset 0.0.1 Download dataset 0.0.1 archive

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • tool failures on Feb 16, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
62 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
19 / 100
Overall score:
Weighted score of the above. [more]
23

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:dataset/dataset.dart.

Suggestions

  • Fix lib/src/importers/polling.dart.

    Strong-mode analysis of lib/src/importers/polling.dart failed with the following error:

    line: 3 col: 7
    Missing concrete implementation of getter 'Importer.extract'.

  • Fix lib/src/importers/remote.dart.

    Strong-mode analysis of lib/src/importers/remote.dart failed with the following error:

    line: 26 col: 5
    Undefined name 'options'.

  • Fix further 4 Dart files.

    Similar analysis of the following files failed:

    • lib/src/parsers/strict.dart
    • lib/src/column.dart
    • lib/src/view.dart
    • lib/src/types.dart
  • Maintain CHANGELOG.md.

    Changelog entries help clients to follow the progress in your code.

  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 3 error(s) and 0 warning(s).

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
csv >=3.0.1 <4.0.0 3.1.2
intl >=0.12.7 <0.13.0 0.12.7+1 0.15.2
quiver >=0.21.4 <0.22.0 0.21.4 0.28.0
Transitive dependencies
analyzer 0.27.6 0.31.1
args 0.13.7 1.3.0
async 2.0.3 2.0.4
charcode 1.1.1
collection 1.14.5
convert 2.0.1
crypto 2.0.2+1
csslib 0.14.1
glob 1.1.5
html 0.13.2+2
isolate 0.2.3 1.1.0
logging 0.11.3+1
matcher 0.12.1+4
package_config 1.0.3
path 1.5.1
petitparser 1.7.0
plugin 0.2.0+2
source_span 1.4.0
stack_trace 1.9.2
string_scanner 1.0.2
typed_data 1.1.5
utf 0.9.0+4
watcher 0.9.7+7
yaml 2.1.13
Dev dependencies
benchmark_harness any
test any