Finding the cause of an unwanted deletion within an lappy function
问题 I uploaded a .txt file in to R as follows: Election_Parties <- readr::read_lines("Election_Parties.txt") The following text is in the file: pastebin link. The text more or less looks as follows (Please use actual file for solution!): BOLIVIA P1-Nationalist Revolutionary Movement-Free Bolivia Movement (Movimiento Nacionalista Revolucionario [MNR]) P19-Liberty and Justice (Libertad y Justicia [LJ]) P20-Tupak Katari Revolutionary Movement (Movimiento Revolucionario Tupak Katari [MRTK]) COLOMBIA