Releases: psychelzh/tarflow.iquizoo
Releases · psychelzh/tarflow.iquizoo
tarflow.iquizoo 3.12.0
New Features
- Added
cache
argument totar_prep_iquizoo()
to optionally specify how to cache the fetched configuration data. - Support to customize the columns to be kept in the output of
users
. See [get_users_props_names()] for all available columns, and customize it by settingsubset_users_props
argument intar_prep_iquizoo()
. - Update contents sql template to support setting course name and game name (#90).
Bug Fixes
- Let
users
update based on progress hashes. This is important when more users are added in projects.
tarflow.iquizoo 3.10.0
Breaking Changes
- Now
query
argument offetch_data()
is optional. If not specified, the default query stored in the package will be used.
Enhancements
- Added
suffix_format
argument tofetch_data()
to specify the format of suffix in the query file. This is useful when you want to use a different format of suffix in the query file. - Enhanced the documentation of
fetch_data()
. - Let package not depend on dplyr, tidyr and purrr packages (#84).
- Exported more targets factory functions:
tar_prep_proj()
,tar_fetch_data()
,tar_prep_raw()
. - Do not add
progress_hash
objects whencheck_progress
is set toFALSE
intar_prep_iquizoo()
.
tarflow.iquizoo 3.9.0
Breaking Changes
- Ensure all internal SQL query templates end with semicolon. This will unavoidably invalidate existing targets for old pipelines.
- Removed
preproc_data()
andwrangle_data()
functions. Now all data preprocessing are done inpreproc.iquizoo
package.
tarflow.iquizoo 3.8.0
New Features
- Added
combine
argument intar_prep_iquizoo()
. This will enable users to specify freely how to combine the data from branches. See?tar_prep_iquizoo
for details.
Enhancements
- Let data from single games be fetched into one targets so that the total targets number could be reduced.
tarflow.iquizoo 3.7.2
Breaking Changes
- Renamed
use_targets_template()
asuse_targets_pipeline()
. Although arbitary,"pipeline"
is a little more accurate than"template"
.
Misc
- Used Apache License 2.0 instead of MIT License now.
tarflow.iquizoo 3.7.0
Breaking Changes
- Renamed
use_targets()
asuse_targets_template()
to avoid name masking withtargets::use_targets()
. - Renamed
prepare_fetch_data()
astar_prep_iquizoo()
to obey the name convention of targets factory.
tarflow.iquizoo 3.6.0
Breaking Changes
- Let
fetch_data()
extractcourse_date
automatically. In this way, thecontents
(regardless based on template or feeding directly) does not require thecourse_date
column from now on.
tarflow.iquizoo 3.5.1
- Use
data.iquizoo::match_preproc()
. - Added
quietly
argument tosetup_option_file()
, so now messages are supressed when loading package. - Added more test cases against database settings. Note test cases do not cover odbc driver for now.
tarflow.iquizoo 3.4.0
New Features
- Support
action_raw_data
argument inprepare_fetch_data()
to specify the action of raw data. This is useful when you want only the parsed raw data and not the indices, e.g.,action_raw_data = "parse"
will not perform indices calculation. - Added
raw_data_parsed
targets combination and removedraw_data
targets combination, which should be a potential bug for the unparsedraw_data
targets combination is not really the intent.
tarflow.iquizoo 3.3.2
New Features
- Added two functions
setup_option_file()
andcheck_source()
to help setup the database connection option file and check if the database is ready (#71).- To ensure option file is correctly set up, you should specify these three environment variables:
MYSQL_HOST
,MYSQL_USER
,MYSQL_PASSWORD
. See option file template for details. - Note if
check_source()
returnsFALSE
, this package will callsetup_option_file()
once to setup the option file in loading phase. You should check if the option file is correctly set up.
- To ensure option file is correctly set up, you should specify these three environment variables: