The California Health and Human Services department publishes data in different formats. These apps will import and display the data. This is a work in progress.
As of now, I am only reading xlsx files. I have created excel.py to start to abstract away the differences, but the only implementation that is complete is for xlsx files.
Also, it is obnoxious that I am passing in the file extension. This should be done in a way that senses the type. I probably need to create a class for this. Then I would give the filename to a class instance and use generic methods to get the data out.
This is especially important in chargemasters, because there are so many file types.
As of now, I am only reading xlsx files. I have created excel.py to start to abstract away the differences, but the only implementation that is complete is for xlsx files.
Also, it is obnoxious that I am passing in the file extension. This should be done in a way that senses the type. I probably need to create a class for this. Then I would give the filename to a class instance and use generic methods to get the data out.
This is especially important in chargemasters, because there are so many file types.