joelgombin / banR

R client for the BAN API
http://joelgombin.github.io/banR/
GNU General Public License v3.0
28 stars 10 forks source link

Naming #7

Closed pachevalier closed 7 years ago

pachevalier commented 7 years ago

When trying to lint the code with the lintr package, I've got several warnings :

Should we rename the package ?

By the way, I think we need to think about the name of variables.

I think it would be nice to have :

I think the ban prefix is useless since the name of the package is already banR.

pachevalier commented 7 years ago
joelgombin commented 7 years ago

Completely agree with your proposed naming scheme. I think geocode_df is better. The ban prefix was there to allow using the autocomplete feature in rstudio: you just type ban and rstudio suggests you all the funtions from the package. I kinda like it, but it can completely be dropped.

pachevalier commented 7 years ago

I've renamed the variable geocode_tbl(). It's more consistent with modern R syntax.