Learn R Programming

radiant.data (version 0.8.1)

loadcsv_url: Load a csv file with from a url

Description

Load a csv file with from a url

Usage

loadcsv_url(csv_url, header = TRUE, sep = ",", dec = ".", n_max = Inf,
  saf = TRUE, safx = 20)

Arguments

csv_url

URL for the csv file

header

Header in file (TRUE, FALSE)

sep

Use , (default) or ; or \t

dec

Decimal symbol. Use . (default) or ,

n_max

Maximum number of rows to read

saf

Convert character variables to factors if (1) there are less than 100 distinct values (2) there are X (see safx) more values than levels

safx

Values to levels ratio

Value

Data frame with (some) variables converted to factors