Skip to content

Commit

Permalink
Merge pull request #47 from worldbank/r-training-Nov-2020
Browse files Browse the repository at this point in the history
R training nov 2020
  • Loading branch information
luizaandrade authored Dec 16, 2020
2 parents 05fec0c + b5597f5 commit 0222ff7
Show file tree
Hide file tree
Showing 128 changed files with 30,437 additions and 47,848 deletions.
78 changes: 55 additions & 23 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,55 @@
*Data/*
*.do
*.Rhistory
*.xlsx
*.log
*.out
*.snm
*.nav
*.toc
*.md
*.vrb
*.aux
*.png
*.DS_Store
*.csv
*.dbf
*.cpg
*.prj
*.shp
*.pdf

!Presentations/img/*
*.pdf
########################################################################
#
# Based on DIME .gitignore template. Follow the instructions in the URL
# below to set up this template in your own repository
# https://github.com/worldbank/dime-github-trainings/tree/master/GitHub-resources/DIME-GitHub-Templates
#
# Note that if you are using GitKraken, you need to use version 5.x or more
# recent for this template to work properly
#
########################################################################

#######################
# Start by ignoring everything, and below we are explicitly saying
# what to not ignore
*

#######################
# List of files with GitHub functionality anywhere in the repo
# that we do not want to ignore

# These files include GitHub settings
!.gitignore
!.gitattributes

# Keep markdown files used for documentation on GitHub
!README.md
!CONTRIBUTING.md
!LICENSE*

#######################
# For performance reasons, if a folder is already ignored, then
# GitHub does not check the content for that folder for matches
# with additional rules. The line below includes folder in the
# top folder (but not their content), so that anything matching
# the rules below will still not be ignored.
!*/

#######################
# The following file types are code that should always be
# included no matter where in the repository folder they are
# located unless you explicitly ignore that folder

# R
!/**/*.R
!/**/*.Rmd
!/**/*.Rproj

# CSS and other libraries for presentations
!/**/*.css
!/**/*.js
!Presentations/img/**
!Presentations/libs/**/**

# Markdown
!/**/*.md
20 changes: 0 additions & 20 deletions Admin/Session to-dos.md

This file was deleted.

14 changes: 8 additions & 6 deletions DataWork/Code/Lab 2 - Intro II.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,25 @@
# PURPOSE: Set-up configurations and run scripts that are part of DIME's R
# Training

# NOTES: Version 4
# NOTES: Version 5

# WRITTEN BY: Luiza Cardoso de Andrade, Robert A. Marty, Leonardo Viotti
# MODIFIED BY: Luis Eduardo San Martin

# Last modified in April 2019
# Last modified in November 2020


# PART 1: Load packages
# PART 1: Load packages


# PART 2: Set folder folder paths
# PART 2: Set folder folder paths

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

# Add your username and folder path here
# Add your folder path here
# Remember to replace backslashes ("\") with regular ones ("/")
projectFolder <- "YOUR/FOLDER/PATH/HERE"

#--------------------#
Expand All @@ -46,4 +48,4 @@


# PART 3: Load data

Binary file added DataWork/DataSets/Final/census.RDS
Binary file not shown.
Binary file removed DataWork/DataSets/Final/gadm36_KEN_1_sp.rds
Binary file not shown.
Binary file removed DataWork/DataSets/Final/troads.dbf
Binary file not shown.
1 change: 0 additions & 1 deletion DataWork/DataSets/Final/troads.prj

This file was deleted.

Binary file removed DataWork/DataSets/Final/troads.shp
Binary file not shown.
Binary file removed DataWork/DataSets/Final/troads.shx
Binary file not shown.
Binary file added DataWork/DataSets/Final/whr_panel.Rds
Binary file not shown.
942 changes: 471 additions & 471 deletions DataWork/DataSets/Final/whr_panel.csv

Large diffs are not rendered by default.

Binary file not shown.
7,351 changes: 0 additions & 7,351 deletions DataWork/DataSets/Raw/UN stats yearbook/T02_Pop.csv

This file was deleted.

1,862 changes: 0 additions & 1,862 deletions DataWork/DataSets/Raw/UN stats yearbook/T05_parliament.csv

This file was deleted.

8,164 changes: 0 additions & 8,164 deletions DataWork/DataSets/Raw/UN stats yearbook/T07_Education.csv

This file was deleted.

4,097 changes: 0 additions & 4,097 deletions DataWork/DataSets/Raw/UN stats yearbook/T08_Teachers.csv

This file was deleted.

3,758 changes: 0 additions & 3,758 deletions DataWork/DataSets/Raw/UN stats yearbook/T10_Health_Personnel.csv

This file was deleted.

2,226 changes: 0 additions & 2,226 deletions DataWork/DataSets/Raw/UN stats yearbook/T11_HealthExpend.csv

This file was deleted.

3,395 changes: 0 additions & 3,395 deletions DataWork/DataSets/Raw/UN stats yearbook/T12_Crime.csv

This file was deleted.

1,869 changes: 0 additions & 1,869 deletions DataWork/DataSets/Raw/UN stats yearbook/T13_Gdp.csv

This file was deleted.

5,533 changes: 0 additions & 5,533 deletions DataWork/DataSets/Raw/UN stats yearbook/T17_Unemployme.csv

This file was deleted.

1,556 changes: 0 additions & 1,556 deletions DataWork/DataSets/Raw/UN stats yearbook/T29_Internet.csv

This file was deleted.

115 changes: 0 additions & 115 deletions DataWork/DataSets/Raw/UN stats yearbook/draft.R

This file was deleted.

Binary file removed DataWork/DataSets/Raw/Un WHR/DG1__DS_DIR_HDR
Binary file not shown.
Loading

0 comments on commit 0222ff7

Please sign in to comment.