process_gga: Process NMEA-0183 G*GGA messages

View source: R/GPS_data.R

process_ggaR Documentation

Process NMEA-0183 G*GGA messages

Description

This function pulls out position fix data from NMEA-0183 G*GGA strings and dumps it into a list.

Usage

process_gga(string = NULL)

Arguments

string

A string with valid NMEA-0183 G*GGA structure.

Value

A list containing the data elements recorded in NMEA-0183 G*GGA data chunks. Elements are given appropriate R data types.

Examples

# first GPGGA msg from data('n38_demo')
msg_1   <- "$GPGGA,015808.00,2726.53758,S,15126.05255,E,1,08,1.0,365.1,M,39.5,M,,*79"
gpgga_1 <- em38:::process_gga(string = msg_1)

obrl-soil/em38 documentation built on Sept. 25, 2023, 10:01 p.m.