User Guide
Table of Contents
- Preface
- Notations (Pin Xian)
- Glossary (Pin Xian)
- Quick start
- User Interface (Pin Xian)
-
Features
- Valid Formats for Command Parameters (Pin Xian)
- Indexes and Ids (Pin Xian)
- Adding data
- Listing data
- Using CSV files (Siang Ern)
- Deleting data
- Editing data
- Finding persons by name
- Generating all locations visited by a person (Han Ming)
- Generating all people in contact with an infected person (Han Ming)
- Clearing all entries
- Viewing help
- Exiting the program
- Saving the data
- FAQ
VirusTracker is a desktop app for generating statistics for Covid-19, optimized for use via a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI). It is mainly targeted towards healthcare officials who are handling large amounts of data due to the pandemic. VirusTracker aims to provide a faster and quicker alternative to common statistical programs.
Preface
Welcome to the user guide on VirusTracker.
This guide will guide you through the different features that VirusTracker has to offer. VirusTracker works with three main entities:
- People
- Locations
- Visits
A person refers to any person who may be at risk from Covid-19. VirusTracker stores data about the Id, name, address, phone number and email of each person. Furthermore, the infection and quarantine statuses of each person are stored within VirusTracker.
A location refers to any location which are open for visiting. VirusTracker stores the Id, name and address of each location.
A visit refers to when a person visits a location on a given date. VirusTracker stores the date and data of the person and location involved in the visit.
The recommended way for you to use VirusTracker is to first store the information of all the people and locations you wish to track. Then, whenever a person visits a location, add the corresponding visit.
VirusTracker would be able to generate useful information for you based off the data that is input into the system.
While VirusTracker is created with the purpose of processing data from Covid-19, VirusTracker can also monitor other future epidemics or pandemics.
Notations
Our user guide uses the following notations. Each notation has a different meaning to help you understand this guide better.
Note:
Presents information which are helpful to take note about.
Tip:
Good to learn, but not necessary to know.
Warning:
Focuses on information that you should be careful about. Being cautious is recommended.
Glossary
The following table presents a list of key terms that will be used in this user guide.
Term | Meaning |
---|---|
Entity | Refers to people, locations and visits. |
Command | Refers to user input that instructs VirusTracker on what to do. |
Identifier | Refers to Ids and indexes. These can uniquely identify a location or person. |
Prefix | Refers to prefixes used in commands. These precede parameters that are typed in user input. An example is n/John where n/ is the prefix for names. |
Data | Refers to the information on people, locations and visits stored in VirusTracker. |
Quick start
-
Ensure you have Java
11
or above installed in your computer. -
Download the latest
VirusTracker.jar
from here. -
Copy the file to the folder you want to use as the home folder for your VirusTracker.
-
Double-click the file to start the app. The GUI similar to the figure below should appear in a few seconds. Note how VirusTracker contains some sample data.
-
Type the command in the command box and press Enter to execute it. e.g. You may type
help
and press Enter to open the help window.
Here are some example commands you can try:-
addLocation
idl/L789A n/NTU a/50 Nanyang Ave, 639798
: Adds a location namedNTU
to VirusTracker. -
deletePerson
3
: Deletes the 3rd person shown in the current list. -
addVisit
1 1 d/2020-11-08
: Adds a visit made by the 1st person shown on the list to the 1st location shown on the list on 8 November 2020. -
clear
: Deletes all entries from VirusTracker. -
exit
: Exits the app.
-
-
You may refer to the Features below for further details about each command.
User Interface
You may refer to the figure and table below to understand the different components of the user interface.
The table below explains the purpose of each component in the user interface.
Component | Description |
---|---|
Toolbar | Displays the toolbar for VirusTracker. You may click on File and Help to see the exit and help buttons respectively. |
Command Box | You may type your inputs into this textbox. |
Command Result | VirusTracker displays responses inside this box. You may read success messages or warnings from this box. |
Component | Description |
---|---|
Persons List | Displays a list of people. Panels contain detailed information about each person. This list is sorted by name followed by Id. |
Locations List | Displays a list of locations. Panels contain detailed information about each location. This list is sorted by name followed by Id. |
Visits List | Displays a list of visits. Panels contain information about the person, location and date of the visit. This list is sorted by date, followed by person, then location. |
Features
This section introduces you to important notations and details that apply to the commands in VirusTracker.
Notes about the command format:
-
Words in
UPPER_CASE
are parameters for you to give.
e.g. inaddPerson n/NAME
,NAME
is a parameter which can be used asaddPerson n/John Doe
. -
Items in square brackets are optional.
e.glist [high-risk-location-number] l/high-risk-locations
can be used aslist 5 l/high-risk-locations
or aslist l/high-risk-locations
. -
You can give the parameters with prefixes in any order.
e.g. if the command specifiesn/NAME p/PHONE_NUMBER
,p/PHONE_NUMBER n/NAME
is also acceptable. -
If you give multiple responses to the same parameter, VirusTracker takes the last response.
e.g. Given the command formataddPerson n/NAME p/PHONE_NUMBER
and your commandaddPerson n/John p/12345678 p/87654321
, VirusTracker takes the phone number to be87654321
and ignores12345678
. -
VirusTracker will actively stop the user from creating duplicates of entities. VirusTracker will alert you if it detects you are adding a duplicate entity. Entities are duplicates if they meet any of the following conditions.
- For visits, they are duplicates if they have the same date and involve the same person and location.
- For persons, they are duplicates if either
- their name and phone are the same or
- their name and email are the same or
- they have the same Id.
- For locations, they are duplicates if either
- they have the same address or
- they have the same Id.
Valid Formats for Command Parameters
From the following table, you may see a list of command parameters that are found in this user guide. Each row shows the parameter, the corresponding prefix and conditions for the parameter to be valid.
Parameter | Prefix | Valid Format |
---|---|---|
Date | d/ | Date format should follow yyyy-mm-dd .e.g. 23 January 2020 is “2020-01-23”. |
List type | l/ | List types can only be people , quarantined , infected , locations , visits , high-risk-locations , stats . |
Name | n/ | Names may only contain alphanumeric characters and spaces, and it should not be blank. |
Phone | p/ | Phone numbers may only contain numbers, and it should be at least 3 digits long. |
Address | a/ | Addresses can take any values, and it should not be blank. |
e/ | Please refer to Email Format below for more details. | |
Quarantine Status | q/ | Quarantine status should either be false or if quarantined, the quarantined date. |
Infected Status | i/ | Infection status should either be false or if infected, the infected date. |
Person Id | idp/ | Person Ids can take any values, and it should be at least 5 characters long. |
Location Id | idl/ | Location Ids can take any values, and it should be at least 5 characters long. |
Email Format
Emails should be of the format local-part@domain
and adhere to the following constraints:
- The local-part should only contain alphanumeric characters and these special characters, excluding the parentheses, (._%+-).
- This is followed by a ‘@’ and then a domain name.
- The domain name must:
- be at least 2 characters long
- start and end with alphanumeric characters
- consist of alphanumeric characters, a period or a hyphen for the characters in between, if any.
- not have consecutive special characters. (E.g.
example@mail..com
has two consecutive periods.)
Indexes and Ids
There are many commands where you will need to refer to a specific location or person.
For example, you may want to delete a location or add a visit involving a specific location and person.
VirusTracker allows you to refer to people and locations using either their index or Id. The difference between the two are as follows:
Index | ID | |
---|---|---|
Format | An integer corresponding to the item’s position on the list. | No set format, but must be at least 5 characters long. |
User-specified? | No | Yes |
Does it change as the list is updated? | Yes | No |
When giving commands that take in a PERSON_IDENTIFIER
or LOCATION_IDENTIFIER
, you may use either indexes or Ids (but NOT both).
In the figure below showing a part of the person list, the person’s index is beside his name and the Id is under the ID
field.
You may use either the index number or Id to refer to a person. The same applies for locations.
Using the example shown above, you may use either deletePerson 1
or deletePerson idp/S123A
to remove the person named Alex Yeoh
from VirusTracker.
Ids allow you to refer to a person or location without knowing their position on the list. This is useful if you would like to refer to a specific person or location and do not wish to scroll through large amounts of data to find the index.
You may also prefer to use indexes which tend to be shorter than the Ids of people and locations. These would likely be used when you do not know the exact identity of the item you would be referring to, e.g. you are unlikely to know the Ids of every infected person currently stored in VirusTracker.
Summary about using indexes and Ids in commands:
- The field
IDENTIFIER
means that the user needs to input either an Id or index. You are not allowed to use both at the same time.LOCATION_IDENTIFIER
andPERSON_IDENTIFIER
refers to location and person identifiers respectively. -
You may input an index by just using the number alone. However, Ids must have a prefix in front of them.
idp
is the prefix for person whileidl
is the prefix for locations.E.g.
deleteLocation 3
anddeleteLocation idl/L123A
. The first command uses an index of 3 while the second command uses the IdL123A
. - When using indexes, it should be before any other parameters which need prefixes.
E.g.addVisit 1 1 d/2020-02-02
is allowed butaddVisit 1 d/2020-02-02 1
is not allowed.
Warnings about indexes and Ids
- Note that the index of a person/location may change when the shown list changes. Changes may include deleting or adding a person/location.
Observe that the index of ION Orchard changes from 1 to 2 after adding a new location (Great World City) in the figure below.
Please take note of the above when using indexes.
- Indexes must be positive integers: 1, 2, 3, … and within the range of its shown list, otherwise warnings will be triggered.
- Ids used must belong to a person/location within VirusTracker.
- Ids are unique for each item in the list - no two items can have the same id.
Adding data
If you want to add data to VirusTracker, there are add
commands for each entity.
Adding a person
If you want to add a person to VirusTracker, you can use the following command.
Format: addPerson idp/ID n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS q/QUARANTINE_STATUS i/INFECTED_STATUS
Note:
-
ID
of person must be unique. No other person in the VirusTracker may have the same Id. -
QUARANTINE_STATUS
andINFECTED_STATUS
can only be false or the date of quarantine or infection respectively. - Dates of infection and quarantine must not be after the current date.
Example:
addPerson idp/T1234 n/John Doe p/98765432 e/johnd@example.com a/John street, block 123, #01-01 q/2020-10-10 i/false
Adding a location
If you want to add a location to VirusTracker, you can use the following command.
Format: addLocation idl/ID n/NAME a/ADDRESS
Note:
-
ID
of location must be unique. No other location in the VirusTracker may have the same Id.
Examples:
addLocation idl/L12345 n/Vivocity a/John street, block 123, #01-01
Adding a visit
If you want to add a visit, you can use the following command to add a visit by the person, location of visit and date of visit.
Format: addVisit PERSON_IDENTIFIER LOCATION_IDENTIFIER d/DATE
Note:
- VirusTracker will alert you if visits involve an infected/quarantined person visiting locations they should not.
- Visits may be added by either using all indexes or all Ids only. A mix of both is not allowed and will trigger a warning.
- Date format should follow the “yyyy-mm-dd” format.
- Dates of the visit must not be after the current date.
e.g. If today is 31 October 2020, you may set the date as 31 October 2020 or earlier, but not 1 November 2020.
Examples:
addVisit 1 1 d/2020-09-12
addVisit idp/S123A idl/L123A d/2020-02-20
Listing data
There are a variety of list
commands that list different types of data.
Listing all people
If you want to view information of all people stored in VirusTracker, you can use the following command.
Format: list l/people
What it does
- It updates the persons list to display all people currently stored in VirusTracker.
Listing all infected people
If you want to view a list of all infected people, you can use the following command.
Format: list l/infected
What it does
- It filters the persons list to display all people that are currently infected.
Listing all quarantined people
If you want to view a list of all quarantined people, you can use the following command.
Format: list l/quarantined
What it does
- It filters the persons list to display all people currently in quarantine.
Listing all locations
If you want ot view information of all locations stored in VirusTracker, you can use the following command.
Format: list l/locations
What it does
- It updates the locations list to displays all locations currently stored in VirusTracker.
Listing all visits
If you want to view information of all visits stored in VirusTracker, you can use the following command.
Format: list l/visits
What it does
- It updates the visits list to displays all visits currently stored in VirusTracker.
Listing high risk locations
If you want to view a list of high risk locations, you can use the following command.
Format: list [HIGH_RISK_LOCATIONS_NUMBER] l/high-risk-locations
Note:
- A location is considered as infected if an infected person visited that location.
- The parameter
HIGH_RISK_LOCATIONS_NUMBER
is optional. Users who want to see a specific number of high risk locations need to specify this parameter. -
HIGH_RISK_LOCATIONS_NUMBER
must be a non-negative integer and it must not be larger than the total number of locations. - If you specify a valid number for
HIGH_RISK_LOCATIONS_NUMBER
, the number of high risk locations displayed will be equal to number you specified. - If you do not specify any value for
HIGH_RISK_LOCATIONS_NUMBER
(i.e. leaving this parameter blank), the number of high risk locations displayed will be calculated by the app following this rule: If number of infected locations are more than 60% of number of total locations, number of high risk locations equals to 40% of number of total locations. Else, number of high risk locations equals to number of infected locations. - Let number of high risk locations be
n
. The firstn
number of most infected locations are shown. - For example, if the user does not specify any value for
HIGH_RISK_LOCATIONS_NUMBER
and number of total locations is10
, number of infected locations is7
, so the number of high risk locations is40% * 10 = 4
. The first4
infected locations from the list of infected locations sorted from highest to lowest risk are displayed.
Listing summary of data
If you want to view a summary of data stored in VirusTracker, you can use this command to get a general summary of the data in the form of statistics.
Format: list l/stats
Note:
- Data used to generate statistics are the people, locations and visits added into VirusTracker.
- Currently, the statistics generated include:
- Total number of people, locations and visits
- Total number of people infected/quarantined
- Percentage of people infected/quarantined
- The above provides a brief summary of the pandemic and is subject to extension.
Using CSV files
VirusTracker mainly uses CSV files to import and export data. You may refer to the commands below to find out how to do so.
Adding data from CSV files
As you may have pre-existing data stored in the Excel file format, VirusTracker provides a way to import data directly from files in the CSV format. Excel provides an option to save existing .xlsx extension files as .csv files.
You may read more about it here.
Format: addFromCsv FILE_PATH l/LIST_TYPE
Information on parameters
-
FILE_PATH
refers to the file path where the CSV file resides. It is recommended to use absolute file paths to avoid pathing errors.- For example, if you wish to import data from
personList.csv
located in your desktop, the absolute file path could look something like this:C:/Users/user/Desktop/personList.csv
(for Windows),/Users/admin/Documents/personList.csv
(for MacOS),/home/user/docs/personList.csv
(for Linux) - You may find the absolute file path as follows
- Right-click your file
E.g. personList.csv
- Select ‘Properties’
- Take note of the path specified in the ‘Location’ field.
E.g. C:/Users/user/Desktop
- The absolute file path is the path found in Step 3 along with your file name.
C:/Users/user/Desktop/personList.csv
- Right-click your file
- For example, if you wish to import data from
FILE_PATH
parameter. In this case, the default directory would
be the same as the directory where the VirusTracker.jar file is placed in.
-
LIST_TYPE
refers to ‘people’, ‘locations’ or ‘visits’.- The prefix
l/
is also used for listing data
- The prefix
- The CSV file should have its data in VirusTracker readable format.
- For visits data, the format used references the Id of the people and locations. The format using list indexing is not supported.
- By default, if only the file name is specified in the
FILE_PATH
parameter, VirusTracker would attempt to import the CSV file in the same directory as the VirusTracker application.- For example, if the VirusTracker.jar file is located in a folder named
app
and the following command is run:addFromCsv peopleList.csv l/people
, VirusTracker would search for apeopleList.csv
file inside theapp
folder.
- For example, if the VirusTracker.jar file is located in a folder named
Examples:
addFromCsv C:/Users/alice/Desktop/peopleToAdd.csv l/people
addFromCsv D:/visits on Dec 20.csv l/visits
Error Handling
Sometimes, the format of the CSV file may be wrong when executing the command. VirusTracker has different behaviour for different types of errors.
-
Duplicate entities detected within the CSV file
- Command operation does not terminate
- VirusTracker adds all entities which are not duplicates
- At the end of the operation, the lines in the CSV files with duplicates are displayed so that you could make adjustments to the file.
-
Erroneous entry (Not enough parameters)
- Occurs when one or more rows do not have enough compulsory parameters
- Command operation terminates immediately and nothing is added
- The line number of the erroneous row lacking parameters will be displayed
- Only the first line with such an error will be displayed, so it is possible that other lines may not have enough paramters as well
-
Erroneous entry (Wrong format for field)
- Occurs when an input field is of the wrong format
- Command operation terminates immediately and nothing is added
- The line number of the erroneous row will be displayed alongside the correct format for the field
- Only the first line with such an error will be displayed, so it is possible that other rows after it have an error as well
- Within the row, only the first erroneous field will be displayed. It is possible that other fields after it may have the wrong format as well
Exporting data to CSV files
Often, you may not only work on a single device.
VirusTracker enables you to export the current data stored into a CSV file which could then be read by the VirusTracker application on another device.
Format: exportToCsv FILE_PATH l/LIST_TYPE
Information on parameters
-
FILE_PATH
refers to the absolute file path where the CSV file should reside.- Refer to the Adding data from CSV files section to find out the absolute path of a file.
- If the CSV file does not exist at the specified location, VirusTracker will create it for you.
-
LIST_TYPE
refers to ‘people’, ‘locations’ or ‘visits’.- The prefix
l/
is also used for listing data
- The prefix
- The CSV file will have its data in VirusTracker readable format.
- By default, if only the file name is specified in the
FILE_PATH
parameter, VirusTracker would attempt to export the CSV file to the same directory as the VirusTracker application.- For example, if the VirusTracker.jar file is located in a folder named
app
and the following command is run:exportToCsv peopleList.csv l/people
, VirusTracker would create apeopleList.csv
file inside theapp
folder.
- For example, if the VirusTracker.jar file is located in a folder named
Examples:
-
exportToCsv C:/Users/alice/Desktop/peopleToAdd.csv l/people
creates a people data CSV file namedpeopleToAdd.csv
-
exportToCsv D:/visits on Dec 20.csv l/visits
creates a visit data CSV file namedvisits on Dec 20.csv
Format for CSV files
As data can be formatting differently from file to file, VirusTracker specifies a certain format for CSV files to be imported.
- Depending on the entity, the format for each row will follow its relevant
add
command.- For example, for a CSV file adding locations, each row will correspond to an individual addLocation command format.
- As you can see from the figure above, each row is a valid
addLocation
command, with the command word omitted. - Each column corresponds to a field in
addLocation
format. - As with the commands themselves, the order of the arguments do not matter.
- You MAY NOT have data of different formats in the same CSV file. (i.e. adding people from rows 1 to 4, then locations from 5 to 8, etc.)
The conversion of pre-existing data to the required CSV format may require a bit of effort. Below are some tips to guide you along.
- It is recommended to create a new CSV file for importing instead of using the pre-existing data file to prevent data loss.
- Copy the rows of relevant data (name, addresses, dates, etc) into the new file.
- Using Excel functions, you can prepend the required prefixes to each data field.
- CSV files exported by VirusTracker already have this format and do not need to be reformatted.
Using Excel to add prefixes
The data present may be in a different format than what VirusTracker requires. Hence, below is a step by step guide to convert the common types of data fields to their required format.
The diagram below shows possible data columns pre-formatting. Column A represents a PERSON_ID
and Column B represents DATE
in this case.
Find an empty column, and type the function in the diagram shown below.
Upon pressing enter, you should see that the prefix has been prepended to the first item in column A as shown below.
You may then click the bottom right corner of the formatted cell, C1 in this case, and drag downwards to fill the remaining cells.
Alternatively, you could also choose Fill
-> Down
from the menu bar.
You should see a result similar to below.
For date fields, the format of the function is slightly different. The date has to be formatted to the correct date format in addition to being prepended with the date prefix.
The below function in the diagram only works if the field is a date.
You may then similarly fill the cells as shown in the two diagrams below.
Replacing the data
After creating the formatted data, you may be tempted to directly copy the new data into the column containing the preformatted data.
However, this would result in an error as the formatted data is currently referencing the old data. To fix this, we should paste the values using
Paste Special
.
For example, if you wished to copy formatted data from column C to column A, right click on A as shown below.
Select Paste Special
-> Values
as shown below.
Column A now has the formatted data and column C can be deleted.
Deleting data
If you want to delete data from VirusTracker, there are various delete
commands that can be used.
Deleting a person
It you want to delete the specified person from the persons list, you can use the following command.
Format: deletePerson PERSON_IDENTIFIER
Note:
- All visits made by the specified person would also be deleted.
Warning: Be careful that deleting a person is irreversible!
Examples:
-
list l/infected
followed bydeletePerson 2
deletes the 2nd infected person in the displayed people list. -
findPerson Betsy
followed bydeletePerson 1
deletes the 1st person in the results of thefindPerson
command. -
deletePerson idp/S123A
deletes the person with the Id S123A.
Deleting a location
If you want to delete the specified location from the location list, you can use the following command.
Format: deleteLocation LOCATION_IDENTIFIER
Note:
- All visits that contains the specified locations would also be deleted.
Warning: Be careful that deleting a location is irreversible!
Examples:
-
list l/locations
followed bydeleteLocation 2
deletes the 2nd location in the displayed locations list. -
deleteLocation idl/L123A
deletes the location with the Id L123A.
Deleting a visit
If you want to delete the specified visit from the visit list, you can use the following command.
Format: deleteVisit Index
Warning: Be careful that deleting a visit is irreversible!
Examples:
-
list l/visits
followed bydeleteVisit 2
deletes the 2nd visit in the displayed visits list.
Deleting visits using date
If you want to delete all visits before and including the date, you can use the following command.
Format: deleteVisits d/DATE
Note:
- A
DATE
is valid if at least one visit occurs before or on the specified date. - All the visits before and including the date will be removed from the visits list.
- Date format should follow “yyyy-mm-dd”.
Examples:
deleteVisits d/2020-09-12
Editing data
If you want to edit data in VirusTracker, there are various edit
commands that can be used.
Editing a person
If you want to edit an existing person in VirusTracker, you can use the following command.
Format: editPerson PERSON_IDENTIFIER [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS] [q/QUARANTINE_STATUS] [i/INFECTION_STATUS]
Note:
- A person’s Id cannot be edited.
- At least one of the optional fields must be provided.
- Existing values will be updated to the new values.
Examples:
-
editPerson 1 p/91234567 e/johndoe@example.com
Edits the phone number and email address of the 1st person to be91234567
andjohndoe@example.com
respectively. -
editPerson idp/S123A n/Betsy Crower
Edits the name of the person with Id S123A to beBetsy Crower
.
Editing a location
If you want to edit an existing location in VirusTracker, you can use the following command.
Format: editLocation LOCATION_IDENTIFIER [n/NAME] [a/ADDRESS]
Note:
- A location’s Id cannot be edited.
- At least one of the optional fields must be provided.
- Existing values will be updated to the new values.
Examples:
-
editLocation 1 n/NTU a/Bugis street
Edits the name and address of the 1st location to beNTU
andBugis Street
respectively. -
editLocation idl/L123A n/NUS
Edits the name of the location with Id L123A to beNUS
.
Finding persons by name
If you want to find people whose names contain any of the given keywords, you can use the following command.
Format: findPerson KEYWORD [MORE_KEYWORDS]
Note:
- The search is case-insensitive. e.g
hans
will matchHans
- The order of the keywords does not matter. e.g.
Hans Bo
will matchBo Hans
- Only the name is searched.
- Only full words will be matched e.g.
Han
will not matchHans
- People matching at least one keyword will be returned (i.e.
OR
search). e.g.Hans Bo
will returnHans Gruber
,Bo Yang
Examples:
-
findPerson John
returnsjohn
andJohn Doe
-
findPerson alex david
returnsAlex Yeoh
,David Li
Generating all locations visited by an infected person
If you want to view a list of locations visited by an infected person in the past 2 weeks, you can use the following command.
Format: generateLocations PERSON_IDENTIFIER
Note:
- The result given is a filtered list of locations that the infected person visited in the past 2 weeks.
- You may use this function to identify locations needing to be disinfected after being visited by an infected person.
- “2 weeks” refers to a 14-day period that is inclusive of the current date, but exclusive of the date 14 days ago.
Examples:
generateLocation 4
generateLocation idp/S456D
Generating all people in contact with an infected person
If you want to view a list of people who were in contact with an infected person in the past 2 weeks, you can use the following command.
Format generatePeople PERSON_IDENTIFIER
Note:
- The result given is a filtered list of people who visited the same locations as the infected person in the past 2 weeks.
- You may use this function to identify people who need to be quarantined or issued Stay Home Notices.
- “2 weeks” refers to a 14-day period that is inclusive of the current date, but exclusive of the date 14 days ago.
Examples:
generatePeople 4
generatePeople idp/S456D
Clearing all entries
If you want to clear all entries from VirusTracker, you can use the following command.
Format: clear
Viewing help
If you want to know more about how to use VirusTracker, you can use the following command which will show a message explaining how to access the user guide.
Format: help
Exiting the program
If you want to exit the program, you can use the following command.
Format: exit
Saving the data
VirusTracker saves data in the hard disk automatically after any command that changes the data. There is no need to save manually.
FAQ
Q: How do I transfer my data to another Computer?
A: Install the app in the other computer. Create a folder named data
in the same location as the app and copy over personbook.json, locationbook.json and visitbook.json
into that folder.
Another solution is to use the import and export commands that VirusTracker provides. You may export all entities to 3 CSV files and import them within the new VirusTracker.
Please refer to adding data for CSV files and exporting data to CSV files for more details.
——————————————————————————————————————–