Skip to content

Commit

Permalink
Merge pull request #43 from r-transit/dev/update-reference
Browse files Browse the repository at this point in the history
update gtfs_reference
  • Loading branch information
dhersz authored Jan 21, 2025
2 parents 715811c + 138f2b1 commit 7fb236c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified data/gtfs_reference.rda
Binary file not shown.
4 changes: 2 additions & 2 deletions inst/reference/parse_markdown.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ parse_fields = function(reference.md) {
if(stringr::str_starts(.line, "File: ")) {
.file_presence <- stringr::str_replace_all(.line, "File: ", "")
}
if(stringr::str_starts(.line, "Primary key ")) {
.primary_key <- stringr::str_replace_all(.line, "Primary key \\(", "")
if(stringr::str_starts(.line, "Primary [kK]ey ")) {
.primary_key <- stringr::str_replace_all(.line, "Primary [kK]ey \\(", "")
.primary_key <- stringr::str_replace_all(.primary_key, "\\)", "")
}

Expand Down

0 comments on commit 7fb236c

Please sign in to comment.