ffa2a68b7a
fix(growth): use Application.app_dir to write/read priv dir
continuous-integration/drone/pr Build is passing
2024-10-21 01:53:14 +00:00
82d7009b34
chore(growth): adjust key in ets tables to contain atoms
...
The `ets` tables containing growth indicator has a key in the form of
`{gender :: atom(), unit :: atom(), value :: number()}`.
2024-10-05 15:07:10 +00:00
c81e4fda67
chore(growth): add log in loader
continuous-integration/drone/pr Build is passing
2024-06-11 12:02:14 +00:00
0ac434c61d
fix(growth): ignore enum result explicitly
continuous-integration/drone/pr Build is passing
2024-06-10 19:24:41 +00:00
4234b2e917
chore(growth): load is independent from task
...
continuous-integration/drone/pr Build is failing
Ensure that `Growth.Indicators.Load.all/0` can be run independently from
the task.
So, the `ets` table is create based on the filename processed.
2024-06-10 13:01:44 +00:00
b415b38184
feat(growth): load data on application start
...
To make this possible, the following changes were made:
* Use `Task` to start the load process
* Create `ets` table before start the async task
* This is needed to keep the tables alive after the task process exits
* Adjust the application to start the `Growth.Indicators.Load` task
2024-06-10 12:11:18 +00:00
025ab1537d
chore(growth): name ets tables with score modules
2024-06-09 19:58:34 +00:00
52c1d0c028
feat(growth): load csv indicators into ets tables
continuous-integration/drone/pr Build is passing
2024-06-07 13:28:13 +00:00