intenthq / anon

A UNIX Command To Anonymise Data
MIT License
354 stars 14 forks source link

Loads and uses configuration, sampling and year #6

Closed albertpastrana closed 6 years ago

albertpastrana commented 6 years ago

Loads and uses configuration file.

Adds basic sampling.

Adds year anonymisation function.

Signed-off-by: Albert Pastrana albert.pastrana@gmail.com

codecov[bot] commented 6 years ago

Codecov Report

Merging #6 into master will increase coverage by 13.24%. The diff coverage is 60.29%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master       #6       +/-   ##
===========================================
+ Coverage   38.29%   51.54%   +13.24%     
===========================================
  Files           2        3        +1     
  Lines          47       97       +50     
===========================================
+ Hits           18       50       +32     
- Misses         28       45       +17     
- Partials        1        2        +1
Impacted Files Coverage Δ
config.go 100% <100%> (ø)
main.go 25% <24.13%> (-0.65%) :arrow_down:
anonymisations.go 83.33% <82.14%> (-16.67%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fa5f959...8c1c5cf. Read the comment docs.