Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about pdftools

Read more about pdftools

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - pdftools

R: extract dates and numbers from PDF

I'm really struggling to extract the proper information from several thousands PDF files from NTSB (some Dates and numbers to be specific); these PDFs don't require to be OCRed and each report is almo...
test-img

Andrei Niță

r

stringr

readr

pdftools

Votes: 0

Answers: 1

Latest Answer

I think the best approach to achieve what you want is to use regex. In this case I use stringr library. The main idea with regex is to find the desire string pattern, in this case is the date 'July 29...
test-img

Víctor Cortés

Create table from wrapped text in R

Edited: From text based on variable named a I would like to obtain a table in which description cell will be unwrapped. a <- " category variable description val...
test-img

mario19088

r

gsub

stringr

pdftools

Votes: 0

Answers: 4

Latest Answer

One option to achieve your desired result would be read your variable as a fixed width file using e.g. readr::read_fwf and some additional data wrangling steps where I make use of tidyr and dplyr: lib...
test-img

stefan

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved