question

Upvotes
Accepted
16 0 0 4

EDP Research API - Need assistance on rules applied when this API removes newline characters.

Raising on behalf of client as they don't have access to this portal.

Description:

I'm testing Research API on Elektron Data Platform.

In Research API(Base URL: api.edp.thomsonreuters.com/data/research/beta1), I find "concatLinesInBlock" parameter.
It seems that some newline characters(\n) are removed when concatLinesInBlock is true.

Please teach me the rule applied when this API removes newline characters.

rdp-apirefinitiv-data-platformresearch
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted

The parameter "concatLinesinBlock" can be used to remove the new lines "\n" inside the block of text (in "text" field inside "pages" of JSON message)

This would help remove unnecessary new lines and easier to see in paragraph. This will not completely remove all new lines, but only the new line within each block.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
16 0 0 4

@Nawapoom Lohajarernvanich

Please see clients follow up email below:

>> As confirmed, the parameter "concatLinesinBlock" can be used to remove the new lines "\n" inside the block of text (in "text" field inside "pages" of JSON message)

What is the “block” and how do you decide the boundaries between each block?

(Do you have some rules or algorithms to remove the newline symbol "\n"? And these rules or algorithms are secret?)

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes

@Bernadette Mayormita.Miralles

A block of text is basically a paragraph of text in PDF document file. Therefore the new line characters were left, so each paragraph still separate from each other.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea