isd_file_name_local: Function to build local file name from ISD data file URL.

View source: R/isd_file_name_local.R

isd_file_name_localR Documentation

Function to build local file name from ISD data file URL.

Description

Function to build local file name from ISD data file URL.

Usage

isd_file_name_local(file, directory = NA, extension = "rds")

Arguments

file

Vector of remote ISD data file URLs.

directory

Directory to add to file name (optional).

extension

File type extension to append.

Value

fs path.

Author(s)

Stuart K. Grange

Examples


isd_file_name_local(
  "https://www.ncei.noaa.gov/data/global-hourly/access/2018/11290099999.csv"
)

isd_file_name_local(
  "https://www.ncei.noaa.gov/data/global-hourly/access/2018/11290099999.csv",
  directory = "~/Desktop"
)


skgrange/isdr documentation built on June 25, 2022, 6:21 a.m.