Closed pachevalier closed 7 years ago
library()
function according to the lintr package. 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.
I've renamed the variable geocode_tbl(). It's more consistent with modern R syntax.
When trying to lint the code with the
lintr
package, I've got several warnings :queryResults
should be lowercaseShould 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 :
geocode
: for geocoding a single address (ie using the one line API : http://adresse.data.gouv.fr/api/)reverse_geocode
: for reverse geocoding a single pointgeocode_df
orgeocode_csv
for geocoding a dataframe (ie the actualban_geocode
)reverse_geocode_df
for reverse geocoding a dataframeI think the ban prefix is useless since the name of the package is already banR.