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
902a22c947
chore(growth): fetch extended data for indicators
...
continuous-integration/drone/pr Build is passing
Also, improve module doc.
2024-06-06 22:49:52 +00:00
8be9fa38bb
wip(growth): add fix note on convert/3 method
continuous-integration/drone/pr Build is passing
2024-06-04 23:56:27 +00:00
9c8e1d20ee
wip(growth): improve data parsing
...
1. Fetch common data for all indicators
2. Remove headers during merge
Also, re-generate files.
2024-06-04 23:55:03 +00:00
2fedb4ecf0
wip(growth): change from with
to case
continuous-integration/drone/pr Build is passing
2024-06-04 14:36:20 +00:00
58f14c0346
wip(growth): fetch|extract|save indicators from WHO
...
Initial implementation to fetch growth indicators from WHO.
For now, the system merges the measurements for each gender and age
group in a single `csv` file.
The final solution should do this, saving a `dets` file.
2024-06-04 13:57:32 +00:00