Find Jobs
Hire Freelancers

Read and sanitize data from the CSV file while using interfaces provided in the SRC directory.

$20-50 USD

Closed
Posted over 4 years ago

$20-50 USD

Paid on delivery
# Summary Your mission, should you choose to accept it, is to read and sanitize data from the `[login to view URL]` file while using interfaces provided in the `src` directory. # Description User supplied data is unknown and inherently cannot be trusted. . # Setup `composer install` # Implementation `[login to view URL]` and `[login to view URL]` classed provided are placeholders and should be populated. You are free to use any tool necessary to accomplish your objective. The only requirement is that `[login to view URL]` should run as is, without needing much, if any, modification. You can run `[login to view URL]` to see data manipulation and to verify your work. ### Classes `Parser` class is responsible for interfacing with the `[login to view URL]` input file and _extracting_ its data. `Filter` class is responsible for _transforming_ supplied file data values into sanitized values ready for permanent storage. `Validate` class is responsible for ensuring sanitized values conform to the defined specifications below. ### Sanitation Specifications Please sanitize `data/[login to view URL]` data according to the following rules: * Column 1 = Account Number Account number should be a 10 digit string with leading zeros. For example, `12345678` should filter to `0012345678`. * Column 2 = Account Name Account name should be a string and should not contain any special characters, only alphanumerics and ` ` (space), `,` (comma), `-` (dash). For example, `@Widget Co., Inc.` should filter to `Widget Co, Inc`. * Column 3 = Transaction Fee Transaction fee should be a number with precision of 2. Rounding is allowed. For example, `$.201` should filter to `0.20`. * Column 4 = Phone Number Phone number should be a string formatted as ###-###-####. For example, `1 (312) 555-1234` should filter to `312-555-1234`.
Project ID: 23584450

About the project

6 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
6 freelancers are bidding on average $50 USD for this job
User Avatar
Let's not waste more time talking about what's needed to be done and actually get things done. hit me up and let's make ideas come to life.
$111 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Chicago, United States
0.0
0
Member since Nov 8, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.