writeData: Writes a file from a dataframe of climate data

Description Usage Arguments Details Value Author(s) Examples

View source: R/writeData.R

Description

A function that simply writes the data in a dataframe to the data directory. Typically this would be your master data file containing all stations and all data

Usage

1
writeData(Data, filename = "EnvCanadaData.dat", directory = DATA.DIRECTORY)

Arguments

Data

The data created by scraping and processing all the web page requests

filename

Default file name for your master data file

directory

Default directory for your data

Details

Function merely wraps a write.csv call and creates a data directory if you need one

Value

Side efffect is a file is written

Author(s)

Steven Mosher

Examples

1
2
3
4
 ## Not run: 
  writeData(data)
 
## End(Not run)

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