Skip to content

Commit

Permalink
include proper line breaks in Article (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
JBGruber committed Apr 14, 2024
1 parent 135a53a commit 117652a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# LexisNexisTools 1.0.0

* articles parse from Nexis Uni now feature proper line breaks
* start removing classification data that comes from nexis

# LexisNexisTools 0.3.7

* Fixes issue in tests
Expand Down
2 changes: 1 addition & 1 deletion R/LexisNexisTools.R
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ lnt_parse_uni <- function(lines,
Paragraph <- NULL
Art_ID <- NULL
articles.df <- paragraphs.df[,
list(Article = stri_join(Paragraph, collapse = " ")),
list(Article = stri_join(Paragraph, collapse = "\n")),
by = list(ID = Art_ID)]
articles.df <- tibble::as_tibble(articles.df)
paragraphs.df <- tibble::as_tibble(paragraphs.df)
Expand Down

0 comments on commit 117652a

Please sign in to comment.