The original project had the implementation and getting data all in the same file covid19.py. This gives the invoker of the method to view the implementation and the ability to change it.
A file getData.py was created to implement data encapsulation and add an aggregate design. This file allows the implementation of the covid19 class methods to be hidden from the user. The contents of this file are the same as the original covid19.py
When the user requests the data from covid19.py using methods getAll, getLatestChanges and other get methods they will get the same results but not be able to see the implementation unlike before.
Private methods such as _update, _getSources, and _request will not be accessible by the user and will remain hidden.
Data encapsulation was added to the project.