The Data Monkey

We want to share code and tips to make data programming much easier. Most of us work primarily in STATA but SAS, R and other languages might be used sporadically.

Friday, April 26, 2013

›
Noam Ross has a great overview of making code go faster in R here , although a lot of the ideas (such as pre-allocation) apply to every lang...
1 comment:
Thursday, March 14, 2013

Apply-style commands in R

›
Here's a quick table of what I think are the most useful apply-style commands in R: Function Input Output Best for apply Rectangular ...
4 comments:
Saturday, February 2, 2013

R scripts for analyzing survey data

›
Another site pops up with open code for analyzing public survey data: http://www.asdfree.com/ It will be interesting to see whether this ge...
3 comments:
Sunday, November 4, 2012

SAS-b-gon?

›
There have been some improvements in the way that R reads the arcane file format that is a native SAS file. Hopefully soon I will never ha...
Tuesday, October 16, 2012

NHIS with R

›
Here are handy code snippets and explanations to get you running on the NHIS. The same site has R code for the CPS and ARF . Please b...
1 comment:
Monday, October 15, 2012

Spreadsheet mayhem

›
I just chanced across a classic anti-spreadsheet screed (no monkey, not screech, screed!). See also the European Spreadsheet Risks Inter...
1 comment:
Tuesday, July 10, 2012

This is *huge*: SAScii package

›
http://blog.revolutionanalytics.com/2012/07/importing-public-data-with-sas-instructions-into-r.html Q: How do you make a hairless primate? ...
4 comments:
Tuesday, May 15, 2012

Cleaning data: Removing unwanted characters from large files

›
Hi all, On occasion I have to pull in data from poorly formatted sources, such as excel, access or text/comma/pipe deliminated files, etc....
4 comments:
Thursday, March 22, 2012

STATA access to World Bank data

›
Talk about bananas!  The World Bank has just published a new version of the wbopendata_module that gives STATA users direct access to a lot ...
1 comment:
Friday, March 16, 2012

Dates and times in R

›
Nothing looks funnier than a patchy simian. That's why we sighed a great sigh of relief when we spotted this article on the lubridate p...
1 comment:
Monday, February 20, 2012

STATA - loops for big-data

›
A user requested the following: "I've never read a Stata dta in a loop before. Can you give an example of how this would work? May...
4 comments:
Sunday, February 19, 2012

Reading huge files into R

›
SAS is much touted for its ability to read in huge datasets, and rightly so. However, that ability comes at a cost: for smaller datasets, s...
1 comment:
Friday, January 27, 2012

iMacros - webscraping

›
If you ever need to download a lot of data, use iMacros (http://wiki.imacros.net/Main_Page) Recently I wanted to download a large public d...
Tuesday, January 17, 2012

Download them *ALL*

›
Have a bunch of tasty, tasty bananas files you want to download? But they're stuck on a webpage? Get the Firefox web browser and add t...
Wednesday, November 2, 2011

Health economics datasets

›
"This Compendium of Health Datasets for Economists (ICoHDE) provides the largest collection of English specific datasets available for ...
2 comments:
›
Home
View web version

Contributors

  • Ari F.
  • The Data Monkey
  • Unknown
  • amd
Powered by Blogger.