Description Usage Arguments Value Examples
View source: R/write_adl_delim.R
Read a delim from Azure Data Lake given a path to the file. 'set_adl_token()' must be run before any file may be read.
1 | write_adl_delim(df, adl_file_path, delim)
|
df |
A dataframe to send to Azure _Required parameter._ |
adl_file_path |
A string representing the adl file path. _Required parameter._ |
delim |
A separator _Required parameter._ |
a httr message. the 201 message represents a successful write
1 2 3 4 5 6 7 8 9 10 11 12 | set_adl_token(tenant = "abc123", client_id = "abc123", client_secret = "abc123")
Day_of_week_str <- c("Monday", "Tuesday",
"Wednesday", "Thursday", "Friday", "Saturday", "Sunday")
Day_of_week <- c(0, 1, 2, 3, 4, 5, 6)
df <- data.frame(Day_of_week_str, Day_of_week)
write_adl_delim(df = test_df,
adl_file_path = "adl://<storename>.azuredatalakestore.net/path/to/file.csv",
delim = "|")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.