New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@geoda/core

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geoda/core

Core module for GeoDaLib

latest
npmnpm
Version
0.0.22
Version published
Maintainers
1
Created
Source

@geoda/core

Features

Mapping

  • Basic Mapping

    • Quantile maps
    • Natural breaks (Jenks)
    • Equal intervals
    • Percentile maps
    • Box plots (hinge = 1.5 and 3.0)
    • Standard deviation maps
  • Rate Mapping

    • Excess risk
    • Empirical Bayes
    • Spatial rate
    • Spatial empirical Bayes
  • Cartogram

Data Exploration

  • Standardization (Z)
  • Standardization (MAD: Median Absolute Deviation)
  • Range adjustment
  • Range standardization
  • PCA (Principal Component Analysis)
  • Diff-in-Diff analysis
  • Spatial lagged variables

Spatial Weights

  • Contiguity Weights

    • Queen weights
    • Rook weights
  • Distance Weights

    • Minimum distance threshold
    • K-Nearest neighbors
    • Distance-based weights
  • Kernel Weights

    • Kernel weights
    • Kernel K-Nearest neighbors weights

Spatial Operations

  • Geometric Operations

    • Centroid calculation
    • Buffer creation
    • Convex hull
    • Spatial dissolve
    • Spatial join
  • Other Operations

    • Thiessen polygons

Installation

yarn add @geoda/core

Usage Examples

Quantile Breaks Classification

import { quantileBreaks } from '@geoda/core';

// Create classes with equal number of observations
const data = [1, 2, 3, 4, 5, 6, 7, 8, 9];
const k = 3; // number of classes
const breaks = await quantileBreaks(k, data);
// breaks = [3.5, 6.5]

API Documentation

For detailed API documentation, please visit our documentation site.

License

MIT License

FAQs

Package last updated on 20 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts