flyrod reads and writes file to Azure Data Lake Storage (Gen 1)
You can install flyrod with:
library(devtools)
install_github("alexhallam/flyrod")
This is a basic example which shows you how to solve a common problem:
library(flyrod)
library(dplyr)
library(readr)
# set token
set_adl_token(tenant = "abc123", client_id = "abc123", client_secret = "abc123")
# make dataframe
data(starwars)
s <- starwars %>%
select(name, mass, hair_color, skin_color, eye_color, gender, homeworld, species)
# write to adl
s %>% write_adl_delim(adl_file_path = "adl://analyticsadl01.azuredatalakestore.net/temp/all_flyrod_tests/starwars.csv", delim = "|")
# read from adl
df <- read_adl_delim(adl_file_path = "adl://analyticsadl01.azuredatalakestore.net/temp/all_flyrod_tests/starwars.csv", delim = "|")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.