Questions tagged [raw-data]

Raw data is a term for data collected from a source that has not been subjected to processing or any other manipulation, and are also referred to as primary data.

204 questions
25
votes
3 answers

Google Drive raw data?

Is there any URL google has that contains the raw data for the file? using https://drive.google.com/file/d/FILE_ID just takes you to a 'share' section of the file... say I have a .js file on GDrive. If you go to their share link, they have a share…
parzivail
  • 361
  • 1
  • 3
  • 9
20
votes
4 answers

Google Analytics - Getting raw data logs

I have an app that sends data to Google Analytics. I am interested in accessing and storing this data on a Hadoop cluster. I am guessing this raw data will be in the form of logs. In particular, I would like to see the user_id, the searches made by…
19
votes
6 answers

R generate 2D histogram from raw data

I have some raw data in 2D, x, y as given below. I want to generate a 2D histogram from the data. Typically, dividing the x,y values into bins of size 0.5, and count the number of occurrences in each bin (for both x and y at the same time). Is there…
Vahid Mirjalili
  • 6,211
  • 15
  • 57
  • 80
15
votes
3 answers

Rails - where to put data files?

I wonder where to put data files (for example XML) to be loaded internally by Rails? Is there some standard location? Now I hold the file in "public" folder.
Paul
  • 25,812
  • 38
  • 124
  • 247
10
votes
2 answers

How to get attr with raw entities?

I have data attr on my tag. Data attr has HTML entity in it. I can get content of that attr with data method from jQuery. However, HTML entity is modified and instead of getting — I get —. How to get the raw content? JsFiddle demo.
daGrevis
  • 21,014
  • 37
  • 100
  • 139
8
votes
3 answers

Is It More Efficient to Put Raw Image Data in the Src Attr?

I recently found out that the src attribute of an image allows you to put raw base 64 image data straight into it. Am i right in supposing this is technically more efficient than a separate image file as additional requests for the images don't…
Thomas Shields
  • 8,874
  • 5
  • 42
  • 77
8
votes
1 answer

WebTestCase Phpunit send raw data not working

I try to send raw data in my WebTestCase in PhpUnit and it doesn't work : $jsonEvent = '{ "type": "invoice.payment_succeeded", }'; $this->client->request( 'POST', '/api/v1/stripe/webhook', [], [], ['CONTENT_TYPE' =>…
psylo66
  • 608
  • 11
  • 26
8
votes
1 answer

Webservice dynamic invoke + get raw data

I use the following code to invoke a webservice from wsdl dynamically, which is working perfectly:(see docs) Now I want to have the raw data from the response. I found the following: (Docs) But to use that example I need a place to add the method…
TWT
  • 2,511
  • 1
  • 23
  • 37
7
votes
3 answers

Vim modifying a file if used with xxd

I'm trying to understand how ID3 tags work, so, after reading some documentation, I started to look at some mp3's raw data. Vim is usually my editor of choice, so, after some googling, I found out I could use xxd to see an hex representation of my…
gcali
  • 1,178
  • 1
  • 16
  • 26
7
votes
2 answers

Save pdf to local server

I am creating a PDF file from raw binary data and it's working perfectly but because of the headers that I define in my PHP file it prompts the user either to "save" the file or "open with". Is there any way that I can save the file on local server…
Salman
  • 145
  • 2
  • 2
  • 9
7
votes
1 answer

How to send raw data to printer with Java

I am trying to create a simple program that sends a string to a printer to print. This is what my program looks like: import javax.print.Doc; import javax.print.DocFlavor; import javax.print.DocPrintJob; import javax.print.PrintException; import…
aCarella
  • 2,369
  • 11
  • 52
  • 85
5
votes
0 answers

R package: Refresh/Update internal raw data

I am developing a package in R (3.4.3) that has some internal data and I would like to be able to let users refresh it without having to do too much work. But let me be more specific. The package contains several functions that rely on multiple…
maraboule
  • 363
  • 3
  • 12
5
votes
1 answer

How to store firmware file into header file (.h)

I have got a firmware (.raw) file which has to be written in serial flash. One way is to create a header file out of it i.e. a string array with the file content and then in code read this buffer and write it in serial flash. In linux do we have…
4
votes
1 answer

Best way to interpret a byte array as a struct in C++

What is the most efficient and most elegant way to interpret a string of bytes in modern C++? My first naive attempt was to use a bit field. Here is an example that hopefully explains the purpose and the difficulty of the task: union Data { …
user23952
  • 578
  • 3
  • 10
4
votes
2 answers

How to Play RAW Audio Files?

I am currently working on a project that consists of a chart that shows audio levels picked up by another device. The charts are made through the flot API and I have zooming and selecting capabilities in order to select a time range on the chart and…
1
2 3
13 14