This function reads the obsPack directory providing a summary for the columns: "value", "time", "time_decimal", "latitude" and "longitude". These summary are made by the columns "name", "sector", "site_name", "site_country", "type_altitude", "lab_1_abbr" and "site_utc2lst"
Usage
obs_table(
df,
cols = c("value", "time", "time_decimal", "latitude", "longitude")
)
Examples
{
# Do not run
obs <- system.file("data-raw", package = "rtorf")
index <- obs_summary(obs)
dt <- obs_read(index)
dx <- obs_table(dt)
}
#> Number of files of index: 1
#> sector N
#> <char> <int>
#> 1: flask 1
#> 2: Total sectors 1
#> Detected 0 files with agl
#> Detected 1 files without agl
#> Searching flask...
#> 1: ch4_aoa_aircraft-flask_19_allvalid.txt