BLE-LTER / MetaEgress

R package to create Ecological Metadata Language documents from an instance of LTER-core-metabase database schema
https://BLE-LTER.github.io/MetaEgress/
6 stars 3 forks source link

apostrophe messes up row count when computing number of records #79

Closed twhiteaker closed 6 months ago

twhiteaker commented 1 year ago

An apostrophe in a CSV cell value in a data table, e.g., "I've had it up to here with bugs", messes up the row count when computing number of records in create_entity. I found that it added an extra record in my case. Perhaps rewrite the function so it has a more robust row counting scheme. RStudio shows the correct number of rows in the data frame, so I know it's possible.

Indujamohandas commented 6 months ago

fixed in 626a8f2235d83459f5fcad1aaf05a968254358d0