Cube Script Samples
**DEL /f /s /q "{SCENARIO_DIR}\{SCENARIO_SHORTNAME}_Cube.gdb"
**XCOPY "{CATALOG_DIR}\Application\EmptyCube.gdb" "{SCENARIO_DIR}\{SCENARIO_SHORTNAME}_Cube.gdb" /Y /E /I
cut -d, -f1-6
awk -F',' '{print NF }' top500_1.csv |sort |uniq -c
wc -l top500_1.csv
sed -n 1,2p -e 4p top500_1.csv
ls -lh
wget 'http://ftp2.census.gov/acs2012_5yr/pums/csv_hil.zip'
cat ak_od_main_JT01_2011.csv > LODES_National.csv
cat al_od_main_JT01_2011.csv | sed "1 d" >> LODES_National.csv
SELECT Find_SRID('public', '3_1_streets', 'geom');
shp2pgsql -I -s 4326 -W "latin1" "L:\st_w_name_st.shp" "__st_w_name_st" | psql -q -h gimli -U postgres -d esri_national_db
# In PILOT
**"C:\Program Files\R\R-3.1.0\bin\Rscript.exe" "C:\loc_of_R_File\test.R"
#In test. R
setwd("C:\\projects\\1_transfer_counts\\Base")
test <- head(iris)
write.csv(test, "iris.csv")