Learn R Programming

metsyn (version 0.1.2)

make_metsta: Creation of the 'metsta' dataset made of Meteo France Synop meteorogical stations

Description

The function make_metsta creates the metsta dataset from the file postesSynop.csv downloaded here. make_metsta looks for this file in the file.path(path, "data-raw") folder.

This dataset contains the following columns:

  • Id: WMO meteorological station id;

  • Name: name of the meteorological station;

  • Latitude, Longitude, Altitude: coordinates of the meteorological station.

Usage

make_metsta(path = ".", save_it = FALSE)

Arguments

path

character. Data once created are saved in the folder file.path(path, "data").

save_it

logical. If TRUE, the result is saved as an .RData file in the folder file.path(path, "data").

Value

Returns invisibly the tibble created, with 5 columns and 62 rows.

See Also

metsyn for the dataset containing Meteo France Synop data; metdes for the dataset which gives some descriptive information on metsyn.

Examples

Run this code
# NOT RUN {
dir.create("data-raw", showWarnings = FALSE)
make_metsta(save_it = TRUE)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab