open-index/open-npm huggingface dataset:
npm package: @opennodo/seed
Description: OpenNodo seed dataset: 1,797 place records for Venezuela (states, municipalities, parishes, cities, neighborhoods)
Latest version: 0.1.1

# @opennodo/seed

Official seed dataset for [OpenNodo](https://opennodo.org), the open place standard for Venezuela.

## Install

```bash
npm install @opennodo/seed
```

## Quick start

```js
const { loadAll, search, findBySlug } = require("@opennodo/seed");

// Load all 1,797 place records
const places = loadAll();

// Search for a place
const results = search("Altamira");
console.log(results[0].properties.canonical_name); // "Altamira"

// Find by slug
const miranda = findBySlug("ve/miranda");
console.log(miranda.properties.place_type); // "federal_entity"
```

### ESM

```js
import { loadAll, search } from "@opennodo/seed";
```

## API

| Function | Returns | Description |
|---|---|---|
| `loadAll()` | `Place[]` | All 1,797 records |
| `loadFederalEntities()` | `Place[]` | 25 states and territories |
| `loadMunicipalities()` | `Place[]` | 336 municipalities |
| `loadParishes()` | `Place[]` | 1,143 parishes |
| `loadSettlements()` | `Place[]` | Cities and neighborhoods |
| `loadManifest()` | `Manifest` | Dataset metadata |
| `findBySlug(slug)` | `Place \| null` | Lookup by slug |
| `findById(id)` | `Place \| null` | Lookup by OpenNodo ID |
| `search(query)` | `Place[]` | Search by name or slug |

## Data format

Each record is a GeoJSON Feature:

```json
{
  "type": "Feature",
  "id": "on_ve_...",
  "geometry": null,
  "properties": {
    "place_type": "municipality",
    "canonical_name": "Chacao",
    "slug": "ve/miranda/chacao",
    "confidence": { "name": 1, "geometry": 0, "relations": 1 }
  }
}
```

## Coverage

- 1 country
- 25 federal entities (23 states + Distrito Capital + Dependencias Federales)
- 336 municipalities
- 1,143 parishes
- 13 cities
- 279 neighborhoods

## License

Data: CC-BY-4.0. Code: MIT.

## Links

- Website: https://opennodo.org
- Explorer: https://opennodo.org/explorer
- API: https://opennodo.org/api
- GitHub: https://github.com/propiedash/opennodo