Question: I need to read the data from this link <http://www.bls.gov/cpi/cpifiles/cpiai.txt> into a data frame. Sadly the data is not in a csv file. What is the best way of doing it?

I tried 

```
cpiai <- read.table("http://www.bls.gov/cpi/cpifiles/cpiai.txt")

```

Thanks!

Answer: 
It is definitely possible to use Couchbase with Dropwizard. The client SDK provides JSON manipulation objects for the developer's convenience but it also allows for delegating JSON processing to a library like Jackson or GSON.
Take a look at the `RawJsonDocument` class [here](http://developer.couchbase.com/documentation/server/4.1/sdks/java-2.2/documents-basics.html#documents-basics__jsonraw).
Basically, you can use a Stringified JSON (coming out of any framework) to create one of those objects and the client SDK will understand it as a JSON document for any operation i.e.:

```
String content = "{\"hello\": \"couchbase\", \"active\": true}";
bucket.upsert(RawJsonDocument.create("rawJsonDoc", content));

```
It should be possible to make this work. 

1. Client requests to dw server for Resource Person.
2. DW server requests to couchebase, gets a Pojo back representing Person or JSON representing person.
3. If it's JSON, create a POJO with Jackson annotations in DW and return that to client
4. If it's a special couchebase pojo, map that to a Jackson pojo and return to to client