Closed limnoliver closed 7 years ago
Do you have code that depends on them being in long form (lakes4ha_buffer100m_lagoslakeid)? I seem to remember specifically changing them to be in short form (lagoslakeid). I guess I'm unclear on why we have a long form in the first place...
Yeah, I don't like long form either. I was writing the help files for the different tables, and for each table with lagoslakeid, it is sometimes imported with the scale in front (iws), and sometimes not (buffers). So I guess if you're manually changing them at some point, I would prefer the shortened version "lagoslakeid".
The issue came up because I reported it as an inconsistency in the LAGOS export. Is this the only column name that gets manipulated on import?
Looks like I manipulated lakes4ha.buffer100m*
and lakes4ha.buffer500m*
https://github.com/cont-limno/LAGOS/blob/master/R/ingest.R#L130-L155
I hope I didn't miss any.
You just missed all of the iws tables, which also have iws_lagoslakeid variables.
Looks like the next LAGOS export will remove all prefixes from "lagoslakeid", so this will be a non-issue soon.
I still see prefixes in the latest export. Its just that they are buffer100m_lagoslakeid
instead of lakes4ha_buffer100m_lagoslakeid
.
In tables lakes4ha_buffer100m and lakes4ha_buffer500m, column is "lagoslakeid" after importing through package, but column name in geo v1.040 is "lakes4ha_buffer100m_lagoslakeid" and "lakes4ha_buffer100m_lagoslakeid".