Importing Data

When a data is imported into Phoenix, whatever changes are made to those data only affects the data that is imported into Phoenix. The actual file that contains the data is not affected.

This means that any changes made to datasets imported into Phoenix are not reflected in the dataset that is saved on a hard drive or other storage media. Users can make as many changes as they want to a dataset in Phoenix without changing the original dataset.

What types of data does Phoenix use?

How is data used in Phoenix?

This section contains information on:

Importing files

Importing datasets

Note:Computer accuracy for numeric data is limited to about 14 significant digits. This can cause two unique numbers with more than 14 significant digits to be treated as the same number. If the num­ber represents an identifier, the column type can be set to text, which preserves the full ID. The sit­uation for actual numerical data needs to be handled carefully.

As an example, using the NCA Slopes Selector when the time data has more than 14 significant digits, and two points differ at the 14th digit (e.g., 240.333333333333 and 240.333333333334), one point appears selected for the time range but it is not used in the Slopes Selector. Further­more, the point representing a number, such as 240.333333333333, is selectable in the Slopes Selector and can show as the End Time for a user-specified range, but will not be used in the slope calculation, causing Lambda_Z_Lower and Lambda_Z_Upper in the output to be off by 1e-14. In this example, one workaround is to click on Slopes and paste the full number. Another pos­sibility is, prior to NCA, to round the time data so it has 14 significant digits or fewer (use a custom transformation in the Data Wizard with a formula such as round(time,10) or roundsig(time,14)).

Importing files

To import files

Click import_file_icon_1.png in the Phoenix toolbar.

Or select the File > Import menu option.

Or press CTRL+I.

Or right-click the Data Folder in the Object Browser and select Import.

Then navigate to and select the file(s) to import in the Import File(s) dialog.

To import files as shortcuts

Select File > Custom Import > File Shortcut.

To import all files within a folder

Select File > Custom Import > Import Folder. All files and sub-folders within the selected folder will be imported into the Documents folder, with the directory structure maintained.

Supported file types

Phoenix can import several file types beyond what are officially supported and displays different import options depending on the file type selected. Some files have no import options. Supported files types are listed below.

Note:Extensionless files are placed in the Code folder. All files imported as shortcuts are placed in the Shortcuts folder.

File types supported by Phoenix

File type

File extension

Comments

ASCII Data

*.csv;*.dat

Displays the File Import Wizard dialog.

BQL Rule Set

*.phxruleset

Adds new BQL rule set to the BQL Rules folder.

Enhanced Meta File

*.emf

Imported in the Documents folder.

Excel 97–2003 Workbook

*.xls

Displays the File Import Wizard.

Excel Workbook

*.xlsx

Displays the File Import Wizard.

Image File

*.bmp,*.gif,*.jpeg,*.jpg,
*.png

Imported in the Documents folder.

Phoenix Projects

*.phxproj

Can only be loaded using the import function if a project is already open in Phoenix. No import options.

SAS Transport Files

*.xpt

Imported into the Data folder. (Phoenix supports SAS Version 5 transport file format for XPT files.)

Text

*.bat,*.ctl,*.mdl,*.mod;
*.r,*.sas,*.ssc,*.tdl;
*.txt,*.vbs

Imported into the Code folder.

Windows Meta File

*.wmf

Imported into the Documents folder.

Note:The following legacy file formats are no longer supported:
– .lib, .pwo, .pmo, .pto, .pco, .bql, .tdf, .xml, .lml, .cmd, .ivc, .map
– WNL workspaces (.wsp, .pws)

However, files of these types can still be imported using Pheonix32.exe. Once imported, save the project. The saved project is then ready for use in either 32- or 64-bit Phoenix.

Importing datasets

Phoenix can import datasets in several different file formats. During the import process, a copy of the data is created. The original dataset file, no matter where it is located, is not altered by Phoenix in any way.

The maximum worksheet size Phoenix can import depends on the amount of RAM in the computer running Phoenix.

The following topics are discussed in this section:

Using the File Import Wizard dialog

Custom imports

See also “ODBC” and “Watson Import Object” for data importing options.

Note:When subject IDs with many digits are imported (e.g., 100010901), they are changed upon import to G8 format by default (e.g., 1.0001090E-08), even if they are imported as text. Using the G9 for­mat preserves the subject ID digits. See “.NET format strings” for more information on numeric for­mats.

Using the File Import Wizard dialog

The File Import Wizard dialog contains several options that allow users to determine how a dataset is imported into Phoenix. The File Import Wizard dialog is used to import .csv, .dat. .xls, or .xlsx files.

file_import_wizard.png 

Note:Numeric columns can switch to text if there is any non-numeric data in a cell. So, if there is an extra row in an input dataset containing text, it will cause entire columns to be treated as text. if this happens, change the column type to numeric.

Custom imports

Phoenix file imports are controlled by the file extension. Phoenix uses the file extension to determine where to place the file and its components, if any. The Custom Import menu allows users to force a file to be imported as a binary, ASCII, or text file, without regard to the file extension.

The Custom Import menu is useful for importing file types that are recognized by Phoenix, but do not contain data that is usable by Phoenix. For example, a user might want to attach an Excel table to a project. By selecting File > Custom Import > Binary File the Excel file is placed in the Documents folder, and not in the Data folder.

Additionally, the Custom Import menu allows users to import data for use with any of the third party objects (e.g., R, SAS, PsN, etc.) as a shortcut.

 


Last modified date:6/26/19
Certara USA, Inc.
Legal Notice | Contact Certara
© 2019 Certara USA, Inc. All rights reserved.