Skip to main content
100%

A little bit of JavaScript that helps setup a box on ScraperWiki for tools inside that box

✓ Published0🌍 Public
IIanHopkinson
Last edited Aug 20, 2013
Created on Aug 20, 2013

This example shows how to automate the setup of a tool environment on ScraperWiki by writing a dataset URL to a file and launching an installation script. The code uses ScraperWiki’s `scraperwiki.exec` and `scraperwiki.readSettings` APIs to run shell commands, while jQuery’s `$(function(){})` triggers the two setup functions on page load. It writes the target URL into `~/tool/dataset_url.txt` and runs `run-one tool/runonce.R` with logging to `tool/log.txt`. No data source or rendering is involved; the focus is purely on command-line orchestration within ScraperWiki’s execution context.

AI-generated description

Similar vizzes