Learn R Programming

MetFns (version 2.1.0)

read.magn: Read magnitude data

Description

Reads magnitude data from IMO site or saved file.

Usage

read.magn(data)

Arguments

data
the name of the file or connection to read from.

Value

A data frame containing a representation of the data in the file.

Details

Argument data represents path to the file to be opened or a complete URL.

References

http://www.imo.net/data/visual

See Also

read.rate

Examples

Run this code
## read magnitude data for the year 2011 from IMO site
read.magn("http://www.imo.net/files/data/vmdb/MAGN_11.TXT")

Run the code above in your browser using DataLab