gramener / eda Goto Github PK
View Code? Open in Web Editor NEWExploratory Data Analysis library for R
Exploratory Data Analysis library for R
data/samples/
directory with a sample.csv
and sample.xlsx
fileread_eda
for each file in the data/samples/
directory. Ensure that the file is read without errors and that the results have the correct number of rows, column and column nameseda_metadata
for each file in the data/samples/
directory. Compare the results against a pre-defined data structure stored as a separate file in the data/samples/
directory as sample.csv.meta.yaml
and sample.xslx.meta.yaml
. Use the attached meta.yaml
as a sampleStructure the API so that the following works:
install.packages('eda')
library(eda)
# metadata returns an RC class.
# See http://adv-r.had.co.nz/OO-essentials.html
meta = metadata('path-to-file.xlsx', ...)
# All top level meta variables should be available as attributes
# The variable name is the same as the label in lowercase, with space -> underscore
meta$filename
meta$description
meta$source
meta$format
meta$file_size
meta$encoding
meta$row_count
meta$column_count
meta$row_description
meta$sampling_method
meta$prepared_on
meta$modified_on
meta$prepared_by
# All column info must be as a DataFrame
meta$columns
# The library user should be able to change the above.
# For example, they may override a column type from boolean to discrete
# Also store the data
meta$data
# We run methods on this class
meta$save(path='path-to-file.xlsx', sheet='Sheetname', format='xlsx')
# Format can only be XLSX for now, i.e. ignore it. We can add it later
# Apply univariate analysis on the (potentially modified) metadata
# Return ann RC object
uni = univariate(meta)
# This can be saved
uni$save(path='path-to-file.xlsx', sheet='Sheetname', format='xlsx')
uni$saveplot(path='path-to-file.xlsx', sheet='Sheetname', format='xlsx')
# Format can only be XLSX for now, i.e. ignore it. We can add it later
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.