Skip to content

Commit 512eada

Browse files
Update README.md
1 parent 242783d commit 512eada

File tree

2 files changed

+19
-16
lines changed

2 files changed

+19
-16
lines changed

database/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ You can enable or disable database versioning by setting the **VERSIONING** envi
1010

1111
For more information about the database versioning, refer to the [Database Versioning Documentation](https://github.com/istSOS/istsos-miu/blob/traveltime/database/README_VERSIONING.md)
1212

13-
### Database fake data
13+
### Database dummy data
1414

15-
When you build the Docker image, the script will automatically clear the database and add static and dynamic values.
15+
You can enable or disable the addition of dummy data by setting **DUMMY_DATA** environment variable in the `.env` file.
1616

17-
To disable the addition of these data, set **dummy_data** to *False* in the `/dummy_data/config.yaml` file.
17+
You can enable or disable the cleaning by setting **CLEAR_DATA** environment variable in the `.env` file.
1818

19-
To prevent clearing the database, set **clear_data** to *False* in the `/dummy_data/config.yaml` file.
19+
For more information about the database dummy data, refer to the [Database Dummy Data Documentation](https://github.com/istSOS/istsos-miu/blob/traveltime/dummy_data/README.md)
2020

2121
### Connect to database in DBeaver
2222

dummy_data/README.md

+15-12
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
# Dummy data
22

3-
This container create a random dataset to mimik real case monitoring network. It allows to create a specified number of entities ("things") for each observed properties with observations over a defined time interval with a given frequency. Additionally, it includes information about locations, historical locations, features of interest, sensors, datastreams, and observations associated with the things.
3+
This container generates a random dataset to mimic a real-world monitoring network. It allows you to create a specified number of entities ("things") for each observed property, with observations over a defined time interval at a given frequency. Additionally, it includes information about locations, historical locations, features of interest, sensors, datastreams, and observations associated with the things.
44

55
## Input Parameters
66

7-
- `n_things` (int): Specifies the number of things being observed in the dataset.
8-
- `n_observed_properties` (int): Denotes the number of different properties or features being recorded for each item.
9-
- `interval` (str): Defines the time interval over which the data is generated. The format "P1Y" follows the ISO 8601 duration format, indicating a period of 1 year.
10-
- `frequency` (str): Sets the frequency at which data points are recorded. "PT30M" is in the ISO 8601 duration format, representing a period of 30 minutes.
7+
- `N_THINGS (int)`: Number of things being observed in the dataset.
8+
- `N_OBSERVED_PROPERTIES` (int): Number of different properties or features being recorded for each thing.
9+
- `INTERVAL` (str): Time interval over which the data is generated, following the ISO 8601 duration format (e.g., "P1Y" for a period of 1 year).
10+
- `FREQUENCY` (str): Frequency at which data points are recorded, using the ISO 8601 duration format (e.g., "PT30M" for a period of 30 minutes).
11+
- `START_DATETIME` (str): Specifies the start date for phenomenonTime
1112

12-
## Other entities
13+
## Entities Counts
1314

14-
- `Locations`, `HistoricalLocations`, and `FeaturesOfInterest`: The number of these entities is equal to the number of things.
15-
- `Sensors` and `Datastreams`: The number of these entities is equal to the number of things multiplied by the number of observed properties.
16-
- `Observations`: The number of observations for each datastream depends on the frequency and interval. For this specific case, there is one observation every 30 minutes for one year.
15+
- `Locations`, `HistoricalLocations`, and `FeaturesOfInterest`: One per thing.
16+
- `Sensors` and `Datastreams`: : One per thing per observed property.
17+
- `Observations`: Number of observations for each datastream depends on the frequency and interval (e.g., one observation every 30 minutes for one year).
1718

18-
## Data Generation
19+
## Data Generation Options
1920

20-
- `dummy data` (bool): Indicates whether the dataset should be populated with dummy data.
21-
- `clear data` (bool): Indicates whether the dataset should be cleared.
21+
- `DUMMY_DATA` (bool): Specifies whether the dataset should be populated with dummy data.
22+
- `CLEAR_DATA` (bool): Specifies whether the dataset should be cleared before generating new data.
23+
24+
By adjusting these parameters, you can create a customized dataset that suits your needs for testing and development purposes.

0 commit comments

Comments
 (0)