Black | White | Hispanic | Overall | |
---|---|---|---|---|
1979 | . | . | . | . |
1980 | . | . | . | . |
1981 | . | . | . | . |
1982 | . | . | . | . |
1983 | 31.7 | 22.2 | 24.2 | 23.3 |
1984 | 29.1 | 20.5 | 22.8 | 21.5 |
Create a new user
sudo adduser --disabled-password newuser
Most users do not have passwords and instead use SSH keys for authentication. If you need to add or change a password, try
Download the 5540c drivers for CUPS duplex printing, from http://business.toshiba.com/usa/support/downloads.jsp?site=usa
cd /tmp
wget http://business.toshiba.com/downloads/KB/f1Ulds/14078/TOSHIBA_ColorMFP_CUPS.tar
Extract the files (they will be placed in /usr) and rename the .ppd file
cd /
sudo tar -xvf /tmp/TOSHIBA_ColorMFP_CUPS.tar
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
county | cbsa10 | cbsatype10 | cntyname | cbsaname10 | pop10 | afact | |
---|---|---|---|---|---|---|---|
county | cbsa10 | cbsatype10 | cntyname | 2010 CBSA Name | Total Pop, 2010 census | county to cbsatype10 alloc factor | |
1001 | 33860 | Metro | Autauga AL | Montgomery, AL Metropolitan Statistical Area | 54571 | 1 | |
1003 | 19300 | Metro | Baldwin AL | Daphne-Fairhope-Foley, AL Micropolitan Statistical Area | 182265 | 1 | |
1005 | 21640 | Micro | Barbour AL | Eufaula, AL-GA Micropolitan Statistical Area | 27457 | 1 | |
1007 | 13820 | Metro | Bibb AL | Birmingham-Hoover, AL Metropolitan Statistical Area | 22915 | 1 | |
1009 | 13820 | Metro | Blount AL | Birmingham-Hoover, AL Metropolitan Statistical Area | 57322 | 1 | |
1011 | 99999 | Bullock AL | 99999 | 10914 | 1 | ||
1013 | 99999 | Butler AL | 99999 | 20947 | 1 | ||
1015 | 11500 | Metro | Calhoun AL | Anniston-Oxford, AL Metropolitan Statistical Area | 118572 | 1 |
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
rm(list = ls()) | |
library(dplyr) | |
# first generate some fake data | |
mydata <- data.frame( | |
year=rep(2001:2020,each=12), | |
month=rep(1:12,times=20), | |
cpiw67=runif(20*12,0,2.5) | |
) | |
mydata <- mutate(mydata, |
reset the repo's local copy of the master to match the latest remote version (source)
git checkout master
git fetch
git reset --hard origin/master
List branches: git branch
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
setwd("/data/nlsy/data/raw/nlsy97_all_1997-2013") | |
head -n 1 nlsy97_all_1997-2013 > data.dat | |
read_delim("data.dat",delim=" ",) | |
read_delim("data.dat",delim=" ",col_types = cols(.default = col_integer())) | |
read_delim("data.dat",delim=" ",col_names=FALSE,col_types = cols(.default = col_integer())) | |
read_delim(pipe("cut -d \" \" -f1-8 data.dat"),delim=" ",col_names=FALSE,col_types = cols(.default = col_integer())) | |
newdata<-read_delim(pipe("cut -d \" \" -f1-10000 nlsy97_all_1997-2013.dat"),delim=" ",col_names=FALSE) |
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
library(dplyr) | |
# just used to simulate some data | |
library(purrr) | |
# create fake data | |
f <- function(x,i) { | |
return(data.frame(bout=x, element=i)) | |
} | |
fake_data <- map_dfr(1:4, ~map2_dfr(.x, 0:(round(runif(1)*10)+5), f)) %>% | |
mutate(invisible_id=ifelse(element==0,"bout","element")) %>% |
OlderNewer