Skip to content

Commit

Permalink
Merge pull request #33 from worldbank/dev
Browse files Browse the repository at this point in the history
Merging Apr 19 material
  • Loading branch information
luizaandrade authored May 6, 2019
2 parents 4e3615b + 6a09d51 commit 15f7062
Show file tree
Hide file tree
Showing 56 changed files with 1,344 additions and 1,613 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@
*.cpg
*.prj
*.shp
*.pdf

!Presentations/img/*
*.pdf
20 changes: 20 additions & 0 deletions Admin/Session to-dos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Before a session:
- [ ] Print and bring list of participants
- Prepare flash drives
- [ ] Send an email to participants
- Share the presentation and data with participants
- Remind eveyone to bring a computer with R and RStudio attached
- Send the data and presentation, and GitHub repo link
- Remind everyone of date and time
- Share WebEx link
- [ ] Get to the room half an hour before the sessoin
- Connect to Webex
- Check that VC's working
- Bring a clicker

After a session:
- [ ] Send an email to participants
- Share the presentation
- Remind them to sign up for next session
- [ ] Input names into OLC
- Check on WebEx who connected
49 changes: 49 additions & 0 deletions DataWork/Code/Lab 2 - Intro II.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# ------------------------------------------------------------------------------ #
# #
# DIME Analytics #
# Introduction to R for Stata users #
# MASTER SCRIPT #
# #
# ------------------------------------------------------------------------------ #

# PURPOSE: Set-up configurations and run scripts that are part of DIME's R
# Training

# NOTES: Version 4

# WRITTEN BY: Luiza Cardoso de Andrade, Robert A. Marty, Leonardo Viotti

# Last modified in April 2019


# PART 1: Load packages


# PART 2: Set folder folder paths

#-------------#
# Root folder #
#-------------#

# Add your username and folder path here
projectFolder <- "YOUR/FOLDER/PATH/HERE"

#--------------------#
# Project subfolders #
#--------------------#

dataWorkFolder <- file.path(projectFolder,"DataWork")

Data <- file.path(dataWorkFolder,"DataSets")
rawData <- file.path(Data,"Raw")
intData <- file.path(Data,"Intermediate")
finalData <- file.path(Data,"Final")
Code <- file.path(dataWorkFolder,"Code")
Doc <- file.path(dataWorkFolder,"Documentation")
Output <- file.path(dataWorkFolder,"Output")
rawOutput <- file.path(Output,"Raw")
finalOutput <- file.path(Output,"Final")


# PART 3: Load data

59 changes: 0 additions & 59 deletions DataWork/Code/Lab 4 - Coding for Reproducible Research.R

This file was deleted.

248 changes: 0 additions & 248 deletions DataWork/Code/Lab 5 - Spatial Data.R

This file was deleted.

Binary file added DataWork/DataSets/Final/gadm36_KEN_1_sp.rds
Binary file not shown.
Binary file added DataWork/DataSets/Final/troads.dbf
Binary file not shown.
1 change: 1 addition & 0 deletions DataWork/DataSets/Final/troads.prj
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PROJCS["UTM_Zone_30_Northern_Hemisphere",GEOGCS["GCS_Clarke 1880 mod.",DATUM["D_unknown",SPHEROID["clrk80",6378249.145,293.4663]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-3],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]]
Binary file added DataWork/DataSets/Final/troads.shp
Binary file not shown.
Binary file added DataWork/DataSets/Final/troads.shx
Binary file not shown.
1 change: 1 addition & 0 deletions DataWork/DataSets/Final/wb_projects.csv

Large diffs are not rendered by default.

Binary file added DataWork/DataSets/Final/whr_panel.Rda
Binary file not shown.
Loading

0 comments on commit 15f7062

Please sign in to comment.