Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean up variable names #28

Open
beanumber opened this issue Aug 28, 2020 · 1 comment
Open

clean up variable names #28

beanumber opened this issue Aug 28, 2020 · 1 comment

Comments

@beanumber
Copy link
Owner

Some spatial layers have poorly named variables, for example:

library(macleish)
#> Loading required package: etl
#> Loading required package: dplyr
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union
macleish_layers[["research"]]
#> Simple feature collection with 32 features and 11 fields
#> geometry type:  POLYGON
#> dimension:      XY
#> bbox:           xmin: -72.68474 ymin: 42.45108 xmax: -72.67797 ymax: 42.45915
#> CRS:            4326
#> First 10 features:
#>    OBJECTID Id GapControl BUFF_DIST Name Details Start_Year Professor
#> 1         1  0       <NA>         0 <NA>    <NA>          0      <NA>
#> 2         2  0       <NA>         0 <NA>    <NA>          0      <NA>
#> 3         3  0       <NA>         0 <NA>    <NA>          0      <NA>
#> 4         4  1          G        12 <NA>    <NA>          0      <NA>
#> 5         5  2          C        12 <NA>    <NA>          0      <NA>
#> 6         6  3          G        12 <NA>    <NA>          0      <NA>
#> 7         7  4          C        12 <NA>    <NA>          0      <NA>
#> 8         8  7          G        12 <NA>    <NA>          0      <NA>
#> 9         9  8          C        12 <NA>    <NA>          0      <NA>
#> 10       10  5          G        12 <NA>    <NA>          0      <NA>
#>    Year_Start Shape_Leng Shape_Area                       geometry
#> 1           0   75.30356   310.8627 POLYGON ((-72.68172 42.4531...
#> 2           0  129.98172   491.5150 POLYGON ((-72.68184 42.4531...
#> 3           0   52.90795   169.9880 POLYGON ((-72.68217 42.4554...
#> 4           0   75.30253   450.0957 POLYGON ((-72.67812 42.4515...
#> 5           0   75.30258   450.0963 POLYGON ((-72.67855 42.4514...
#> 6           0   75.30256   450.0961 POLYGON ((-72.67894 42.4523...
#> 7           0   75.30256   450.0961 POLYGON ((-72.67933 42.4526...
#> 8           0   75.30262   450.0968 POLYGON ((-72.68181 42.4534...
#> 9           0   75.30260   450.0965 POLYGON ((-72.68135 42.4537...
#> 10          0   75.30260   450.0965 POLYGON ((-72.68148 42.4522...

Created on 2020-08-28 by the reprex package (v0.3.0)

What is OBJECTID, and Id, etc? Are these variables meaningful? Or helpful?

This may require talking to Paul or Reid to recover some institutional/knowledge.

@beanumber beanumber added this to Brainstorming 🤔 in Manuscript Jun 2, 2021
@rudeboybert rudeboybert moved this from Brainstorming 🤔 to To do in Manuscript Jun 2, 2021
@djkelly00 djkelly00 moved this from TODO's 📝 to Brainstorming 🤔 in Manuscript Jun 9, 2021
@djkelly00 djkelly00 moved this from Brainstorming 🤔 to TODO's 📝 in Manuscript Jun 9, 2021
@djkelly00
Copy link
Collaborator

Reid Bertone-Johnson reported that "OBJECT ID and ID are unique identifiers (primary keys) generated by ArcGIS. They are not relevant data, simply an organizational tool for the database structure," so no change to these variable names may be necessary.

@djkelly00 djkelly00 moved this from TODO's 📝 to In progress ⚙️ in Manuscript Jun 28, 2021
@djkelly00 djkelly00 moved this from In progress ⚙️ to Done 🏁🎉 in Manuscript Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Manuscript
Done 🏁🎉
Development

No branches or pull requests

2 participants