Skip to content

portlandcodeschool-jsi/data-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

data-loader

Data loader exercise for PCS's JSI class.

bin/load

This script will attempt to import the given datafile into your database.

lib/dataSource.js

This module provides low-level base classes for implementing your data transformers ("dataSources").

lib/dataSources/

Place data transformers in individual modules in this directory. Check out userSource.js for a simple example of how a dataSource should look.

data/

This directory contains the data files you should load into the database. In order from cleanest to dirtiest, they are:

  1. users.csv (a simple csv containing a couple of users).
  2. `uk_map.json' (a JSON file containing shapes that describe a map of the UK, drawn from here).
  3. refugee_nodes.csv (a CSV file containing country codes and information, drawn from here).
  4. applicants-jsi.csv (a very messy CSV file containing anonymized data about JSI applicants. Advanced).

About

Extensible generic data loader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published