This package provides with enhenced versions of the five major functions studied in the R introduction course of the Data Science for business graduate degree of Ecole Polytechnique
function that reads all the csv files in a directory and outputs them in a list of data.frame:
library(coursefunctions) csv_reader("../data-raw")
reads alls the sheets of an ecxel document and retruns them in a list of data.frame
library(coursefunctions) xlsx_reader("../data-raw/test.xlsx")
draws the number of babies born with a specific name and sex in a France between 1900 and 2015
library(coursefunctions) draw_name("Antoine", "M")
same thing with multiple names
library(coursefunctions) draw_multiple_name(c("Antoine", "Marie"))
saves a csv after verifying the parameters
library(coursefunctions) df <- read.csv2("../data-raw/titanic_test.csv") save_as_csv(df, "../data-raw/titanic_test2.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.