writeInventory: Writes inventory data in a format usable by RghcnV3 package

Description Usage Arguments Details Value Author(s)

View source: R/writeInventory.R

Description

The RGhcnV3 package expects certain fields – Id, lat,lon in a specific order. This write function insures the data is read in a compatible manner with that package

Usage

1
writeInventory(Inventory, filename = "Inventory.inv", directory = DATA.DIRECTORY)

Arguments

Inventory

A inventory of stations

filename

A default name

directory

the default data directory

Details

the function merely reorders the columns so that id is in the first column followed by latitude, and longitude

Value

The side effect is writing a file

Author(s)

Steven Mosher


CHCN documentation built on May 2, 2019, 8:53 a.m.