Please go to:
http://firebase.google.com and ��http://console.cloud.google.com��and confirm you’re an ‘owner’ of CS342-Dem before class starts. Keep these tabs open.
Mike Hittle
Fall 2019
cs342-aut1920.slack.com
Welcome!
CS342/MED253 Building for Digital Health
Lecture 10A: ETL and Analysis
Mike Hittle
Fall 2019
cs342-aut1920.slack.com
Welcome!
Overview for today
cs342-aut1920.slack.com
What next?
4
We made it!
© 2016 Stanford Byers Center for Biodesign
Common Analysis Tools
5
© 2016 Stanford Byers Center for Biodesign
Stanford NERO Platform
“Nero is designed to support Big Data team science. Big Data research benefits from the availability of High Risk and PHI compliant environments, whether for analysis of social network data or health data. Nero brings the analytical communities across different disciplines together to work in a collaborative and secure environment.”
Security + HPC + Scalability - Networking = Nero
https://med.stanford.edu/nero.html
6
© 2016 Stanford Byers Center for Biodesign
What is NERO?
7
© 2016 Stanford Byers Center for Biodesign
But wait…..
8
© 2016 Stanford Byers Center for Biodesign
SDK & tools
Authentication
NoSQL Database
and more!
Backend Architecture
Web SDK
© 2016 Stanford Byers Center for Biodesign
ETL Options
10
Event Driven - live analysis/interaction
© 2016 Stanford Byers Center for Biodesign
ETL Options
11
One Time or Cyclic Backup
Managed Export
Cloud Scheduler
*
Nero, Jupyter, R, mySql - anywhere
© 2016 Stanford Byers Center for Biodesign
Step 1 - Export Your Collection
https://cloud.google.com/firestore/docs/manage-data/export-import�
You must be the owner of the project, billing must be enabled, and you’ve created a storage bucket.
Open up the Google Cloud Shell and set the project
gcloud config set project [PROJECT_ID]
� Export your Collections by ID
gcloud firestore export gs://[BUCKET_NAME]/[SUNET ID] --collection-ids=[COLLECTION_ID_1],[COLLECTION_ID_2]
12
© 2016 Stanford Byers Center for Biodesign
Step 2 - Load Your Collection
https://cloud.google.com/bigquery/docs/loading-data-cloud-firestore
�Must be in same region and have all requisite permissions set.
�
13
© 2016 Stanford Byers Center for Biodesign
Step 3 - Analyze!!
14
© 2016 Stanford Byers Center for Biodesign
Final Presentation Thursday 12/5
15
© 2016 Stanford Byers Center for Biodesign
Final Presentation Rubric
16
© 2016 Stanford Byers Center for Biodesign