I have large list in R
with more than 5000 elements. The elements are of the form:
$`/home/ricardo/MultiClass/data//Execucao_PUBLICACAO_DECISAO_INTERLOCUTORIA_DETERMINACAO_DE_PAGAMENTO/1117.txt.V1
[1] DATA DE DISPONIBILIZACAO DA PUBLICACAO PELA FONTE OFICIAL: 16/11/2016 Pag 4279 Decisao Processo N RTOrd-0122200-90.2006.5.15.0087 <truncated>`
I would like to transform this in a two columns dataframe
where:
c1
The contents between $ and [1]
c2
rest of the text
How can I do this split? Important to note that the numberof strings between $
and [1]
can change, and the strings $
, [ e ]
can appear in the rest of the text.
Thanks in advance, Ricardo.