create_example_tables {vigicaen}R Documentation

Example source tables for VigiBase and MedDRA

Description

[Experimental] Write some example tables as source text/ascii/parquet files.

Usage

create_ex_main_txt(path)

create_ex_sub_txt(path)

create_ex_who_txt(path)

create_ex_meddra_asc(path)

create_ex_main_pq(path)

Arguments

path

Character string. A folder on your computer where the tables should be written.

Details

VigiBase tables and MedDRA tables are provided respectively as text files and ascii files. The ⁠tb_*⁠ family turns them into parquet files. These ⁠create_example_*⁠ functions are only used to produce example source files to illustrate the ⁠tb_*⁠ family, and parquet files for the same purpose.

Value

A set of text/ascii files, as received by the Uppsala Monitoring Centre or MedDRA

Functions

See Also

tb_vigibase(), tb_who(), tb_meddra()

Examples


path <- paste0(tempdir(), "/crex/")

dir.create(path)

# You may want to use different paths for each type of tables
create_ex_main_txt(path)

create_ex_sub_txt(path)

create_ex_who_txt(path)

create_ex_meddra_asc(path)

create_ex_main_pq(path)

# Remove temporary folders when you're done
unlink(path, recursive = TRUE)

[Package vigicaen version 0.15.6 Index]