Harvested on
3
Winston was dreaming of his mother.
He must, he thought, have been ten or elev... | http://www.george-orwell.org/1984/2.html | http://www.george-orwell.org/1984/2.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
Part One
1
It was a bright cold day in April, and the clocks were striking thir... | http://www.george-orwell.org/1984/0.html | http://www.george-orwell.org/1984/0.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
2
As he put his hand to the door-knob Winston saw that he had left the diary open... | http://www.george-orwell.org/1984/1.html | http://www.george-orwell.org/1984/1.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
4
With the deep, unconscious sigh which not even the nearness of the telescreen c... | http://www.george-orwell.org/1984/3.html | http://www.george-orwell.org/1984/3.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
5
In the low-ceilinged canteen, deep underground, the lunch queue jerked slowly f... | http://www.george-orwell.org/1984/4.html | http://www.george-orwell.org/1984/4.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
7
If there is hope, wrote Winston, it lies in the proles.
If there was hope, it... | http://www.george-orwell.org/1984/6.html | http://www.george-orwell.org/1984/6.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
8
From somewhere at the bottom of a passage the smell of roasting coffee -- real ... | http://www.george-orwell.org/1984/7.html | http://www.george-orwell.org/1984/7.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
6
Winston was writing in his diary:
It was three years ago. It was on a dark eve... | http://www.george-orwell.org/1984/5.html | http://www.george-orwell.org/1984/5.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
2
Winston picked his way up the lane through dappled light and shade, stepping ou... | http://www.george-orwell.org/1984/9.html | http://www.george-orwell.org/1984/9.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
3
'We can come here once again,' said Julia. 'It's generally safe to use any hide... | http://www.george-orwell.org/1984/10.html | http://www.george-orwell.org/1984/10.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
Part Two
1
It was the middle of the morning, and Winston had left the cubicle t... | http://www.george-orwell.org/1984/8.html | http://www.george-orwell.org/1984/8.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
5
Syme had vanished. A morning came, and he was missing from work: a few thoughtl... | http://www.george-orwell.org/1984/12.html | http://www.george-orwell.org/1984/12.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
6
It had happened at last. The expected message had come. All his life, it seemed... | http://www.george-orwell.org/1984/13.html | http://www.george-orwell.org/1984/13.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
7
Winston had woken up with his eyes full of tears. Julia rolled sleepily against... | http://www.george-orwell.org/1984/14.html | http://www.george-orwell.org/1984/14.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
4
Winston looked round the shabby little room above Mr Charrington's shop. Beside... | http://www.george-orwell.org/1984/11.html | http://www.george-orwell.org/1984/11.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
8
They had done it, they had done it at last!
The room they were standing in was... | http://www.george-orwell.org/1984/15.html | http://www.george-orwell.org/1984/15.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
2
He was lying on something that felt like a camp bed, except that it was higher ... | http://www.george-orwell.org/1984/18.html | http://www.george-orwell.org/1984/18.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
Part Three
1
He did not know where he was. Presumably he was in the Ministry of... | http://www.george-orwell.org/1984/17.html | http://www.george-orwell.org/1984/17.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
5
At each stage of his imprisonment he had known, or seemed to know, whereabouts ... | http://www.george-orwell.org/1984/21.html | http://www.george-orwell.org/1984/21.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
4
He was much better. He was growing fatter and stronger every day, if it was pro... | http://www.george-orwell.org/1984/20.html | http://www.george-orwell.org/1984/20.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
3
'There are three stages in your reintegration,' said O'Brien. 'There is learnin... | http://www.george-orwell.org/1984/19.html | http://www.george-orwell.org/1984/19.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
6
The Chestnut Tree was almost empty. A ray of sunlight slanting through a window... | http://www.george-orwell.org/1984/22.html | http://www.george-orwell.org/1984/22.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
9
Winston was gelatinous with fatigue. Gelatinous was the right word. It had come... | http://www.george-orwell.org/1984/16.html | http://www.george-orwell.org/1984/16.html | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC | 2018-01-15 19:49:23 UTC |
Sample code snippets to quickly import data set into your application
For more information on how to automatically trigger an import please reference
our WebHook API guide
Integrating with Java
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import java.util.Arrays;
public class HelloWorld {
public static void main(String[] args) {
try {
URL urlCSV = new URL(
"https://cache.getdata.io/n4481_56b3bdc2445939822131b4d031f89d83eses/latest_all.csv"
);
URLConnection urlConn = urlCSV.openConnection();
InputStreamReader inputCSV = new InputStreamReader(
((URLConnection) urlConn).getInputStream()
);
BufferedReader br = new BufferedReader(inputCSV);
String line;
String[] fields;
while ((line = br.readLine()) != null) {
// Each row
fields = line.split(",");
System.out.println(Arrays.toString(fields));
}
// clean up buffered reader
br.close();
} catch (Exception e) {
System.out.println(e.getMessage());
}
}
}
Integrating with NodeJs
const csv = require('csv-parser');
const https = require('https');
const fs = require('fs');
const file = fs.createWriteStream("temp_download.csv");
const request = https.get(
"https://cache.getdata.io/n4481_56b3bdc2445939822131b4d031f89d83eses/latest_all.csv",
function(response) {
response.pipe(file);
}
);
file.on('finish', function() {
file.close();
fs.createReadStream('temp_download.csv').pipe(csv()).on('data', (row) => {
// Each row
console.log(row);
}).on('end', () => {
console.log('CSV file successfully processed');
});
});
Integrating with PHP
$data = file_get_contents("https://cache.getdata.io/n4481_56b3bdc2445939822131b4d031f89d83eses/latest_all.csv");
$rows = explode("\n",$data);
$s = array();
foreach($rows as $row) {
# Each row
var_dump( $row);
}
Integrating with Python
import csv
import urllib2
url = 'https://cache.getdata.io/n4481_56b3bdc2445939822131b4d031f89d83eses/latest_all.csv'
response = urllib2.urlopen(url)
cr = csv.reader(response)
for row in cr:
# Each row
print row
Integrating with Ruby
require 'open-uri'
require 'tempfile'
require 'csv'
temp_file = Tempfile.new( "getdata", :encoding => 'ascii-8bit')
temp_file << open("https://cache.getdata.io/n4481_56b3bdc2445939822131b4d031f89d83eses/latest_all.csv").read
temp_file.rewind
CSV.foreach( open(uri), :headers => :first_row ).each do |row|
# Each row
puts row
end