open-index/open-npm huggingface dataset:
npm package: @planet/places
Description: Install with `npm`:
Latest version: 0.7.0

# Planet Places

Install with `npm`:

    npm install @planet/places

## `places.match(query)`

Get a list of places that match the given query string.  Returns a list of objects sorted by quality.  Each place has an `id` and `name` property.  For states and regions, the `admin` property gives the country name.

## `places.wikidata(wikidataId)`

Get a place given a [Wikidata](https://www.wikidata.org/) identifier.

## `places.fetch(id)`

Fetch a GeoJSON feature representing the place.  Returns a promise that resolves to feature.  The `id` should come from a place result returned from the `places.match()` or `places.wikidata()` functions.

## `places.setUrl(root)`

Set the URL root for fetching places.  By default, `places.fetch()` will fetch features using the URL root `https://places.planet.com/v0/`.  To work with data hosted at a different location, call `places.setUrl(root)` with the URL root of the alternative location.

### Development

To download and prepare the data:

    make features

To simplify the data and create the lookup:

    make lookup

### Known limitations

 * Only features that have a common identifier are extracted from the original Natural Earth dataset.  See the `bin/explode` script for the code that tries to find a common identifier.
 * Not all features are augmented with a Wikidata identifier (the `bin/augment` script tries to assign these).
 * Not all geometries can be simplified below the set threshold (see `bin/simplify` for details).
npm package: @planet/react-app
Description: Starter project for React/Redux apps
Latest version: 1.0.0

# Setup

Install dependencies with `npm`:

    npm install

# Development

Start the dev server (and visit http://localhost:3000/):

    npm start

Run the tests continuously:

    npm test -- --watch

# Production

Create the app bundle:

    npm run build

Find the build artifacts in the `build` directory.