DSACMS / open

Other
2 stars 1 forks source link

Reverse Scorecard Generation #33

Closed eschwein-usds closed 1 month ago

eschwein-usds commented 3 months ago

MENTOR

BRIEF DESCRIPTION

This section should contain a clearly defined result to be achieved by the end of the sprint, such as: Starting with a series of Excel spreadsheets, gather the contents of a specific sheet in each spreadsheet and generate a spreadsheet or CSV file where each sheet is 1 line in the sheet.

This is the inverse of the script Gaelan wrote last summer.

SCOPING

SKILLS NEEDED

Python scripting

REQUIRED DELIVERABLES

  1. Script to extract data from a series of spreadsheets and transform it into 1 CSV file

Outline:

  1. Read the names of the spreadsheets from the directory. Each spreadsheet represents the Zero Trust Scorecard for an application or system at CMS.
  2. For each spreadsheet:
    • Read the system name (either in the title or in a specific cell in the spreadsheet)
    • collect the Number score and Explanation for each of the 40 scores (they are in 2 columns next to each other)
    • Make the columns into rows: score1, explanation1, score2, explanation2, etc
  3. Output the entries into a CSV. The order of the rows doesn't matter, but the order of the columns is important and we can provide.

A previous script has a recommendation for a python library for reading and writing excel files and the code for how we created these sheets.

DESIRED DELIVERY WINDOW

NOTES/INSPO

ACKNOWLEDGEMENTS

decause-gov commented 2 months ago

07/29:

eschwein-usds commented 2 months ago

Yes! This work still needs to be done and I'm happy to mentor someone else through it!

Firebird1029 commented 2 months ago

https://github.com/DSACMS/reverse-scorecard-generation

decause-gov commented 1 month ago

08/02:

decause-gov commented 1 month ago

08/05:

Firebird1029 commented 1 month ago

@decause-gov Elizabeth said the script works, so you may close the ticket