Skip to content

Instantly share code, notes, and snippets.

@leebyron
Created March 7, 2011 01:10
Show Gist options
  • Save leebyron/857933 to your computer and use it in GitHub Desktop.
Save leebyron/857933 to your computer and use it in GitHub Desktop.
String make = columns[0];
int id = int(columns[4]);
String model = columns[1];
int year = int(columns[2]);
String trim = columns[5];
int trade_in_value_excellent = 0;
int trade_in_value_good = 0;
int trade_in_value_fair = 0;
int private_party_value_excellent = 0;
int private_party_value_good = 0;
int private_party_value_fair = 0;
int retail_value = 0;
int certified_pre_owned = 0;
float rating = 0;
int mileage = 0;
int city_mpg = 0;
int hwy_mpg = 0;
String engine = "";
int engine_cylinders = 0;
float engine_size = 0;
String transmission = "";
String transmission_type = "";
int transmission_speeds = 0;
String drivetrain = "";
int seats = 0;
int doors = 0;
String epa_class = "";
String body_style = "";
String country_of_assembly = "";
String country_of_origin = "";
String warranty_basic = "";
String warranty_powertrain = "";
String warranty_corrosion = "";
String roadside_assistance = "";
int horsepower_max = 0;
int horsepower_rpm = 0;
int torque_max = 0;
int torque_rpm = 0;
float cylinder_bore = 0;
float piston_stroke = 0;
float compression_ratio = 0;
String fuel_type = "";
String fuel_induction = "";
String valve_train = "";
int valves_per_cylinder = 0;
int total_valves = 0;
String transfer_case = "";
float fuel_capacity = 0;
float wheel_base = 0;
float body_length = 0;
float body_width = 0;
float body_height = 0;
float curb_weight = 0;
String tire_code = "";
int wheel_size = 0;
String rear_tire_code = "";
int rear_wheel_size = 0;
float turning_radius = 0;
float standard_axle_ratio = 0;
float maximum_ground_clearance = 0;
float maximum_gvwr = 0;
float maximum_towing = 0;
float payload_base_capacity = 0;
float head_room_front = 0;
float head_room_rear = 0;
float leg_room_front = 0;
float leg_room_rear = 0;
float shoulder_room_front = 0;
float shoulder_room_rear = 0;
float passenger_volume = 0;
float cargo_volume = 0;
float interior_volume = 0;
float truck_bed_volume = 0;
float truck_bed_length = 0;
String antilock_brakes = "";
String brakes_front = "";
String brakes_rear = "";
String roof_rails = "";
String wheel_type = "";
String premium_wheels = "";
String spare_tire = "";
String privacy_glass = "";
String front_air_conditioning = "";
String front_and_rear_air_conditioning = "";
String cruise_control = "";
String am_fm_stereo = "";
String cassette = "";
String compact_disc = "";
String cd_changer = "";
String premium_radio = "";
String dvd_video_entertainment_system = "";
String leather = "";
String navigation_system = "";
String power_locks = "";
String power_mirrors = "";
String remote_mirrors = "";
String power_outlets = "";
String power_steering = "";
String power_windows = "";
String power_seat = "";
String dual_power_seats = "";
String folding_rear_seat = "";
String moon_roof = "";
String sun_roof = "";
String remote_keyless_entry = "";
String rear_window_defroster = "";
String tilt_wheel = "";
String tachometer = "";
String telematics = "";
int airbag_driver = 0;
int airbag_curtain = 0;
int airbag_passenger = 0;
int airbag_curtain_rear = 0;
int airbag_side = 0;
int airbag_side_rear = 0;
int airbag_knee = 0;
int airbag_rear = 0;
String child_door_locks = "";
String engine_immobilizer = "";
String traction_control = "";
int crash_rating_driver = 0;
int crash_rating_passenger = 0;
int crash_rating_front = 0;
int crash_rating_rear = 0;
int crash_rating_rollover = 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment