php

Data collection on Mechanical Turk

I got together with a couple of my co-workers at the RAND Corporation and we did a study on Mechanical Turk. It got accepted on the Society for Research on Nicotine and Tobacco Annual Meeting (2015).

What: Consumer Perceptions of E-cigarettes: A comparison of Smokers and Non-Smokers in a Mechanical Turk Sample

Tools: Custom made data collection tool using PHP Symfony, Doctrine on MySQL, and Python/boto for automating the payments and HIT publishing.

PHP Stata Extension

After a long hiatus and a move to the US I finally had time to update my blog. I created a nice piece of code, a PHP Extension. This extension lets you read and write Stata files directly on your php code and at very good speeds. It still needs optimization but it is a very useful piece of code, specially for sites that deal with economics or social science data sets. You can get the code from my Github repository. https://github.com/maplechori

Mongo is fresh air

These past months I have been working for a client based in NY and we have been developing a CMS platform. The interesting part is the database we have used has been Mongo. What a breath of fresh air! No more having to go to phpmysqladmin to recreate or drop tables, alter them, you just code and change the database as you go along. Your database just works.

Subscribe to RSS - php