datasets

Standard library datasets.

https://github.com/stdlib-js/datasets

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.1%) to scientific vocabulary

Keywords

data datasets javascript lib library node node-js nodejs standard stdlib

Keywords from Contributors

iterator tokenizer normal name memoization pair delimited capitals expected operator
Last synced: 6 months ago · JSON representation

Repository

Standard library datasets.

Basic Info
  • Host: GitHub
  • Owner: stdlib-js
  • License: apache-2.0
  • Language: JavaScript
  • Default Branch: main
  • Size: 46.7 MB
Statistics
  • Stars: 3
  • Watchers: 3
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
data datasets javascript lib library node node-js nodejs standard stdlib
Created almost 5 years ago · Last pushed 7 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation Security

README.md

About stdlib...

We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.

The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.

When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.

To join us in bringing numerical computing to the web, get started by checking us out on GitHub, and please consider financially supporting stdlib. We greatly appreciate your continued support!

Datasets

NPM version Build Status Coverage Status <!-- dependencies -->

Datasets.

## Installation ```bash npm install @stdlib/datasets ```
## Usage ```javascript var datasets = require( '@stdlib/datasets' ); ``` #### datasets( name\[, options] ) Returns standard library datasets. ```javascript var data = datasets( 'MONTH_NAMES_EN' ); /* returns [ 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ] */ ``` The function forwards provided `options` to the dataset interface specified by `name`. ```javascript var opts = { 'data': 'cities' }; var data = datasets( 'MINARD_NAPOLEONS_MARCH', opts ); /* returns [ {'lon': 24,'lat': 55,'city': 'Kowno', {'lon': 25.3,'lat': 54.7,'city': 'Wilna', {'lon': 26.4,'lat': 54.4,'city': 'Smorgoni', {'lon': 26.8,'lat': 54.3,'city': 'Molodexno', {'lon': 27.7,'lat': 55.2,'city': 'Gloubokoe', {'lon': 27.6,'lat': 53.9,'city': 'Minsk', {'lon': 28.5,'lat': 54.3,'city': 'Studienska', {'lon': 28.7,'lat': 55.5,'city': 'Polotzk', {'lon': 29.2,'lat': 54.4,'city': 'Bobr', {'lon': 30.2,'lat': 55.3,'city': 'Witebsk', {'lon': 30.4,'lat': 54.5,'city': 'Orscha', {'lon': 30.4,'lat': 53.9,'city': 'Mohilow', {'lon': 32,'lat': 54.8,'city': 'Smolensk', {'lon': 33.2,'lat': 54.9,'city': 'Dorogobouge', {'lon': 34.3,'lat': 55.2,'city': 'Wixma', {'lon': 34.4,'lat': 55.5,'city': 'Chjat', {'lon': 36,'lat': 55.5,'city': 'Mojaisk', {'lon': 37.6,'lat': 55.8,'city': 'Moscou', {'lon': 36.6,'lat': 55.3,'city': 'Tarantino', {'lon': 36.5,'lat': 55,'city': 'Malo-Jarosewli' ] */ ```
## Examples ```javascript var datasets = require( '@stdlib/datasets' ); var data = datasets( 'MONTH_NAMES_EN' ); console.log( data ); ```

## CLI
## Installation To use as a general utility, install the CLI package globally ```bash npm install -g @stdlib/datasets-cli ```
### Usage ```text Usage: datasets [options] [--name=] Options: -h, --help Print this message. -V, --version Print the package version. --name name Dataset name. --ls List datasets. ```
### Notes - Dataset specific options should follow two hyphen characters `--` in order to indicate that those options should not be parsed as normal command-line options.
### Examples ```bash $ datasets --name MONTH_NAMES_EN January February March ... ``` Use two hyphen characters `--` to delineate dataset specific options. ```bash $ datasets --name MINARD_NAPOLEONS_MARCH -- --data army lon,lat,size,direction,division 24.0,54.9,340000,A,1 24.5,55.0,340000,A,1 25.5,54.5,340000,A,1 ... ```

* * * ## Notice This package is part of [stdlib][stdlib], a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more. For more information on the project, filing bug reports and feature requests, and guidance on how to develop [stdlib][stdlib], see the main project [repository][stdlib]. #### Community [![Chat][chat-image]][chat-url] --- ## License See [LICENSE][stdlib-license]. ## Copyright Copyright © 2016-2025. The Stdlib [Authors][stdlib-authors].

Owner

  • Name: stdlib
  • Login: stdlib-js
  • Kind: organization

Standard library for JavaScript.

GitHub Events

Total
  • Push event: 12
  • Create event: 1
Last Year
  • Push event: 12
  • Create event: 1

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 94
  • Total Committers: 2
  • Avg Commits per committer: 47.0
  • Development Distribution Score (DDS): 0.021
Past Year
  • Commits: 25
  • Committers: 2
  • Avg Commits per committer: 12.5
  • Development Distribution Score (DDS): 0.08
Top Committers
Name Email Commits
stdlib-bot n****y@s****o 92
Athan k****e@g****m 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

package.json npm
  • @stdlib/bench github:stdlib-js/bench development
  • @stdlib/math github:stdlib-js/math development
  • @stdlib/plot github:stdlib-js/plot development
  • @stdlib/process github:stdlib-js/process development
  • @stdlib/random github:stdlib-js/random development
  • @stdlib/regexp github:stdlib-js/regexp development
  • @stdlib/stats github:stdlib-js/stats development
  • @stdlib/time github:stdlib-js/time development
  • istanbul ^0.4.1 development
  • proxyquire ^2.0.0 development
  • tap-spec 5.x.x development
  • tape git+https://github.com/kgryte/tape.git#fix/globby development
  • @stdlib/assert github:stdlib-js/assert#main
  • @stdlib/buffer github:stdlib-js/buffer#main
  • @stdlib/cli github:stdlib-js/cli#main
  • @stdlib/fs github:stdlib-js/fs#main
  • @stdlib/streams github:stdlib-js/streams#main
  • @stdlib/string github:stdlib-js/string#main
  • @stdlib/utils github:stdlib-js/utils#main
.github/workflows/benchmark.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
.github/workflows/cancel.yml actions
  • styfle/cancel-workflow-action 0.11.0 composite
.github/workflows/close_pull_requests.yml actions
  • superbrothers/close-pull-request v3 composite
.github/workflows/examples.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
.github/workflows/npm_downloads.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
  • actions/upload-artifact v3 composite
  • distributhor/workflow-webhook v3 composite
.github/workflows/publish.yml actions
  • JS-DevTools/npm-publish v1 composite
  • act10ns/slack v1 composite
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
  • styfle/cancel-workflow-action 0.11.0 composite
.github/workflows/test.yml actions
  • act10ns/slack v1 composite
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
.github/workflows/test_coverage.yml actions
  • act10ns/slack v1 composite
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
  • codecov/codecov-action v3 composite
  • distributhor/workflow-webhook v3 composite
.github/workflows/test_install.yml actions
  • act10ns/slack v1 composite
  • actions/checkout v3 composite
  • actions/setup-node v3 composite