@daniela02 this example is about a quite complicated structure. If your table within a PDF has a more simple design it should be easier. I would start with the core of using tabulize from R and see the result and take it from there.
If you could provide a sample of your PDF without spilling secrets it would help.