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
// STATA CODE SNIPPET TO MAKE DUMMY VARIABLES FROM CATEGORICAL | |
// VARIABLES WHILE RETAINING VALUE LABELS | |
// Benjamin Skinner | |
// Vanderbilt University | |
// PURPOSE | |
// Sometimes we want dummy variables but instead have categorical |
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
################################################################################ | |
## | |
## COMBINE IPEDS DATASETS INTO A SINGLE WORKING DATASET | |
## Benjamin Skinner | |
## | |
################################################################################ | |
## PURPOSE | |
## The purpose of this file is automate the process of: |
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
################################################################################ | |
## | |
## Seating Assignment Randomizer | |
## Benjamin Skinner | |
## | |
################################################################################ | |
## This file randomizes seating assignment. It assumes that people are | |
## assigned to their seats sequentially: first through the door, first | |
## seat; second through the door, second seat...and so on. Every table |
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
################################################################################ | |
## | |
## CONVERT CSV MATRIX TO TEX FORMAT | |
## Benjamin Skinner | |
## | |
################################################################################ | |
## PURPOSE | |
## If you have a matrix that has been stored as as csv file, e.g., |
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
=begin | |
Tag to include markdown text from linked file (e.g. Github README.md) | |
Usage: | |
{% linkmarkdown <filename> %} | |
=end | |
require 'open-uri' | |
module Jekyll | |
class MarkdownTag < Liquid::Tag |
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
################################################################################ | |
## | |
## FILE: Download IPEDS files | |
## | |
################################################################################ | |
## clear | |
rm(list = ls()) | |
## read in files |
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
;; ----------------------------------------------------------------------------- | |
;; | |
;; [ FILE ] Emacs customization file | |
;; [ NAME ] .emacs | |
;; [ PATH ] ~/.emacs | |
;; [ AUTH ] Benjamin Skinner @btskinner | |
;; [ INIT ] 2 August 2017 | |
;; [ REVN ] 22 May 2021 | |
;; | |
;; ----------------------------------------------------------------------------- |
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
stfips | stabbr | stname | cenreg | cenregnm | cendiv | cendivnm | |
---|---|---|---|---|---|---|---|
1 | AL | Alabama | 3 | South | 6 | East South Central | |
2 | AK | Alaska | 4 | West | 9 | Pacific | |
4 | AZ | Arizona | 4 | West | 8 | Mountain | |
5 | AR | Arkansas | 3 | South | 7 | West South Central | |
6 | CA | California | 4 | West | 9 | Pacific | |
8 | CO | Colorado | 4 | West | 8 | Mountain | |
9 | CT | Connecticut | 1 | Northeast | 1 | New England | |
10 | DE | Delaware | 3 | South | 5 | South Atlantic | |
11 | DC | District of Columbia | 3 | South | 5 | South Atlantic |
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
################################################################################ | |
## | |
## FILE: cnty_unem_medinc_make.R | |
## AUTH: Benjamin Skinner | |
## INIT: 25 April 2016 | |
## | |
################################################################################ | |
## clear memory | |
rm(list = ls()) |
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
#!/bin/bash | |
# PURPOSE | |
# | |
# To fix {{...}} used by BibDesk that don't play well with Jekyll scholar. | |
# Replaces {{...}} with "{...}". This respects capitalization and corporation | |
# names in the author field, but doesn't break Jekyll scholar. | |
# | |
# USAGE | |
# |
OlderNewer