Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

134
Visualizações
R - Open Twitter Archive Data as json with R

it would be great if someone could help me with this. I want to analyze Twitter archives that users can download for themselves. I get a ZIP file from Twitter with a lot of .js data - that's where the problem starts. What I have found out so far: If I manually remove the header of the js ("window.YTD.direct_messages.part0 ="), then I can open it as JSON with RJSONIO - but I don't want to have to do that manually everywhere. Does anyone know a way to open the JS file or how I can accomplish the above steps (delete the row and open as json) in R?

That is how the js header looks like - BTW: it seems to be important not to delete the square brackets as well if you want to save it as json:

That is how the js header looks like - BTW: it seems to be important not to delete the square brackets as well if you want to save it as json

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda