I hereby claim:
- I am cabiling on github.
- I am ccabiling (https://keybase.io/ccabiling) on keybase.
- I have a public key ASDZTll7m6ekebMhaxWusmdF-EJcF5ITb-0oANRHBN6enwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# usage ./create-psql-database DATABASE | |
# | |
DB_NAME=$1 | |
FOLDER_NAME="nhgis0004" | |
# Drop and recreate database | |
dropdb --interactive "${DB_NAME}" | |
createdb --encoding UTF8 $DB_NAME |
# Here are a few methods for getting text from PDF files. Do read through | |
# the instructions carefully! NOte that this code is written for Windows 7, | |
# slight adjustments may be needed for other OSs | |
# Tell R what folder contains your 1000s of PDFs | |
dest <- "G:/somehere/with/many/PDFs" | |
# make a vector of PDF file names | |
myfiles <- list.files(path = dest, pattern = "pdf", full.names = TRUE) |
##Installation information for R with GTK+
###Windows Install the newest version of R. Additionally, I highly recommend R-Studio for working with R regularly (but the basic command line will work just fine for most applications). Once R is installed, you can install GTK directly from within R (details below). In short:
RGtk2
package by running: install.packages("RGtk2", depen=T)
package ‘RGtk2’ is not available (for R version xxx)
if your version of R has been released very recently. If so, just run install.packages("RGtk2", depen=T, type="source")
instead to install the RGtk2
package directly from its source code (this might take a few mi