npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

simple-data-pipe-connector-flightstats

v0.1.1

Published

Connector for generating Training, Test and Blind data for Spark MLLib Flight predictor application

Downloads

3

Readme

Simple Data Pipe Connector for flightstats.com

Simple Data Pipe connector for flighstats.com.

This connector generates training, test and blind data for the flight predictor spark MLLib application. It uses the flightstats API to fetch flight departure information for selected US airports, combines it with local weather data and stores the data sets using the Simple Data Pipe SDK in Cloudant.

Need to load data from other sources? Check out the connector repository.

Pre-requisites

General

To load flightstats.com data you have to have a developer account. A 30 day trial is available for evaluation purposes.

Deploy the Simple Data Pipe

Deploy the Simple Data Pipe in Bluemix using the Deploy to Bluemix button or manually.

Services

This connector requires the Weather Company Data service in IBM Bluemix to be bound to the Simple Data Pipe application.

Provision and bind an Weather Company Data service instance using the Bluemix web console (Show me how) or run the following Cloud Foundry commands (Show me how):

  $ cf create-service weatherinsights Free weather
  $ cf bind-service simple-data-pipe weather
  $ cf restage simple-data-pipe

Pro Tip: If you want to re-use an existing instance that is not named weather, create a USER-DEFINED Environment Variable in the Simple Data Pipe application named WEATHER and set its value to the name of the existing Weather Company Data service. (Show me how - Bluemix) (Show me how - Cloud Foundry client)

Install the flightstats.com connector

Install the connector using these instructions into the Simple Data Pipe.

Enable OAuth support and collect connectivity information

Before the Simple Data Pipe can connect to flightstats.com, complete these steps:

  1. Log in to the flightstats.com developer center.
  2. Open the Dashboard.
  3. Take note of the APPLICATION ID and APPLICATION KEY.

Using the flightstats.com Connector

  1. Open the Simple Data Pipe web console.
  2. Select Create A New Pipe.
  3. Select Flight Stats for the Type, provide a unique pipe Name (e.g. my flightstats demo pipe) and an optional Description.
  4. In the Connect page, fill in the Application ID and the Application Key from the flightstats developer center.
  5. Select which data sets to retrieve: all, training, test or blind.
  6. Schedule a pipe run or run the pipe immediately.

License

Copyright [2016] IBM Cloud Data Services

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.