Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/newamericafoundation/higheredindex-backend
https://github.com/newamericafoundation/higheredindex-backend
Last synced: about 17 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/newamericafoundation/higheredindex-backend
- Owner: newamericafoundation
- Created: 2017-02-13T22:21:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-11-03T11:13:29.000Z (about 4 years ago)
- Last Synced: 2024-03-26T06:51:44.563Z (10 months ago)
- Language: JavaScript
- Size: 37 MB
- Stars: 0
- Watchers: 8
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Start Mongo Server: mongod
~States~
Import CSV Data:
mongoimport --db febp --collection states_students --type csv --headerline --file data/states/ed-index-students-states.csv
mongoimport --db febp --collection states_outcomes --type csv --headerline --file data/states/ed-index-outcomes-states.csv
mongoimport --db febp --collection states_schools --type csv --headerline --file data/states/ed-index-schools-states.csv
mongoimport --db febp --collection states_grants --type csv --headerline --file data/states/ed-index-grants-states.csv
mongoimport --db febp --collection states_loans --type csv --headerline --file data/states/ed-index-loans-states.csvProcess data:
mongo --eval 'let type="states", sheets="all"' ./database_setup/processData.js~Institutions~
Import CSV Data:
mongoimport --db febp --collection inst_students --type csv --headerline --file data/inst/ed-index-students-inst.csv
mongoimport --db febp --collection inst_outcomes --type csv --headerline --file data/inst/ed-index-outcomes-inst.csv
mongoimport --db febp --collection inst_schools --type csv --headerline --file data/inst/ed-index-schools-inst.csv
mongoimport --db febp --collection inst_grants --type csv --headerline --file data/inst/ed-index-grants-inst.csv
mongoimport --db febp --collection inst_loans --type csv --headerline --file data/inst/ed-index-loans-inst.csvProcess data:
mongo --eval 'let type="institutions", sheets="all"' ./database_setup/processData.jsUploading to Production Database
mongodump --db febp
db.data_info.insertMany([{collection:"states_grants"}, {collection:"states_loans"}, {collection:"states_schools"}, {collection:"states_students"}, {collection:"states_outcomes"}, {collection:"inst_grants"}, {collection:"inst_loans"}, {collection:"inst_outcomes"}, {collection:"inst_students"}, {collection:"inst_schools"}]);