identify_psd: Identify PSD Data Stream and Level

View source: R/identify_psd.R

identify_psdR Documentation

Identify PSD Data Stream and Level

Description

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.

Usage

identify_psd(df)

Arguments

df

PSD dataframe

Value

character, PSD data stream and the level

Examples

## Not run: 
#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) 
## End(Not run)

USAID-OHA-SI/gophr documentation built on Nov. 14, 2024, 8:30 p.m.