-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
selectFromDB:: hook to real data #2
Comments
Hi @grhuynh . Cool getting the hook to the real database in! https://github.com/seattleflu/incidence-mapper/tree/master/dbViewRSQL I think we should add this to dbViewR::selectFromDB and make the default the real database, and add a flag to pull from the simulated data instead. If you swap the few lines with allData and the first db definition in dbViewR::selectData ( incidence-mapper/dbViewR/R/selectFromDB.R Line 44 in d4c960a
I think it'll probably take me 30 minutes to do it, so I assigned this ticket to myself. But if you want to have a go, take it! |
How do credentials work? Is it interactive, or do I have to point it to my local credentials?
|
I haven't figured out how to get it R working with local credentials, even though command line access works with local credentials - for the above literally just paste in the username and pw that Thomas sent with keybase/GPG (might have sent it to Clinton if you didn't get them yet. I think I saw that go by on Slack. |
Okay. The cheap solution will probably be to point to a personal credential file that doesn't get checked in, but we'll see what @devclinton suggests. I'll be chipping away very slowly at some stuff over the next few days between symposium talks. |
started a branch to work through db connection without breaking master: https://github.com/seattleflu/incidence-mapper/tree/connect-to-real-data |
It should definitely be possible to use a |
Once we have the handoff credentials set up, we need to add SQL hooks to the real database. We should also maintain the ability to connect to the simulated data for prototyping and model validation.
The text was updated successfully, but these errors were encountered: