pokeapi icon indicating copy to clipboard operation
pokeapi copied to clipboard

Cleaned file pokemon_species_flavor_text.csv

Open AndryCola opened this issue 2 years ago • 2 comments

I cleaned this file from broken chars and random new lines.

AndryCola avatar Nov 24 '23 01:11 AndryCola

Hi, can you describe your addition? The diff is too large

Naramsim avatar Nov 24 '23 08:11 Naramsim

praticamente in alcune righe ( come ad esempio nella prima ) il testo non solo ha un carattere che non riesce a visualizzare, ma va anche a campo in mezzo al testo ( vedi foto 1 ) e questo mi ha dato tantissimi problemi per l'import su mysql del csv. per cui ho rimosso in queste situazioni l'andata a capo e ho rimosso quel carattere codificato male.

in realtà ho notato che nel flavor_text ci sono anche delle virgole e siccome il divisore è appunto la virgola mi ha dato problemi anche su quello, però ho visto che mettendo il punto e virgola la build non funziona per cui sono tornato indietro in tal senso.

<----> Practically in some lines (such as in the first one) the text not only has a character that it cannot display, but also goes to the field in the middle of the text (see photo 1) and this gave me a lot of problems for importing csv to mysql.

So I removed in these situations the go to the end and removed that poorly coded character.

I actually noticed that in the flavor_text there are also commas and since the divider is precisely the comma it gave me problems on that too, but I saw that putting the semicolon the build does not work so I went back in that direction. <---->

photo 1: Screenshot 2023-11-24 alle 09 42 19

AndryCola avatar Nov 24 '23 08:11 AndryCola