Find Jobs
Hire Freelancers

Write some JavaScript Code to parse data from three different files

$10-30 USD

Terminado
Publicado hace más de 6 años

$10-30 USD

Pagado a la entrega
* Please write a program in either Javascript that: * Assembles a collection of student records by parsing data from 3 different files. * Displays the collection 3 times, sorted 3 different ways. * Only use libraries, gems and packages listed below. * Javascript - The [NodeJS API]([login to view URL]), a testing framework like [MochaJS]([login to view URL]) and a CSV library like [csv-parse]([login to view URL]). * Please use the latest stable version of NodeJS. * What we're looking for here is clear code and elegant object-oriented design. Please avoid imperative or functional coding style, or an overly clever solution. ## Criteria The qualities we're looking for are: |Criterion|Notes| |---|---| |**Clarity**|Is the intent of the code obvious? Are things named appropriately?| |**Maintainability**|How flexible is the code?| |**Testability**|Is it easy to test the code? _Please demonstrate with the appropriate degree and type of testing._| |**Precision**|Does the code produce the expected output, as provided below?| ## Input Please copy the data files (in the `data` folder) and include them in your solution. * [login to view URL] * Delimiter: `,` * Order: `last_name`, `first_name`, `campus`, `favorite_color`, `date_of_birth` * [login to view URL] * Delimiter: `$` * Order: `last_name`, `first_name`, `middle_initial`, `campus`, `date_of_birth`, `favorite_color` * [login to view URL] * Delimiter: `|` * Order: `last_name`, `first_name`, `middle_initial`, `campus`, `favorite_color`, `date_of_birth` ## Output Please display the collection in three different ways: 1. Sorted by `campus` (ascending), then by `last_name` (ascending) 2. Sorted by `date_of_birth` (ascending) 3. Sorted by `last_name` (descending) Be certain that your solution performs all of the necessary steps to print this **exact** output: ``` Output 1: Kirlin Mckayla Atlanta 5/29/1986 Maroon Barrows Anika Hong Kong 5/5/1965 Spring Green Goyette Timmothy London 10/2/1964 Pacific Blue Nolan Rhiannon Los Angeles 10/4/1974 Vivid Tangerine Parker Matteo Melbourne 2/14/1962 Burnt Sienna Bednar Filomena New York City 1/24/1980 Salmon Cummerata Elliot New York City 4/3/1947 Neon Carrot Wilkinson Stacy New York City 1/22/1964 Shocking Pink Bruen Rigoberto San Francisco 12/1/1962 Raw Umber Output 2: Cummerata Elliot New York City 4/3/1947 Neon Carrot Parker Matteo Melbourne 2/14/1962 Burnt Sienna Bruen Rigoberto San Francisco 12/1/1962 Raw Umber Wilkinson Stacy New York City 1/22/1964 Shocking Pink Goyette Timmothy London 10/2/1964 Pacific Blue Barrows Anika Hong Kong 5/5/1965 Spring Green Nolan Rhiannon Los Angeles 10/4/1974 Vivid Tangerine Bednar Filomena New York City 1/24/1980 Salmon Kirlin Mckayla Atlanta 5/29/1986 Maroon Output 3: Wilkinson Stacy New York City 1/22/1964 Shocking Pink Parker Matteo Melbourne 2/14/1962 Burnt Sienna Nolan Rhiannon Los Angeles 10/4/1974 Vivid Tangerine Kirlin Mckayla Atlanta 5/29/1986 Maroon Goyette Timmothy London 10/2/1964 Pacific Blue Cummerata Elliot New York City 4/3/1947 Neon Carrot Bruen Rigoberto San Francisco 12/1/1962 Raw Umber Bednar Filomena New York City 1/24/1980 Salmon Barrows Anika Hong Kong 5/5/1965 Spring Green ```
ID del proyecto: 15799634

Información sobre el proyecto

3 propuestas
Proyecto remoto
Activo hace 6 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Good Start Relevant Skills and Experience Check My Profile Proposed Milestones $1 USD - Start $14 USD - End
$15 USD en 1 día
4,0 (1 comentario)
0,4
0,4

Sobre este cliente

Bandera de UNITED STATES
Lynnwood, United States
5,0
12
Forma de pago verificada
Miembro desde feb 11, 2014

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.