Last active
May 17, 2016 21:05
-
-
Save joaovissoci/fda1deb7f27c6d1f73cb to your computer and use it in GitHub Desktop.
r_analytical_template.R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################# | |
#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