ropensci / EDIutils

An API Client for the Environmental Data Initiative Repository
https://docs.ropensci.org/EDIutils/
Other
10 stars 2 forks source link

comma in entity names causes read_data_entity_names to return extra columns #38

Closed atn38 closed 2 years ago

atn38 commented 2 years ago

EDIutils::read_data_entity_name("knb-lter-ble.12.1") returns

image

See the extra unnamed column. The entity name as listed in EML is "Sediment pigment data, personnel list".

I figure this is not particularly EDIutils' fault but perhaps the PASTA API? Reporting here because EDIutils is what I was using.

clnsmth commented 2 years ago

Thanks for reporting this issue @atn38!

As you've figured, this issue is related to the PASTA API specifically the use of commas to delimit data entity identifiers from data entity names in the response object of the Read Data Entity Names method.

I'll implement a fix here for EDIutils and also raise this at https://github.com/PASTAplus/PASTA.