Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.
/ JARCID Public archive

Just A Rather Cool and Informative Dashboard for the OpenStreetMap crowdsourcing project

Notifications You must be signed in to change notification settings

Monduiz/JARCID

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JARCID

An automated version of JARCID.

Just A Rather Cool and Informative Dashboard to keep track of buildings in Ottawa and Gatineau with OpenStreetMap.

This is actually more than a dashboard: it is an automated analysis of OpenStreetMap data and a data product with R and RStudio. JARCID downloads provincial osm extracts, creates time stamps, subsets to cities then to buildings, analyses the data to produce desired estimates, creates maps and assembles everything into a dashboard to report. It requires no intervention. It is intended to run monthly but can be run at any time as the code allows for any inputs and will always look for the last entry.

JARCID could be changed to track anything in OSM and can also iteratively build a database.

This was developed to produce a time series from OSM data and monitor changes for the OSM Crowdsourcing buildings project at Statistics Canada.

Dependencies

Osmosis is used to process osm data in the first phase. Installation instructions can be found here.

JARCID is an R application using R code and R markdown. Get R from CRAN here. RStudio is an interface to R and so much more. It provides a complete environment for R and other tools: RStudio.

JARCID requires that some packages be installed but the code takes of care of that so there is no need to install them one by one.

Instructions

JARCID will need an initial dataset to get started. A first run version will be updated in the repository to create the first dataset and the first map. After the first run, JARCID can take over every month. I will add instructions on how to adapt for different cities.

JARCIC should be cloned in a "Projects" directory. I will make these instructions clearer.

JARCID sends commands to the terminal and Windows shell so there are two versions depending on the operating system.

The application is written in R: the file index.Rmd. Rmd is for "R markdown". Markdownis a light weight markup language in plain text created by John Gruber that can be converted to many formats. R markdown, is an R implementation of markdown. It is now a major framework to create reproducbile research and documentation in data science. More than that, it integrates the full spectrum from data collection and input to data product.

Running manually

open index.Rmd in RStudio. Click "Knit". Jarcid requires about 2 hours depending on the environment.

Running automatically

This depends on which OS version is used. The easy way is to install the packages cronR (macOS) or taskscheduleR (Windows). Then, by clicking the "Addins" button in RStudio, you will have access to the automation functions. It is recommmended to pick the monthly setting.

To automate the "knitting" process of JARCID, a script should be given to taskscheduleR or cronR instead of the Rmd file

About

Just A Rather Cool and Informative Dashboard for the OpenStreetMap crowdsourcing project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages