Projects
This space will contain references to work that I am allowed to share.
matlab_mongodb |
On GitHub I shared a set of MATLAB functions that show how to use MongoDB databases in the MATLAB environment with the MongoDB java driver. The examples show how to fill a collection (a broader concept than a table in the relational data model) from an Excel sheet and how to do queries and MapReduce operations on such a collection. |
knitr_matlab_stata |
Also on GitHub I shared an extension to knitr. knitr is an application in R that enables integration of R code into e.g. LaTeX. Engines for some other languages (e.g. Python) are available but those for MATLAB and Stata were lacking and therefore created by me. The repository contains the code for these engines and gives an elaborate example that shows how to work with knitr in general and how to use the engines in particular. Included are the input file in rnw-format and other inputs together with the resulting pdf-file. |
matlab_publish_latex |
This repository is an extension for the MATLAB publish functionality for LaTeX. It offers with its additional parameters the possibility
and to insert with simple additions to the m-file captions and references to plots. Examples of the tex-files that are created and the resulting pdf-files are included. |
matlab_wordserver |
This repository contains a MATLAB class that can be used to create and update Microsoft Word documents. It is an extension of wordreport by Laurent Vaylet with some extra functionality:
An extended example is also included in the repository with the document that it creates |
rmd_pdf_examples |
This GitHub repository shows how to create pdf-files with the aid of RMarkdown. RMarkdown code makes use of knitr to execute chunks of R-code and combine those with a layout. The specification of the layout is much easier with RMarkdown (format rmd) than with LaTeX (format rnw). The repository contains a number of examples. In the simplest one no use of LaTeX is made and that file can, with almost no changes, as easily be converted to html or docx format as to the pdf format. In the examples that make more use of LaTeX this is no longer the case but the functionality increases a lot (and is still easier to write than LaTeX) : other page layouts, colors, references and captions to figures and tables and bibliographies become possible. |
misc_hoqc |
This GitHub repository contains items mainly related to geographical information. Further experiments will be included when they could be of interest to others. For the moment the items are:
|
R package odataR |
In misc_hoqc it was shown how CBS data could be retrieved with the OData protocol. The R package odataR contains the code that was used. After installation of the package one line of R code suffices to convert a CBS table (optionally with selected rows and columns) to a data.frame. (This package is based on JSON. An older version based on XML can be found in R package odataR_old ) Also included is a pdf document that describes how a CBS document can be read into the MATLAB environment. |