CHCN (version 1.5)

writeData: Writes a file from a dataframe of climate data

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

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

Value

Details

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

Examples

Run this code
 ## Not run: 
#   writeData(data)
#  ## End(Not run)

Run the code above in your browser using DataLab