Skip to content

Takes two overlapping files of temporal data and appends the first to the second, combining them to output one unified file.

Notifications You must be signed in to change notification settings

dawsonv/jappend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

jappend

Takes two overlapping files of temporal data and appends the first to the second, combining them to output one unified file. The delimiter doesn't matter, as long as the files use the same delimiter and formatting. Each observation should also be followed with a line break.

For instance, lets say you have two overlapping files of data from November and December: one with a date range from Nov. 19 - 29 and annother with a date range from Nov. 25 to Dec. 4, each in decending chronological order.

The files are then merged such that the output proceeds continuously from the first entry of the second file to the last entry of the first file without repeating observations.

The substring(int start, int end) method is used to make large comparisons faster. In the code, choose an initial value "a" and a final value "b" as indexes that are small enough to be within the bounds of all strings in secondFile, but large enough to encompass a unique set of characters.

About

Takes two overlapping files of temporal data and appends the first to the second, combining them to output one unified file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages