This function is useful as a utility function in this and other packages to determine the type of file that is read in and determine certain types of munging handling.

identify_psd(df)

Arguments

df

PSD dataframe

Value

character, PSD data stream and the level

Examples

if (FALSE) { # \dontrun{
#read in file for use
 path <- "~/Data/ICPI_MER_Structured_Dataset_PSNU_20180323_v2_1.txt"
 df <- read_psd(path)
#identify data stream
 identify_psd(df_psnu) } # }