<commit_before>= DBF

DBF is a small fast library for reading dBase, xBase, Clipper and FoxPro database files.  It is written completely in Ruby and has no external dependencies.

Copyright (c) 2006-2008 <NAME> <<EMAIL>, www.infused.org>

* Official project page: http://rubyforge.org/projects/dbf
* API Documentation: http://dbf.rubyforge.org/docs
* To report bugs: http://www.rubyforge.org/tracker/?group_id=2009
* Questions: Email <EMAIL> and put DBF somewhere in the subject
  line

== Features

* No external dependencies
* Fields are type cast to the appropriate Ruby types
* Date/Time fields are returned as either a Time or Date object.  Date 
  will only be used if the date is out of range for Ruby's built in Time
  class.
* Ability to dump the database schema in the portable ActiveRecord::Schema
  format.

== Installation
  
  gem install dbf
  
== Basic Usage

  require 'rubygems'
  require 'dbf'

  table = DBF::Table.new("old_data.dbf")
  <commit_msg>Updating documentation<commit_after>= DBF

DBF is a small fast library for reading dBase, xBase, Clipper and FoxPro database files.  It is written completely in Ruby and has no external dependencies.

Copyright (c) 2006-2008 <NAME> <<EMAIL>, www.infused.org>

* Official project page: http://rubyforge.org/projects/dbf
* API Documentation: http://dbf.rubyforge.org/docs
* To report bugs: http://www.rubyforge.org/tracker/?group_id=2009
* Questions: Email <EMAIL> and put DBF somewhere in the subject
  line

== Features

* No external dependencies
* Fields are type cast to the appropriate Ruby types
* Ability to dump the database schema in the portable ActiveRecord::Schema
  format

== Installation
  
  gem install dbf
  
== Basic Usage

  require 'rubygems'
  require 'dbf'

  table = DBF::Table.new("widgets.dbf")
  
  # Tables are enumerable
  widget_ids = table.map { |row| row.id }
  abc_names = table.select { |row| row.name =~ /^[a-cA-C] }
  sorted = table.sort_by { |row| row.name }
  
{'fraction_non_alphanumeric': 0.09460834181078331, 'fraction_numerical': 0.012207527975584944, 'mean_word_length': 3.9298245614035086, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3538684', 'n_tokens_mistral': 647, 'n_tokens_neox': 599, 'n_words': 230}