Scraping Instagram with R, with PHP

I’ve had reason lately to be collecting information regarding the sale of human remains online, in various places. One such is Instagram. Working with Instagram is not straightforward. One approach that I had been using was a package for R called ‘InstaR‘ by Pablo Barbera. It worked great, after some initial confusion on my part on how to get the damned thing to authenticate (which involves setting up an Instagram developer’s account, etc etc.). Then, in the middle of last year, Instagram changed its developer API rules *such that* the only data I could access with the api *was my … Continue reading Scraping Instagram with R, with PHP

Poem X

x i shall be across the plain when the sun was sinking but enough of the chain between my mother embraced me once before when she cut me short with a push   I fed King Solomon’s Mines into Ben’s markov chain generator that he’s been using as part of his class. This is what came out. I like it. Continue reading Poem X

Archaeogaming Unconference 2

POSTPONED! Due to a bug in our unconference platform (which prevents some people from accessing the breakout rooms) we’ll be postponing the unconference until February. Our apologies! We’ll do this on January 25th, 2017, between 9 am and 3 pm Eastern time. Watch this space for the proposed session topics. We will begin with some opening remarks. First session will then run from 9.10 – 9.50; second session 10.00 – 10.50; third session 11.00 – 11.50. In the afternoon we’ll reconvene at 1pm-1.50; final session will run 2.pm – 2.50. The hashtag on twitter will be #archaeogaming2. As always with … Continue reading Archaeogaming Unconference 2

networks-simulation-workshop-image

Workshop on Networks & Simulation for the Humanities – Nov 9, Discovery Centre Macodrum Library

Carleton University, Ottawa, Macodrum Library Discovery Centre RM 481, 11 – 2 Understanding the complexity of past and present societies is a challenge across the humanities. Simulation and network science provide computational tools for confronting these problems. This workshop will … Continue reading Workshop on Networks & Simulation for the Humanities – Nov 9, Discovery Centre Macodrum Library

Distantly Reading Digital Archaeology: Mobilizing the Past for a Digital Future

There’s a new volume on digital archaeology coming out via the Digital Press at the University of North Dakota, Mobilizing the Past for a Digital Future. Bill Caraher let me have an advance copy of it. Instead of reading it and writing a review, I thought I’d do a distant reading instead, as befits digital archaeology, and see what I found. I did my analysis in R, and wrote my results up in Rmd (R-markdown, that is, my written ruminations + actionable code, all in one file). I first did an exploratory top-down topic model, and then a bottom-up word … Continue reading Distantly Reading Digital Archaeology: Mobilizing the Past for a Digital Future

Still haven’t found what I’m looking for – but this might be closest

Ok. Maybe this is a good idea. Problem: You want your students to keep track of their research in an open notebook. You don’t want to faff with jekyll and anything too complicated. You don’t know what kinds of machines your students will have, so it’s got to be cross-platform. Perhaps a solution: Student creates a new folder on their machine called ‘open notebook’. Student downloads MDWiki (download link) Student unzips the mdwiki.html file into their ‘open notebook’ folder. Student renames mdwiki.html to index.html Student creates an ‘index.md’ file with whatever info they want displayed on the main page – … Continue reading Still haven’t found what I’m looking for – but this might be closest

Getting Data out of Open Context & Doing Useful Things With It: Coda

Previously, on tips to get stuff out of Open Context… In part 1, I showed you how to generate a list of URLs that you could then feed into `wget` to download information. In part 2, I showed you how to use `jq` and `jqplay` – via the amazing Matthew Lincoln, from whom I’ve learned whatever small things I know about the subject – to examine the data and to filter it for exactly what you want. Today – combining wget & jq Today, we use wget to pipe the material through jq to get the csv of your dreams. … Continue reading Getting Data out of Open Context & Doing Useful Things With It: Coda