Reading data from microsoft access files in linux

March 28, 2007
By

(This article was first published on V. » R, and kindly contributed to R-bloggers)

Some of the Census 2001 data are in microsoft access files (having filename extensions .mdb). A microsoft access file can have several tables inside, each of which contains data. There is a software called mdbtools that can be used to read access files.

The command mdb-tables can be used to see the names of tables and the command mdb-export can be used to export access tables to csv files. Use and to see the manual pages.

If mdbtools is not installed on your machine you can use it from the server. Go to the server using ssh (ssh -X username@cespserv) and then extract the file using mdb-tables and mdb-export.

V.

To leave a comment for the author, please follow the link and comment on his blog: V. » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.