Sparkfun has breakouts for numerous sensors. They have information for using Arduino, but I want to use Picaxe.
Sparkfun caters mostly to Arduino enthusiasts in regards to code examples as it is by far the most popular hobbyist platform worldwide. Unfortunately, in many cases this leaves those of us who choose to use other capable platforms such as Picaxe with only Arduino code examples.
How can I get info on initializing sensors and specifications on registers that can be accessed via I2C.
As has been stated by Rick, this information is available in the Datasheets for the particular devices being considered. These Datasheets should be available through either SparkFun or from the device manufacturer. If not available though Sparkfun, I typically use Google (or another search engine if you choose) to find and download the datasheets in question.
Also, how can I get source code for INCLUDE statements in C++ code?
I assume you mean the Arduino source code from the include statements found in the main Arduino example "sketches" (AKA "Programs". This code is tracked down by searching for the particular include file, either in the local Arduino folders or on the internet if required.
Without a working knowledge of Arduino's "C" it will be difficult to port the code in to Picaxe Basic. There isi no converter program that I am aware of that can convert Arduino C into Picaxe Basic. Also consider that Arduino "C" supports floating point math and signed "long" variables, while Picaxe Basic does not, other challenges to use Picaxe Basic in place of Arduino C are presented to the Picaxe Programmer.
Suffice it to say that what you are wanting to do is extremely difficult but not impossible. It depends upon the actual application, your particular skill set, aptitude, and willingness to learn. Have proper test equipment such as a decent scope and a Logic Analyzer (Saleae ,etc) can be indispensable, if not required, depending upon the application(s).
Your post specifically mentioned sensors and I2C. This should be doable with Picaxe Basic WITHOUT having to refer Arduino C / Sparkfun examples. The Datasheet for the particular sensor should provide enough information to allow writing the Picaxe Basic Code. However, referring to example Arduino code can be helpful at times if you have a general understanding of the C language. I suggest getting a copy of Notepad++ or another advanced Editor View and search the Arduino Files.
My suggestion is ... if you want help with Picaxe Basic for a particular sensor, is to let us know what sensor you are interested in working with and provide a link to the product's datasheet. It may be that someone has already written working Code for that sensor.
Good Luck