Code Monkey home page Code Monkey logo

caa2019_fieldwalkr's Introduction

Gorram shiny! An accessible interface for reproducible landscape archaeology with R and fieldwalkr

Joe Roe <[email protected]>
Centre for the Study of Early Agricultural Societies, University of Copenhagen

This is the source repository for slides presented at CAA 2019, Kraków, 23–27 April. The slides are an interactive RMarkdown document using ioslides and shiny widgets. You can view a live version at https://joeroe.shinyapps.io/caa2019_fieldwalkr/. Alternatively, the slides can be run locally using RStudio; see instructions below.

Abstract

Reproducibility is one of the driving concerns behind the recent adoption of R as an archaeological tool. However, the computational skills needed to actually conduct reproducible research in R are a "rarity" amongst archaeologists (Marwick 2017). Moreover, computational reproducibility comes only at the very end of the research process. Computational archaeologists are therefore presented with two challenges. How can we take reproducibility beyond our computers and into the field? And how can we get our tools into the hands of non-specialists? I will demonstrate a new package which I hope makes progress on both these problems. fieldwalkr (https://github.com/joeroe/fieldwalkr) is an R package for spatial sampling and survey simulation. It includes tools for simulating the effect of different sample frames, sampling strategies and detection functions on the estimation of spatial point patterns. It promotes reproducible field research by facilitating more informed and statistically rigorous survey designs, and as a framework for the theoretical analysis of sampling effects. In this paper, I will focus particularly on the development of a graphical user interface for the package. Built using shiny, this alternative interface makes the package more accessible to a wider range of users. At the same time, the core benefits of a scripted tool are maintained by running fieldwalkr 'under the hood'. I will suggest that developing tools that are as accessible to as many other researchers as possible is the most impactful contribution computational specialists can make to improving the reproducibility of archaeological research as a whole.

Run slides locally via RStudio

To view the slides locally, you will first need to clone or download this repository, and make you have all the following packages are installed:

# fieldwalkr package
devtools::install_github("joeroe/fieldwalkr")

# CRAN dependencies
install.packages(c("tidyverse", "magrittr", "sf", "maptools", "RandomFields", "RandomFieldsUtils", "spatstat"))

Then simply open caa2019_fieldwalkr.Rmd in RStudio and click "Run Presentation" above the editing window. RStudio will knit the document and start a local server to view it.

caa2019_fieldwalkr's People

Contributors

joeroe avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.