Skip to content

Henrik Sejersen

The Best Vision Is Insight

  • About Me
  • Projects
  • Publications
  • Contact Me

Category: Data Management

This section is all about handling data

Parsing Huge XML Files

Parsing Huge XML Files Incrementally

This post presents a Python script for parsing huge XML files incrementally. The purpose of the script is to convert XML tables to delimited text files. I searched online for …

2019-11-27 Henrik Sejersen
Extracting Metadata

Extracting Metadata from Data Files

This post is about extracting metadata from data files created by Stata, SAS, and SPSS. The extraction is based on available features in the statistical software applications. Background The data …

2017-02-26 Henrik Sejersen
Recover Data Records

How to Recover Data Records with Vimscript

This post shows how to recover records from fixed-format data files without end of line characters to indicate the end of a record. The record length must be read somehow, …

2015-12-23 Henrik Sejersen
Fixed-Format Data

Fix Fixed-Format Data with Vimscript

The main purpose of this post is to share an example on how I use Vimscript to fix fixed-format data. However, I would like to start with a short “need …

2015-12-23 Henrik Sejersen
WordPress Theme: Napoli by ThemeZee.