Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

Implement data models #198

Closed
wants to merge 1 commit into from
Closed

Implement data models #198

wants to merge 1 commit into from

Conversation

rgreinho
Copy link
Member

Types of changes

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Code cleanup / Refactoring
  • Documentation

Description

Implements data models representing the resources captured by ScrAPD.
This allows us to validate the data we are extracting, reduces the
possibility to introduce incorrect values and prevents polluting the
final data set.

As this is a fundamental change, the PR is way bigger than a normal
one, but the following items were also addressed:

  • Reorganize the modules based on the resources they process.
  • Reorganize the unit tests in suites and leverages pytest.param
    objects to assign test IDs and simplify the process of adding markers.
  • Update the formatters to render the models.

Checklist:

  • I have updated the documentation accordingly
  • I have written unit tests

Fixes: #190

Implements data models representing the resources captured by ScrAPD.
This allows us to validate the data we are extracting, reduces the
possibility to introduce incorrect values and prevents polluting the
final data set.

As this is a fundamental change, the PR is way bigger than a normal
one, but the following items were also addressed:
* Reorganize the modules based on the resources they process.
* Reorganize the unit tests in suites and leverages `pytest.param`
  objects to assign test IDs and simplify the process of adding markers.
* Update the formatters to render the models.
@rgreinho rgreinho self-assigned this Sep 27, 2019
@rgreinho
Copy link
Member Author

Something went wrong...

@rgreinho rgreinho closed this Sep 28, 2019
@rgreinho rgreinho deleted the implement-models branch September 28, 2019 03:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update data set format to properly store multi-fatality cases
1 participant