r_data_structure: Sets up the datastructure

Description Usage Arguments Details Value

View source: R/r_data_structure.R

Description

Set up data from and object + specification file

The function reads in a .csv file with the data specifications (also accepts the same as a already loaded data frame) The data spec will be delivered with the dataset if requested through QCP order form and should include the columns: Variable.Name Label Code Decode Description R.Type (in that order)

Usage

1
2
r_data_structure(.df, data_spec = file.path("SourceData",
  "dataVariablesSpecification.csv"), nm_output = FALSE, ...)

Arguments

.df

data frame

data_spec

full path to specification file, Default: './SourceData/dataVariablesSpecification.csv'

nm_output

is the data frame a nonmem output data, Default: FALSE

...

additional arguments passed to nm_output_data

Details

DETAILS

Value

a data frame with structure according to data spec


AstraZeneca/pmxplore documentation built on May 28, 2019, 11:04 a.m.