Find Jobs
Hire Freelancers

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

$20-50 USD

Stengt
Lagt ut omtrent 4 år siden

$20-50 USD

Betalt ved levering
# 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`.
Prosjekt-ID: 23584450

Om prosjektet

6 forslag
Eksternt prosjekt
Aktiv 4 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber
6 frilansere byr i gjennomsnitt $50 USD for denne jobben
Brukeravatar
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 om 2 dager
0,0 (0 omtaler)
0,0
0,0

Om klienten

UNITED STATESs flagg
Chicago, United States
0,0
0
Medlem siden nov. 8, 2018

Klientbekreftelse

Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.