njtierney / ukpolice

:uk: :police_car: R package to pull police data from the uk police data repository :police_car: :uk:
http://ukpolice.njtierney.com/
Other
36 stars 9 forks source link

fxn naming scheme #6

Closed sckott closed 8 years ago

sckott commented 8 years ago

Something we've been doing in some of our pkgs, is to prefix fxns with something very short, e.g., here could do ukp or up - so get_neighbourhoods could become ukp_neighbourhoods

because R doesn't require users to namespace fxn calls, fxn collisions can happen, so this helps that

and helps users with knowing what pkg a fxn comes from easily

just a thought...

njtierney commented 8 years ago

This is a great idea, thanks @sckott ! @masalmon has also suggested this, it is a nice user feature

njtierney commented 8 years ago

fixed in the above commit. Thanks again for your suggestion!