Skip to content

Instantly share code, notes, and snippets.

@joaovissoci
Last active May 17, 2016 21:05
Show Gist options
  • Save joaovissoci/fda1deb7f27c6d1f73cb to your computer and use it in GitHub Desktop.
Save joaovissoci/fda1deb7f27c6d1f73cb to your computer and use it in GitHub Desktop.
r_analytical_template.R
#################################################################
#IHD GEO EPI - BRAZIL
#################################################################
#
#
#
#
#
#################################################################
#SETTING ENVIRONMENT
#################################################################
#All packages must be installes with install.packages() function
lapply(c(""),
library, character.only=T)
#################################################################
#IMPORTING DATA
#################################################################
#LOADING DATA FROM A .CSV FILE
data<-read.csv("/Users/rpietro/Desktop/MDD_BIPD_Baseline.csv",sep=",")
#information between " " are the path to the directory in your computer where the data is stored
#Import data from Dropbox, in .csv format
#Instructions here http://goo.gl/Ofa7gQ
#data1 <- repmis::source_DropboxData(".csv",
# "",
# sep = ",",
# header = TRUE)
#############################################################################
#DATA MANAGEMENT
#############################################################################
#############################################################################
#BASIC DESCRIPTIVES and EXPLORATORY ANALYSIS
#############################################################################
##############################################################################
#END
##############################################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment