Skip to main content

Analysis for the UK Department for Transport's major projects portfolio

Project description

analysis_engine

Software for portfolio management reporting and analysis in the UK Department for Transport, operated via command line interface (CLI) prompts.

Installing

Python must be installed on your computer. If not already installed, it can be installed via the python website here. IMPORTANT ensure that Add Python to PATH is ticked when provided with the option as part of the installation wizard.

Open the command line terminal (Windows) or bash shell and install via pip install analysis_engine.

Directories and file paths

The following directories must be set up on your computer. analysis_engine is able to handle different operating systems.

Create the following directories in your My Documents directory:

|-- analysis_engine
    |--core_data
        |--data_mgmt
        |--pickle
    |--input
    |--output

All excel master data files must be saved in core_data using the correct format e.g. master_1_2020.xlsx

The project_info.xlsx document must be saved in core_data/data_mgmt.

The following documents should be saved in input. summary_temp.docx summary_temp_landscape.docx and dashboards_master.xlsx

All outputs from analysis_engine will be saved into the output directory.

The pickle folder is where analysis_engine saves an easily accessible master data set and after setup can be ignored by the user.

Operating analysis_engine (ae)

analysis_engine (ae) is operated via the initial command analysis followed by the relevant subcommand. Subcommands compile the user's desired outputs. All subcommands can be seen via analysis --help and are as follows:

initiate The user must enter this command every time excel master workbook data, saved in the core_data directory, is updated. Not doing so means ae will continue to use data from the last time initiate was used. Ae checks and validates the data in a number of ways, as part of the initiate process . See below.

dashboards populates the IPDC PfM report dashboard. A blank template dashboard must be saved in the analysis/input directory.

dandelion produces the portfolio dandelion infographic. Note early version/release.

costs produces a cost profile trend graph and data.

milestones produces milestone schedule graphs and data.

vfm produces vfm data. (Note currently no graphs.)

summaries produces project summary reports.

risks produces risk data. (Note currently no graphs.)

dcas produces dca data. (Note currently no graphs.)

speedial prints out changes in project dca ratings.

matrix produces the cost/schedule matrix chart and data.

query returns (from master data) specific data required by the user.

The default for each subcommand is to return outputs with current and last quarter data.

Further to each subcommand the user has several optional arguments available. The optional argument available for each subcommand will be shown by analysis [subcommand] --help. In general the following optional arguments are available for each subcommand:

--group returns output for the project(s) in the specified group. The user can input either one or a combination of DfT Group name ("HSMRPG", "AMIS", "Rail", "RPE") or any number (including one) of the project acronyms e.g. "SARH2".

--stage returns output for the project(s) at the specified planning stage(s). The user can input either one or a combination of stages ("FBC", "OBC", "SOBC", "pre-SOBC").

--quarters returns output for specified quarter(s). Must be in correct format e.g. "Q3 20/21".

--baselines returns output for specified baseline(s). Options here are ( "current", "last", "bl_one", "bl_two", "bl_three", "standard", "all"). "current" and "last" refer to the current and last quarter, so are not true baselines. The first baseline is therefore "bl_one". The "standard" option will return "current" "last" and "bl_one". "all" returns all up to "bl_three".

--chart where subcommands automate chart production the user can specify whether to "show" or "save" the chart.

--title where subcommands automate chart production in some instances the user will be required to or can chose to provide a title for the chart e.g. "chart title".

###milestone analysis

For the milestones subcommand there are also the following optional arguments.

--dates enables the user to specify dates of interest in the format "start date" "end date" e.g. "15/6/2015" "24/3/2020".

--dl means date line and enables the user to include in the graph output a blue line to denote a reference date of interest e.g. "1/9/2020". "today" can also be entered.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

analysis_engine-0.0.14.tar.gz (74.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

analysis_engine-0.0.14-py3-none-any.whl (76.3 kB view details)

Uploaded Python 3

File details

Details for the file analysis_engine-0.0.14.tar.gz.

File metadata

  • Download URL: analysis_engine-0.0.14.tar.gz
  • Upload date:
  • Size: 74.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.5

File hashes

Hashes for analysis_engine-0.0.14.tar.gz
Algorithm Hash digest
SHA256 d08df523a102c022c6b27d4ab281b7aec62a81e46c13d0d7d67048768c4dab35
MD5 fcd5112e15cfb0757c9e1adabc64de0b
BLAKE2b-256 c802dc266aa80565c6eaf263231ada9c05e98f3a8a46cfd4da6ebb46eca94e98

See more details on using hashes here.

File details

Details for the file analysis_engine-0.0.14-py3-none-any.whl.

File metadata

  • Download URL: analysis_engine-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 76.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.5

File hashes

Hashes for analysis_engine-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 b651da098bd19d6aca1fdf2b1f8f1e454f61fa31ec59ce71afa334ad6aece88f
MD5 753983bee205b903a009d1ed5d9dce7d
BLAKE2b-256 9b6deb2880ceb8cceeedf1370f062c4c01faeb6a912c690f8b662f846905ded1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page