- Remove "matlab" dependency.
- Remove "remove_average" and "bessel" filtering functions.
- Resolve CRAN release ERROR.
-
Add a new input argument
use_snapshot_to_check
tomims_unit()
to configure the data used to check duplicated timestamps. -
Enable
has_ts
argument inimport_actigraph_csv()
andimport_actigraph_csv_chunked()
functions. Now the timestamps will be computed based on the sampling rate and start time in the actigraph csv header.
- Check duplicated timestamps and raise error when calling
mims_unit()
. Usediff
function to accelerate the computation (@vincentvanhees). - Fix the
rest_on_table
sample data to remove duplicated timestamps in it.
- Update FAQ about the duplicated timestamps problem.
import_actigraph_csv()
andimport_actigraph_csv_chunked()
functions no longer supporthas_ts
flag. Users should always ensure input data have timestamps in the first column. Note that for versions<=0.9.2
, always make sure the input raw accelerometer data includes timestamps in the first column and sethas_ts
to TRUE when usingimport_actigraph_csv()
andimport_actigraph_csv_chunked()
functions to avoid a known bug.
- Remove warnings from dplyr > 1.0.0.
- The first column of the input data.frame does not have to be HEADER_TIME_STAMP. #29.
- Refactor
export_to_actilife()
andconceptual_diagram
vignette to be compatible with newer versions ofreadr
andplyr
packages.
- Update development package versions
- Add back man pages to the github development version.
- Fix invalid urls in any documentations.
- Optimize memory usage when computing MIMS unit values. @muschellij2
- Reduce sample data size to accelerate example execution time.
- Support shiny progress indicator when running
mims_unit()
functions in a shiny app.
- Fix cross-package references.
- Added a function
shiny_app()
to start a local shiny app that allows users to load local files to compute mims unit values and provides an interactive graph to view the computed values.
- Optimize memory usage when computing MIMS unit values.
- Added datasets article
vignette("datasets")
.
- Check column existence before coverting data type in
import_mhealth_csv()
. - Quick failure if dynamic_range is not specified.
- Auto set
has_ts
toFalse
when there are only three columns in the input data inimport_actigraph_csv()
.
- Sort timestamps of input data before computing mims unit values in
custom_mims_unit()
.
- Indicate columns cannot be reordered in the argument description of
extrapolate()
andmims_unit()
.
- Add appveyor for non-Github actions testing
- Make sure codes do not change options.
- Fix timestamps in
import_actigraph_csv_chunked()
.
- Add two new sample data
edge_case
andrest_on_table
. - Add one new external sample data
actigraph_timestamped.csv
.
- Use tempfile in examples.
- Remove unused vignettes.
- Add documentation for the new sample data.
- Use internal data for all vignettes.
- New import data functions
import_actigraph_csv_chunked()
andimport_mhealth_csv_chunked()
to support loading large csv files in chunks. See issue #11.
- Use chunked import functions in
mims_unit_from_files()
to support large input files.
- Column naming in
vector_magnitude()
andsum_up()
functions. - Crashing bug in plotting functions.
- Chances of incorrect parsing of time zone during interpolation and extrapolation.
- Add examples to functions.
show_progress
is discarded in top-levelmims_unit()
functions. Useuse_gui_progress
instead.
- Minimal R version requirement is bumped to 3.6.0.
- Refine vignettes codes and texts.
- Better progress bar support for
mims_unit()
functions. Useshow_progress
to control whether to show progress bar during computation.
- Fix missing "testthat" dependency.
- Add
stringr
namespace before str_detect.
- Remove dependency on "akima". This package is not used.
- Remove dependency on "mHealthR" package.
- Add top-level API function
mims_unit_from_files()
. - Add new plotting function
generate_interactive_plot()
.
- Fix crashing error in plotting functions when running vignettes.
- MIMSunit axial values are now passed through the truncation algorithm before computing the axial sum.
- Add dev dependencies to renv.
- Add two datasets for experiment results (see this article).
- Move MIMSunit R project one level down to a subdirectory to better support git submodules.
- Add
MIMSunit-dataset-shaker
as submodule.
- Exclude data from package building.
- Exclude inst scripts, figures, tables and data from package building.
- Remove unused files in R folder.
- Use
renv
for dependency management. - CRAN ready.
- Refactor
mims_unit()
.
- API changes for the following functions. Please refer to the documentations for the details.
sensor_orientations()
is Added as an entry function to compute sensor orientations.mims_unit()
is simplified to not allow customization on parameters.- Old
mims_unit()
is nowcustom_mims_unit()
, which allows full tuning of algorithm parameters.
- Refactor functions in
extrapolate.R
,interpolate.R
andsimulate_data.R
.
- API changes for the following functions. Please refer to the documentations for the details.
crop_grange()
is nowcut_off_signal()
make_new_data()
is nowsimulate_new_data()
extrapolate.data.frame()
is nowextrapolate()
extrapolate()
is nowextrapolate_single_col()
- Added a
NEWS.md
file to track changes to the package. - Refactor functions in
import_data.R
file.
- API changes for the following functions. Please refer to the documentations for the details.
import_actigraph_raw()
is nowimport_actigraph_csv()
import_actigraph_count()
is nowimport_actigraph_count_csv()
import_biobank_enmo()
is nowimport_enmo_csv()
import_activpal_raw()
is nowimport_activpal3_csv()