Upload Spectrum file(s)

This app accepts .PJNZ files from Spectrum, but in the case where your .PJNZ file is very large, uploads may be very slow. In this case you can instead upload pairs of .DP and .PJN files extracted from the .PJNZ.


Please upload either one national or subnational PJNZ file or multiple files, one per subnational region. If you upload a single regional file we will use regional data and run everything at the regional level. If you include multiple regions we will use national data and run the model at a national level, so make sure you upload a complete covering set of subnational files.
Error: Spectrum file not valid!
Please upload either one pair of PJ and DP files for a single country or region, or multiple pairs of files, one pair per subnational region. You will have to upload regions one at a time. If you upload files for a single region we will use regional data and run everything at the regional level. If you include multiple regions we will use national data and run the model at a national level, so make sure you upload a complete covering set of subnational files.
Error: Spectrum file pair not valid!

Uploaded Spectrum files

data

You have uploaded files for multiple regions so we will run the model at national level. Please make sure you have included Spectrum data for all subnational regions otherwise results will not be valid.
Loading...
Loading...
Loading...
Loading...

Upload survey data

Please provide survey data on the proportion of people ever tested by sex and age group, and HIV serostatus (if available). Where available please provide the following:

  • Country or region: Must exactly match country or region in top left panel.
  • Survey Id: Provide a unique identifier for your survey (each survey must have a unique name).
  • Year: Year in which survey was conducted; year of survey fieldwork midpoint if survey spanned multiple years.
  • Age Group: 15-24, 25-34, 35-49, 50+, 15-49 or 15+.
  • Sex "male", "female" or "both".
  • HIV Status: "positive", "negative" or "all".
  • Estimate: Estimate for proportion ever tested for HIV; as a percentage (e.g. 87.6 rather than proportion 0.876).
  • Standard Error: Standard Error of the estimate (as a percentage). Should take into account survey design effects.
  • Lower Confidence Interval: Lower limit of the 95% confidence interval of the survey estimate (as a percentage).
  • Upper Confidence Interval: Upper limit of the 95% confidence interval of the survey estimate (as a percentage).
  • Counts: Unweighted counts of the number of survey respondents included in the stratification group.

You can copy and paste from Excel or upload a new CSV file.

All columns are required. Where values are unknown, please just leave blank. The app will not accept an uploaded CSV with the wrong headers. It may be useful to download the headers as a template:

Download CSV template
Estimates, Standard Error and Lower and Upper Confidence Intervals should all be given as percentages (for example, enter percentage 87.56 rather than proportion 0.8756).

Upload new data

Error: Invalid headers! Survey data must match the given column headers. This file has been ignored.
Error: You cannot upload survey data for a different country. This file has been ignored.

Or edit data in place

Hint: Select rows and use ctrl-c to copy to clipboard. Use ctrl-v to paste rows from excel.

Upload programmatic data

Please provide programmatic data sourced from national testing programs. For each year please provide either sex aggregated data (1 row with sex = "both") or sex disaggregated data (2 rows with sex="male" and sex="female" respectively). Where values are unknown, please just leave blank. Where available please provide the following:

  • Country or region: Must exactly match country or region in top left panel.
  • Year: Calendar year in which the HIV tests were performed.
  • Total Tests: This is the annual number of tests performed at the national level among the population aged 15+ years of age. This number should be equal to the total number of tests administered as part of HIV Testing and Counseling (HTC) and during antenatal care (ANC), and for which the clients received the results.
  • Total Positive Tests: Out of the total annual number of tests, how many were found to be HIV positive. This number should be equal to the number of positive tests found during HTC (in non-pregnant population) and during ANC among pregnant women.
  • Total HTC Tests: Total annual number of tests performed in the population aged 15+ years outside of ANC services, and for which clients received the results.
  • Total Positive HTC Tests: Annual number of tests that were found to be positive for HIV outside of ANC services.
  • Total ANC Tests: Annual number of pregnant women tested for HIV (and that received their results) as part of ANC services.
  • Total Positive ANC Tests: Annual number of pregnant women found to be HIV positive during ANC services.
  • Sex: Male, female or both.

*A person should only be counted as testing once even if up to three different assays are performed to confirm an HIV-positive diagnosis according to the national testing algorithm. A person who is tested twice during the year should be counted as contributing two tests.

You can copy and paste data from Excel into the table below or upload a CSV file.

All columns are required. Where values are unknown, please just leave blank. The app will not accept an uploaded CSV with the wrong headers. It may be useful to download the headers as a template:

Download CSV template

Upload new data

Error: Invalid headers! Program data must match the given column headers. This file has been ignored.
Error: You cannot upload program data for a different country. This file has been ignored.

Or edit data in place

Hint: Select rows and use ctrl-c to copy to clipboard. Use ctrl-v to paste rows from excel.

Review input data

Here's a visualisation of the data you have uploaded so far. Please review it, and go back and edit your data if anything doesn't look right.
Please save your work. This downloads a file containing your input data and results. If you get disconnected from the server, or if you want to return to the app later and review your results, you can re-upload this file and resume where you left off.
The programmatic data for your country is invalid. Please check the guidance and correct it.
The survey data for your country is invalid. Please check the guidance and correct it.
The programmatic data for your country is incomplete. Please fill in missing values if you have them.
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Run model

This may take several minutes. Please do not close your browser.
Advanced options

Model run complete

Now that the model has been run, you can download the shiny90 outputs for importing into Spectrum. This will download a file containing your input data and results. You can also re-upload this file later to view your results again and change your input data.
You can download all generated plots as a PDF or download all output tables as an XLSX.
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Advanced outputs

Loading...
Loading...
Loading...