Change NMDBDataAttacher to not require a CRNSDataHub
Description
The NMDBDataAttacher takes as an argument the CRNSDataHub and does it's magic. We've now changed the architecture so that users work from the hub rather than the hub being passed to other classes and methods. The nmdb_data_collection.py
needs to be adapted to fit into this style.
Expected Behavior
- It should take as an argument a DataFrame not a hub!
- The CRNSDataHub should have a method that uses the NMDBDataAttacher
Current Behavior
Class requires DataHub to attach data
Acceptance Criteria
-
NMDBDataAttacher works with dataframe
Edited by Daniel Power