vigi_routine()
now plots details on drug liability and rechallenge
when available (#119).
desc_rch()
, desc_dch()
and desc_outcome()
now handle out of
memory arrow Table (#127).
compute_dispro()
now handles factors as x
or y
arguments,
if levels are strictly equal to 0 and 1 (#134).
Error and warnings all turned into cli
syntax. Gathered redundant checkers
internally (#133).
vigi_routine()
now works with out of memory arrow Tables. Additional
checkers to vigi_routine()
for input data type.
compute_or_mod()
now has an informative error message if either args
estimate
or std_er
were not supplied (#123).
get_drecno()
now handles non-WHO names matching a unique DrecNo that has
several WHO names, and throws an error if matching multiple DrecNos (#139).
Adding dependency to glue
.
Working on examples per CRAN query (#128).
create_ex_*
family mostly aimed at example set up or internal use (#128).
Addressing CRAN queries on package DESCRIPTION.
Condensing examples and tb_vigibase()
default output.
tb_*
family now has a cli
style progress bar
get_llt_soc()
output is reworked with cli
features.
The function also now correctly supports non-data.table data.frame.
vigi_routine()
fails if there are no drug or adr cases found in demo_data
.
mp
replaces mp_short
throughout the package (#110).
Users will have to change existing code to replace calls to mp_short
with mp
.```R # the old way mp_short <- dt_parquet(path_who, "mp_short") d_names <- list(drug1 = "paracetamol") d_drecno <- get_drecno(d_names, mp_short = mp_short)
# the new way mp <- dt_parquet(path_who, "mp") d_names <- list(drug1 = "paracetamol") d_drecno <- get_drecno(d_names, mp = mp) ```
get_llt_smq()
, smq_list
and smq_content
replace smq_list_content
(#74).
Users will have to change existing code to replace calls
to smq_list_content
with smq_list
and smq_content
.
Example tables smq_list_
and smq_content_
are added to the package. This
change was made to streamline the process of querying sub-SMQs.```R # the old way smq_list_content <- dt_parquet(path_meddra, "smq_list_content")
smq_llt <- get_llt_smq( list(ihd = "Ischaemic heart disease (SMQ)"), smq_list_content)
# the new way smq_list <- dt_parquet(path_meddra, "smq_list") smq_content <- dt_parquet(path_meddra, "smq_content")
smq_llt <- get_llt_smq( list(ihd = "Ischaemic heart disease (SMQ)"), smq_list = smq_list, smq_content = smq_content) ```
compute_dispro()
is the new name of compute_or_abcd()
, to reflect that
other disproportionality measures are available.Args inspect
and show_all
of get_drecno()
are replaced by verbose
(#102).
get_drecno()
and get_llt_smq()
messages are cleaner and
written with the cli
package.
New top_n
argument added to screen_adr()
(#86).
screen_drug()
let you screen most reported drugs in drug
(#103).
get_llt_smq()
now queries sub-SMQs and return all relevant codes (#74).
Order of output columns in compute_dispro()
has changed, to allow easier
access to formatted values. Also new arguments min_n_obs
and export_raw_values
(#101).
tb_subset()
handles ID code lists as input, instead of numeric vectors,
to make workflow more consistent with other processes like add_*
. (#112)
screen_adr()
now counts effects at the case level (#86).
arg data_type
of add_*
functions is now deprecated.
Data_type is internally detected.
add_drug()
and add_adr()
have informative error if id code list is
incorrect (#88).
vigi_routine()
to streamline the process forpharmacovigilance practitioners. This function is intended for non-expert users, to produce an Information Component and time to onset graph.
luda
table no longer exists. It is replaced by an augmentedversion of link
- built directly from tb_vigibase()
,
which is used downstream in place of luda.
tb_main()
and tb_sub()
are fusionned into tb_vigibase()
.value
columnof desc_facvar()
and desc_cont()
, with argument export_raw_values
.
vignette("descriptive")
was translated in English.get_*
family of functions now correctly handle out of memory tables(by pulling them into memory). The same is true for extract_tto()
.
extract_tto()
were removed.and check for the existence of the files before working on tables.
get_llt_soc()
treated as such.
Failed ubuntu latest oldrel-1 for licensing issue. Put license in license file.
Fixing Windows 1224, by using different temp sub folder for each test
Changing the package's name!! All set for a public release.
Improved documentation by adding tags, translating to english the basic_workflow vignette. #62, #67, and #69
Increased code coverage back to 100%.
tb_*
functions). This is supposed to overwrite thecurrent fst and dt_fst process, which is being deprecated as of this release.
New getting_started
vignette shows the process.
dt_parquet
function is to replace dt_fst
in the workflow.
Sounds like minor but... Added tests to hit 100% test coverage for the package!
get_drecno now correctly inspects DrecNos identified from an mpi_list.
Fix a bug, get_drecno wasn't correctly returning DrecNos from mpi_list.
soc
option to argument term_level
of get_llt_soc
.compute_or_abcd
is now internally vectorized on drugs and adrs.get_atc_code
now appropriately tolowers and trims names as it states,even when argument vigilyze
is set to FALSE
.
d_names
argument to add_drug
.Introducing tb_custom
to pharmacocaen.
Improved description of add_drug
and add_adr
.
get_llt_smq
desc_outcome
function to collect adr outcome. Help in thedescriptive vignette.
Fix add_adr data_type checker.
Patches:
get_drecno
now handles correctly non lower-case names in d_sel
.add_drug
screen_adr
function to identify main adverse drug reactions in an adr dataset.desc_*
functions is now available in vignettes descriptive, template_main and template_dictionary.Vanquished the codetools::checkUsagePackage(pack = "pharmacocaen")
note!
results according to format
argument.
desc_dch
, desc_tto
and desc_rch
now consistently use drug_s
and adr_s
(instead of drug
and adr
for desc_rch in the past)tto_time_range
fromdesc_rch
(formerly, the function also
provided time to onset descriptives)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.