Skip to content

Creating New Data Sources

John E Jones IV edited this page Jun 18, 2018 · 1 revision

The datasources are handled as data import command, not as a data entity on database or on the app. In order to add a new datasource was created the main analyze command base.

Creating importing Class

1. Create new command class

Create new class on commands package as new datasource analyzer inside app/Console/Commands/.

2. Inherit base command

The new class should inherit from abstact class AnalyzeCommand in the same package.

3. Initialize unique attributes

Initialize protected attributes as unique for the new class:

  • signature This will be the allowed parameters for the command
  • name This will be the command name for futures calls
  • datasource This will be the unique name for datasource
  • description This attribute could be useful for documentation

4. Create importing method

The method handleImport must be override from the parent class to handle importing data.

     /**
     *  Handle command import steps
     */
    protected function handleImport()
    {
        // do something
    }

There are various useful variables to use on class AnalyzeCommand on your custom datasource class like $geographic_areas_mapping to mapping valid data on database.

Table of Contents

  1. About
  2. How to Use IIRMa
  3. Technical Details
    1. Overview
    2. Getting Started
      1. Setup
      2. Deployment
    3. Back End
      1. Data Flow
      2. Database Schemas
      3. Creating New Data Sources
    4. Front End
      1. Data Flow
      2. Caching

The Origins of IIRMa

In 2017, The Case Foundation launched the Impact Investing Network Map, with data partners Impact Space and CrunchBase, to present the best publicly available data on impact investments to better inform the sector of the size, breadth and depth of the impact investing ecosystem. We believed that incorporating engaging data visualizations to display connections between investors and companies would not only bring greater accessibility and transparency to Impact Investing data but would demonstrate growth and inspire action in this catalytic movement.

We are appreciative of the resources and expertise provided by our advisors to build the initial product and their influence can be seen throughout IIRMa. We utilized elements of the CASE Smart Impact Capital, Impact Capital 101: Supply and Demand diagram to help illustrate the flow of capital between the supply and demand side actors. Check out the full video to learn more on capital flows within Impact Investing.

Clone this wiki locally