GithubHelp home page GithubHelp logo

iamgabeortiz / analytic_templates Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 208 KB

A collection of folders and templates intended to provide structure and rapid prototyping for analytic projects using languages such as Python, R, SAS, SPSS, etc.

analytic_templates's Introduction

Project Description

A collection of folders and templates intended to provide structure and rapid prototyping for analytic projects using languages such as Python, R, SAS, SPSS, etc.

As of today (2014-05-11), this project is far from complete. R and SQL are my primary (and preferred) development platforms, thus most of the templates target these two languages. But, I would like to include templates for ANY language used for analysis. I will try to add a similar SAS project template by the end of the summer as I become more familiar with this widely used albeit restrictive language.

Organization

The Analytic Templates project is divided up into six parts.

  • config
  • file_templates
  • project_templates
  • snippets
  • style_guides

Over time, each of these folders will become populated with language specific folders such as R, Python, SQL, etc.

config

Documents best practices for system configuration. This includes Emacs / Vim integration, Git, etc. Installation instructions and platform-specific gothas would also be appropriate.

file_tempaltes

Collection of language-specific file templates. Each template will target a specific task or analytic process and will assume you are using the corresponding project template. A file template is different from the project template in one very importany way. While the project templates will provide broad structure for an entire project, a file template will provide specific structure and boilerplate for a specific part of a project.

Example:

Most analysis projects result in some sort of output or report. Thus, there is a standard folder in the R project template called "reports/". However, I do NOT want to dictate or control what these reports should look like. Many of my projects result in reports in the form of Excel files or LaTeX files. Others may prefer to use Knitr, or they may just produce a CSV file. Any / all of these are reports and they are valid outputs of an analysis. Thus, there should be example templates for each of these methods to assist the user. All R projects should have a reports folder, but they should NOT require the user to enjoy using LaTeX.

project_templates

A collection of language-specific analytic project templates. The goal of a project template is to provide a common setup and configuration for analysis projects.

Example:

I always store data in a folder called data. I always store SQL queries in a folder called sql. In each of these folders I place a README.md file to document the files in the that folder. Reproducing this common boilerplate was time consuming and the inevitable small differences I introduced over time were annoying. From that frustration, this project was born.

snippets

Collection of useful, documented code snippets that demonstrate how to do a specific task. This part of the repo is nearly empty.

style_guides

Collection of language-specific style guides. I have not yet started this part of the project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.