-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: Historic data import #18
base: main
Are you sure you want to change the base?
Conversation
# TODO: Logger | ||
|
||
""" | ||
A script ot import the data that has already been gathered |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A script ot import the data that has already been gathered | |
A script to import the data that has already been gathered |
) | ||
|
||
# TODO: The temp should be stored and validated as a float, Schema rule!! | ||
# DeviceModuleReading.objects.aget_or_create( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still need to be done?
|
||
def _processed_mapped_data(self): | ||
# TODO: Look to see if the data exists in the DB, what would this look like? | ||
# https://gist.github.com/dorosch/6cffd2936ac05ef8794c82901ab4d6e7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still need to be done? Do a count before now right?
What does this PR do?
Imports the existing dataset that was generated using the builtin logger