get_file_csv: Get csv format file

Description Usage Arguments Value Examples

View source: R/get-file.R

Description

Get csv format file

Usage

1
2
get_file_csv(url, path = NULL, col_names = TRUE, col_types = NULL,
  silent = TRUE)

Arguments

url

the url of the file

path

the directory where the file should be save, if NULL it will not save

silient

whether or not silent message

Value

it returns a data frame read from the csv file

Examples

1
data <- get_file_csv("http://www.chp.gov.hk/files/misc/statistics-2017-vss-eng.csv")

XiangdongGu/hkdata documentation built on Aug. 3, 2019, 6:18 p.m.