Changes

Jump to navigation Jump to search
no edit summary
**--min_points overwrites <code>MIN_POINTS_PER_CIRCLE</code>
**--infile: Path to large master file, e.g. CirclesTestData.txt
**--split-out overwrites <code>DATA_DIRECTORY</code>
**--out overwrites <code>OUTPUT_DIRECTORY</code>
**--split-out overwrites <code>DATA_DIRECTORY</code>
**--report overwrites <code>REPORT_DIRECTORY</code>
*What it does
*Command Line Arguments*Called with two command line arguments, the input path and the output path**Calculates points and circles for input and writes it to output ==== outjoiner.py ==== *What it does **Using a given output directory, generates three files: circles.tsv, points.tsv, and summary.tsv, and stores them in a given reports directory
==== DATA_DIRECTORY ====
*The format of the filenames in this directory are <code>{city}{sep}{state}{sep}{year}{sep}{num}.tsv</code> where <code>num</code> is a 0-indexed integer of a split city/state/year <code>infile</code> that has greater than <code>SPLIT_THRESHOLD</code>.
*These are files created when vc_circles.py splits up a master file.
==== OUTPUT_DIRECTORY====
*The format of the filenames in this directory are <code>{city}{sep}{state}{sep}{year}{sep}{num}.tsv</code> where <code>num</code> is a 0-indexed integer of a split city/state/year <code>infile</code> that has greater than <code>SPLIT_THRESHOLD</code>.
*These are files created when circles.py processes a file from DATA_DIRECTORY.
==== REPORT_DIRECTORY====
*There are three files in this directory: circles.tsv, points.tsv, and summary.tsv.
=== Example Usage ===
<code>placestate, place, statecode, year, latitude, longitude, coname, datefirstinv, placens, geoid, city</code>
This command will populate (and overwrite) any files in <code>data/</code> and , <code>reportsout/</code>. The format of the filenames in this directory are , and <code>{city}{sep}{state}{sep}{year}{sep}{num}.tsv<reports/code> where <code>num</code> is a 0-indexed integer of a split city/state/year <code>infile</code> that has greater than <code>SPLIT_THRESHOLD</code>.
== Bugs/Issues ==
# How to separate outliers?
== Plotting Circles Makeshift way to plot circles ==
# Connect to database with command <code>psql -U postgres arc</code>
# password is tabspaceenter I think
226

edits

Navigation menu