today, the read_data function parses the dataset identifier (regex) to decided to decide whether the source is pasta (EDI) or NEON. That seems a little risky, since a) the formats are very similar already (see screenshot - one character different), and b) adapting to a new ID format means hunting down the regex in code. We don't have plans to add another data source, but doing so would be difficult.
Consider using a switch (or function arg) to decide which read method to use.
today, the read_data function parses the dataset identifier (regex) to decided to decide whether the source is pasta (EDI) or NEON. That seems a little risky, since a) the formats are very similar already (see screenshot - one character different), and b) adapting to a new ID format means hunting down the regex in code. We don't have plans to add another data source, but doing so would be difficult.
Consider using a switch (or function arg) to decide which read method to use.