Friday, 27 December 2013

Scraping the Web for Commodity Futures Contract Data

I’m fascinated by commodity futures contracts.  I worked on a project in which we predicted the yield of grains using climate data (which exposed me to the futures markets) but we never attempted to predict the price.  What fascinates me about the price data is the complexity of the data.  Every tick of price represents a transaction in which one entity agrees to sell something (say 10,000 bushels of corn) and the other entity agrees to buy that thing at a future point in time (I use the word entity rather than person because the markets are theoretically anonymous).  Thus, price is determined by how much people think the underlying commodity is worth.

The data is complex because the variables that effect the price span many domains.  The simplest variables are climatic and economic.  Prices will rise if the weather is bad for a crop, supply is running thin, or if there is a surge in demand.  The correlations are far from perfect, however.  Many other factors contribute to the price of commodities such as the value of US currency, political sentiment, and changes in investing strategies.  It is very difficult to predict the price of commodities using simple models, and thus the data is a lot of fun to toy around with.

As you might imagine there is an entire economy surrounding commodity price data.  Many people trade futures contracts on imaginary signals called “technicals” (please be prepared to cite original research if you intend to argue) and are willing to shell out large sums of money to get the latest ticks before the guy in the next suburb over.  The Chicago Mercantile Exchange of course realizes this, and charges a rather hefty sum to the would be software developer who wishes to deliver this data to their users.  The result is that researches like myself are told that rather large sums of money can be exchanged for poorly formatted text files.

Fortunately, commodity futures contract data is also sold to websites who intend to profit off banner adds and is remarkably easy to scrape (it’s literally structured).  I realize this article was supposed to be about scraping price data and not what I ramble about to my girlfriend over diner so I’ll make a nice heading here with the idea that 90% of readers will skip to it.

Scraping the Data

There’s a lot of ways to scrape data from the web.  For old schoolers there’s curl, sed, and awk.  For magical people there’s Perl.  For enterprise there’s com.important.scrapper.business.ScrapperWebPageIntegrationMatchingScrapperService.  And for no good, standards breaking, rouge formatting, try-whatever-the-open-source-community-coughs-up hacker there’s Node.js.  Thus, I used Node.js.

Node.js is quite useful getting stuff done.  I don’t recommend writing your next million line project in it, but for small to medium light projects there’s really no disadvantage.  Some people complain about “callback hell” causing their code to become indented beyond readability (they might consider defining functions) but asynchronous, non-blocking IO code is really quite sexy.  It’s also written in Javascript, which can be quite concise and simple if you’re careful during implementation.

The application I had in mind would be very simple:  HTML is to be fetched, patterns are to be matched, data extracted and then inserted into a database.  Node.js comes with HTTP and HTTPS layers out of the box.  Making a request is simple:

var req = http.request({
     hostname: 'www.penguins.com',
     path: '/fly.php?' + querystring.stringify(yourJSONParams)
}, function(res) {
    if (res.statusCode != 200) {
        console.error('Server responded with code: ' + res.statusCode);
        return done(new Error('Could not retrieve data from server.'), '', symbol);
    }
    var data = '';
    res.setEncoding('utf8');
    res.on('data', function(chunk) {
        data += chunk;
    });

    res.on('end', function() {
        return done('', data.toString(), symbol);
    });
});

req.on('error', function(err) {
    console.error('Problem with request: ', err);
    return done(err, '');
});

req.end();

Don’t worry about ‘done’ and ‘symbol’, they are the containing function’s callback and the current contract symbol respectively.  The juice here is making the HTTP request with some parameters and a callback that handles the results.  After some error checking we add a few listeners within the result callback that append the data (HTML) to the ‘data’ variable and eventually pass it back to the containing function’s callback.  It’s also a good idea to create an error listener for the request.

Although it would be possible to match our data at this point, it usually makes sense to traverse the DOM a bit in case things move around or new stuff shows up.  If we require that our data lives in some DOM element, failure indicates the data no longer exists, which is preferable to a false positive.  For this I brought in the cheerio library which provides core jQuery functionality and promises to be lighter than jsDom.  Usage is quite straightforward:


$ = cheerio.load(html);
$('area', '#someId').each(function() {
    var data = $(this).attr('irresponsibleJavascriptAttributeContainingData');
    var matched = data.match('yourFancyRegex');
});

Here we iterate over each of the area elements within the #someId element and match against a javascript attribute.  You’d be surprised what kind of data you’ll find in these attributes…

The final step is data persistence.  I chose to stuff my price data into a PostreSQL database using the pg module.  I was pretty happy with the process, although if the project grew any bigger I would need to employ aspects to deal with the error handling boilerplate.


/**
 * Save price data into a postgres database.
 * @param err callback
 * @param connectConfig The connection parameters
 * @param symbol the symbol in which to append the data
 * @param price the price data object
 * @param complete callback
 */
exports.savePriceData = function(connectConfig, symbol, price, complete) {
    var errorMsg = 'Error saving price data for symbol ' + symbol;
    pg.connect(connectConfig, function(err, client, done) {
        if (err) {
            console.error(errorMsg, err);
            return complete(err);
        }
        var stream = client.copyFrom('COPY '
            + symbol
            + ' (timestamp, open, high, low, close, volume, interest) FROM STDIN WITH DELIMITER \'|\' NULL \'\'');
        stream.on('close', function() {
            console.log('Data load complete for symbol: ' + symbol);
            return complete();
        });
        stream.on('error', function(err) {
            console.error(errorMsg, err);
            return complete(err);
        });
        for (var i in price) {
            var r = price[i];
            stream.write(i + '|' + r[0] + '|' + r[1] + '|' + r[2] + '|' + r[3] + '|' + r[4] + '|' + r[5] + '\n');
        }
        stream.end();
        done();
        complete();
    });
};

As I have prepared all of the data in the price object, it’s optimal to perform a bulk copy.  The connect function retrieves a connection for us from the pool given a connection configuration.  The callback provides us with an error object, a client for making queries, and a callback that *must* be called to free up the connection.  Note in this case we employ the ‘copyFrom’ function to prepare our bulk copy and write to the resulting ‘stream’ object.  As you can see the error handling gets a cumbersome.

After tying everything together I was very please with how quickly Node.js fetched, processed, and persisted the scrapped data.  It’s quite satisfying to watch log messages scroll rapidly through the console as this asynchronous, non-blocking language executes.  I was able to scrape and persist two dozen contracts in about 10 seconds… and I never had to view a banner ad.

Source:http://cfusting.wordpress.com/2013/10/30/scraping-the-web-for-commodity-futures-contract-data/

Web Scraping - Data Collection or Illegal Activity?

Web Scraping Defined

We've all heard the term "web scraping" but what is this thing and why should we really care about it?  Web scraping refers to an application that is programmed to simulate human web surfing by accessing websites on behalf of its "user" and collecting large amounts of data that would typically be difficult for the end user to access.  Web scrapers process the unstructured or semi-structured data pages of targeted websites and convert the data into a structured format.  Once the data is in a structured format, the user can extract or manipulate the data with ease.  Web scraping is very similar to web indexing (used by most search engines), but the end motivation is typically much different.  Whereas web indexing is used to help make search engines more efficient, web scraping is typically used for different reasons like change detection, market research, data monitoring, and in some cases, theft.

Why Web Scrape?

There are lots of reasons people (or companies) want to scrape websites, and there are tons of web scraping applications available today.  A quick Internet search will yield numerous web scraping tools written in just about any programming language you prefer.  In today's information-hungry environment, individuals and companies alike are willing to go to great lengths to gather information about all sorts of topics.  Imagine a company that would really like to gather some market research on one of their leading competitors...might they be tempted to invoke a web scraper that gathers all the information for them?  Or, what if someone wanted to find a vulnerable site that allowed otherwise not-so-free downloads?  Or, maybe a less than honest person might want to find a list of account numbers on a site that failed to properly secure them.  The list goes on and on.

I should mention that web scraping is not always a bad thing.  Some websites allow web scraping, but many do not.  It's important to know what a website allows and prohibits before you scrape it.

The Problem With Web Scraping

Web scraping rides a fine line between collecting information and stealing information.  Most websites have a copyright disclosure statement that legally protects their website information.  It's up to the reader/user/scraper to read these disclosure statements and follow along legally and ethically.  In fact, the F5.com website presents the following copyright disclosure:  "All content included on this site, such as text, graphics, logos, button icons, images, audio clips, and software, including the compilation thereof (meaning the collection, arrangement, and assembly), is the property of F5 Networks, Inc., or its content and software suppliers, except as may be stated otherwise, and is protected by U.S. and international copyright laws."  It goes on to say, "We reserve the right to make changes to our site and these disclaimers, terms, and conditions at any time."

So, scraper beware!  There have been many court cases where web scraping turned into felony offenses.  One case involved an online activist who scraped the MIT website and ultimately downloaded millions of academic articles.  This guy is now free on bond, but faces dozens of years in prison and $1 million if convicted.  Another case involves a real estate company who illegally scraped listings and photos from a competitor in an attempt to gain a lead in the market.  Then, there's the case of a regional software company that was convicted of illegally scraping a major database company's websites in order to gain a competitive edge.  The software company had to pay a $20 million fine and the guilty scraper is serving three years probation.  Finally, there's the case of a medical website that hosted sensitive patient information.  In this case, several patients had posted personal drug listings and other private information on closed forums located on the medical website.  The website was scraped by a media-research firm, and all this information was suddenly public.

While many illegal web scrapers have been caught by the authorities, many more have never been caught and still run loose on websites around the world.  As you can see, it's increasingly important to guard against this activity.  After all, the information on your website belongs to you, and you don't want anyone else taking it without your permission.

The Good News

As we've noted, web scraping is a real problem for many companies today.  The good news is that F5 has web scraping protection built into the Application Security Manager (ASM) of its BIG-IP product family.  As you can see in the screenshot below, the ASM provides web scraping protection against bots, session opening anomalies, session transaction anomalies, and IP address whitelisting.

The bot detection works with clients that accept cookies and process JavaScript.  It counts the client's page consumption speed and declares a client as a bot if a certain number of page changes happen within a given time interval.  The session opening anomaly spots web scrapers that do not accept cookies or process JavaScript.  It counts the number of sessions opened during a given time interval and declares the client as a scraper if the maximum threshold is exceeded.  The session transaction anomaly detects valid sessions that visit the site much more than other clients.  This defense is looking at a bigger picture and it blocks sessions that exceed a calculated baseline number that is derived from a current session table.  The IP address whitelist allows known friendly bots and crawlers (i.e. Google, Bing, Yahoo, Ask, etc), and this list can be populated as needed to fit the needs of your organization.

I won't go into all the details here because I'll have some future articles that dive into the details of how the ASM protects against these types of web scraping capabilities.  But, suffice it to say, ASM does a great job of protecting your website against the problem of web scraping.

ASM Web Scrape

I'm sure as you studied the screenshot above you also noticed lots of other protection capabilities the ASM provides...brute force attack prevention, customized attack signatures, Denial of Service protection, etc.  You might be wondering how it does all that stuff as well.  Give us a little feedback on the topics you would like to see, and we'll start posting some targeted tech tips for you!

Thanks for reading this introductory web scraping article...and, be sure to come back for the deeper look into how the ASM is configured to handle this problem. For more information, check out this video from Peter Silva where he discusses ASM botnet and web scraping defense.

Source:https://devcentral.f5.com/articles/web-scraping-data-collection-or-illegal-activity#.Ur5Qg849BIA

Essay Writing Services Certainly Are A Great Boon for Site Owners

Nowadays, it is universally decided this 1 of the finest means of increasing traffic to your website is through article submissions. Well crafted, informative and Search Engine Optimisation ripe articles can turn around the history and face of any internet site. However, like a site inventor and owner, you might not have time, resources or even the knack for creative writing. Visiting Reprint articles hijacked by text link advertisements – Excellent for authors! perhaps provides lessons you should tell your boss.

Although you may be an expert on your topic, you might still neglect to produce an informative and logical report on a subject related to your site either because of shortage of time or simply because your skills might lie in still another area entirely. Since there are a large number of essay writing organizations that may produce all kinds of personalized information for your website according to your requirements and needs, nevertheless, there’s no need for one to despair in such a situation.

Custom composition writing companies today may make any such thing ranging from formerly researched and written theses, term papers and documents to articles and websites for sites, organizations, people and individuals according to their needs and demands. If you think anything, you will possibly claim to read about hamilelik masaj. Many web-based essay writing firms use graduates as well as post graduates that are experts within their fields. If you believe anything, you will possibly fancy to compare about remove frames.

These composition writing companies give you well researched, well written and original write ups on almost any topic under sunlight. Most of these businesses hire people who’ve graduated in their respective subjects, so you can be assured that the article on Technology isn’t being compiled by someone who keeps his or her degree in Philosophy. It is akin to obtaining a expert to publish for you. Get more on a partner wiki – Visit this web page: Fantastic Massage Tips For A Relaxing Session » Espace24 social networking. Another good thing about these essay writing companies is the fact that most of the good ones are incredibly professional.

After each article is created, it is generally speaking check by still another expert and then scanned by numerous plagiarism screening softwares like copyscape etcetera, so there are no likelihood of your getting an article that is both filled with errors or copied from elsewhere. At the same time, internet based essay writing organizations conform firmly to their deadlines, giving you your when arranged and article as, and many refuse to just take payment in case the delivery is later than specified.

You may think that something with all the previously discussed rewards would cost you an arm and a leg, but you would be happily surprised at the reasonable amounts that you’ll have to purchase your write-ups. Due to the growth of the number of professional o-nline article writing services nearly anybody and everyone are able to get articles written to appeal to their particular needs and demands.

Composition Writing Services Certainly Are A Good Blessing for Website Owners

Source:http://www.x-ray-technician-guide.com/essay-writing-services-certainly-are-a-great-boon-for-site-owners/


Thursday, 26 December 2013

Writing eCommerce Product Descriptions That Sell, Sell, Sell...

Even in the days of massive retail sites with thousands of products that are often "bulk uploaded" from a database, product descriptions are still a critical factor in deciding whether a visitor to an ecommerce store buys or not. Working together, the description and photos should give the website visitor all the same information, and the same sense of desire, that they'd get by viewing the product in a physical store. If they're left in any doubt about exactly what the features of the product are, or how it will benefit them, they'll move on without hesitation.

Writing product descriptions, along with having great product photos, is therefore a vital tool which the store owner can use to take control of their sales.

Writing Product Descriptions Writing Product Descriptions Writing product descriptions is an art, but once mastered it can provide SEO benefits as well as compelling visitors to click on the 'buy' button. A best practice includes doing AB or multivariate testing of different product descriptions to increase their effectiveness. For example, the above test from Talbot recovery tested only text changes on this signup page. Their testing group Fathom recorded a 184% improvement with the copy on the version to the right (with more bullet points) at a 99% confidence level. (Test results supplied by Which Test Won.)

The Challenge Of Writing Effective Product Descriptions

Product descriptions are tough to write well, because in a short space of typically 60-80 words they need to:

    Persuasively describe the benefits of the product and what problem it solves

    Describe any important features which aren't clear from the product photos

    Use SEO keyphrases to make the page rank more highly in search engines

    Differentiate the product from similar ones in a way that encourages purchase

    Perhaps explain why the product should be purchased from that website versus others

Faced with such a challenge, website owners might be tempted to use the standard description provided by the manufacturer, or copy text from a competitor's website. But this could lead to Google penalizing the page as it would contain duplicate content, and it misses a big opportunity to give the ecommerce site a unique voice which builds the brand and keeps visitors coming back.

There are plenty of professional copywriters who specialize in writing product descriptions for ecommerce, who the job can be outsourced to. Yet many online store owners will take the view that no-one knows the product or market as well as they do, in which case there are a few things to consider when writing product descriptions that sell.

Establishing The 'Voice' Of The Product

To set the tone when writing product descriptions, knowing the audience is half the battle - Moms in their 40s will respond to a different style than teenage boys do. But the voice of the tone is important too. For example, Moms in their 40s might be the target market for a fashionable handbag or a game for their child - but those products wouldn't be written about in the same way.

The identity of the brand should also be considered. For example, the J. Peterman Company gives products in their men's and women's ranges a different voice, but the brand's tone is so strong it'd be instantly recognizable even out of context.

Structuring the description

It can be a good idea to separate out information which may not be emotionally captivating, but still important to know, such as product dimensions, so it can be easily browsed without getting in the way of the main product description.  This approach follows the typical buying cycle or funnel through which each buyer moves as they build their interest in a product, which typically results in a desire for more detailed information as the buyer approaches the purchasing stage. The British electrical retailer Comet does this well, by having a separate 'technical specifications' panel. This allows them to concentrate on writing product descriptions that emphasize the benefits, knowing that the nitty-gritty is all in place.

The structure of the main description should be kept in mind too - opening with an attention-grabbing question or statement, moving on to describing how it can fit into the customer's life, and ending with a strong call-to-action. A call-to-action is the customer's reason to take action by clicking the 'buy' button right now: this could include 'free shipping this week only' or 'enter this code for 20% off your purchase'.

Keeping this structure in mind also helps to keep the inspiration flowing when writing product descriptions for tens or hundreds of items.

Writing Product Descriptions That Turn Features Into Benefits

It's often said that people don't buy a drill, they buy a hole in a wall. This means that people buy products to solve a problem, so writing product descriptions is all about showing how the features of the product will benefit the buyer.

That means that it's of no real interest in itself that a shaving foam contains extracts of Aloe Vera (feature), but it becomes relevant when mentioning that it means it won't irritate your skin like other products might (benefit).

The same feature might offer a different benefit depending on the target audience. For example, a 100% cotton t-shirt might have the benefits of being:

    1. Easy to wash (for mothers)

    2. Lightweight to battle the summer heat (for women in their 20s planning a vacation)

    3. Environmentally compatible because it's made of man-made fibers (for an audience which is concerned about environmental impact)

Econsultancy has some great examples of product descriptions which effectively sell the benefits and give the reader a vision of how the product will fit into their lifestyle.

Writing Product Descriptions With SEO In Mind

A page of original content about a product is a boon for getting a page indexed in search engines. While writing product descriptions is primarily an exercise in appealing to the potential customer, a few simple considerations will make sure the SEO potential is maximized too:

    Include a headline which uses the targeted SEO keyphrase, but also grabs the reader - just using the name of the product is a missed opportunity

    Use keywords selectively in the description. So if the keyphrase is 'men's cutthroat razor', it's a missed opportunity to call it a 'shaving device' in the description

    Make use of image captions. Rather than just the product name, this is another chance to include a keyword-rich sentence which also appeals to the customer

    Include the keyword in the title and description meta-tags in the source code of the web page

    Include the keyword in alt tags of any images, in title tags associated with links out from the description (if links to other sections are used) and also in the anchor text of any links pointing to the page

    Assign high level headline tags like H1, h3 or H3 to headlines and subheads containing the keywords

    Use the keywords in the file (URL) names associated with the page (as part of all of the page depending on the naming structure associated with the site's shopping cart)

    Consider using keywords in tags associated with the page

While this article doesn't focus on keyword research, it is a wise idea to use search terms which fit multiple parameters including:

    1. Describing the product in the same way  the target audience uses when looking for the product (often gained from the site's analytics programs and using a keyword research tool

    2. Looking for search volume in a keyword research tool to ensure there is sufficient search volume for these terms

    3. Assessing the level of competition for the term (either through pay per click estimators, analyzing the top search results and looking at factors like competitor page rank, number of items in the index, or competitor traffic using audit tools such as Compete.com)

How To Constantly Improve Product Description Writing

While using the above approach as a starting point, there will come a time when the more diligent eCommerce marketer will subject their product descriptions to some type of testing. Typically this means using some type of web page optimization program (or using a pay per click campaign with alternate landing pages) that can provide testing of the page against an alternate. While there are many tools for this (Google Website Optimizer is an example of a fully featured tool that is available free), the important point is to subject descriptions to the same rigor of testing that other elements of the page are such as "buy buttons" or offers. And while this type of process may seem to yield small improvements, if done across a large number of pages, with high traffic patterns or over a long period of time, the cumulative results can be quite profitable.

Source:http://www.ultracart.com/resources/articles/writing-ecommerce-product-descriptions/

Wednesday, 25 December 2013

Using the HubSpot API and CasperJS for Contact Data Scraping

We recently had a client that needed customer data from their web store to be accessible from their HubSpot account. They needed each person who ordered a product to be put in HubSpot as a Contact, along with the customer’s order number, purchase date, price, and a list of products that were ordered.

Typically, a developer would incorporate the HubSpot API into the web store code natively.  In this case, the client’s web store provider is located in a country many time zones away, making it difficult to solve problems outside of basic web store functions. Additionally, the web store platform does not have an available API that would allow us to easily export data in a computer parsable manner.

As a HubSpot and inbound marketing partner for the client, we decided to bypass the third party development firm entirely by writing scripts to scrape data from the web store and send that data to HubSpot. Today, these scripts are hosted on the server and run daily, automatically scraping and importing data from the previous day’s orders.

This method requires two components: a web scraper, and a script that can push data to HubSpot using their new Contact API.

Web Scraper

CasperJSThe web scraper uses CasperJS to authenticate with the web store through a headless browser, navigate to the recent orders screen, and enter date filters. Our only difficulty was working around the antiquated and non-semantic web store markup to programmatically select the correct buttons and tables. In fact, we assumed writing the scraper would be the hardest part of the project, but we were pleasantly surprised by the simplicity and reliability of CasperJS. We chose to output the data in CSV format to standard out, so the data could be piped to a CSV file on the server, allowing a separate script to feed the data into HubSpot.

HubSpot Contacts API

This part ended up being much harder than it needed to be. HubSpot has made a few changes to their API recently, and we were not sure which parts needed to be used and which parts are set to be deprecated. Initially, we chose to use the HubSpot PHP API Wrapper – haPiHP with the Leads API component. This requires that a custom API endpoint be created on HubSpot, which they call forms. Using this API, data can be posted to the endpoint in key-value pairs, which the form will accept and convert into Leads.

Ideally, the scripts run once a day and post data from the previous day’s orders, but we ran into a problem with the initial post. Since the web store does not have an export function, we had to use the script to access all the data from previous sales. After running the script on a few hundred orders, HubSpot informed us that a Leads were being created by sending us email notifications — over 150,000 of them.

Unfortunately, each email contained a Lead with blank data, so the necessary data was not pushed into HubSpot.  On top of that, the API went awry and left our email provider with no option but to queue all emails from HubSpot. We were not able to communicate via email with them for a few days. At first, we assumed that a job had been corrupted on their end and that there would be no end to the emails. After a phone call with the HubSpot development team, we were convinced that the emails would stop and that we actually needed to switch to the Contacts API and away from the Leads API. We also learned that the Leads API is asynchronous and that the Contact API was not, which would allow us to immediately see if the data was posted correctly. Best of all, there is no email notification when a Contact is created through the Contacts API.

In trying to switch to the other API calls, we found two issues. First, we had been using the custom form API endpoint on a number of projects, and it was unclear whether that part of the API was slated to be deprecated.

After some back and forth with the HubSpot dev team, we learned this:

    I would encourage you not to use those endpoints to push data in, unless that data is form submission which you are capturing. If you simply want to sync data in from one DB to the other, I strongly encourage you to use the “add contact” and “update contact” API methods.

    The custom endpoints won’t be going away per se, and there are newer versions of that process in the Forms API, but it’s not really the intended use.

So we will continue using the custom form endpoint to push data in until it stops working … per se.

The second issue we encountered was that, of the two API key generators in HubSpot, one of them does not work with the Contacts API, and the other is hidden. In the client’s main HubSpot portal, you can generate a token by clicking:

Your Name → Settings → API Access

The token provided will not allow the use of the Contact API, and the PHP wrapper returns a message that the key is not valid.

After more back and forth with the HubSpot dev team, we learned that the key required can be found by going to https://app.hubspot.com/keys/get. There is no link to this in the client’s main HubSpot portal which was causing a lot of confusion.

Wrapping Up

From here, the process was pretty simple. A Contact will be rejected if it already exists, unlike with the Lead API. We had to implement a simple Create or Update method which looks something like this: HubSpot Contacts API – Create or Update. Once the two scripts were in place on the server, we set a cron job to run the scraper and pipe the output to a CSV. Once that completes, the PHP script runs and pushes the data to HubSpot.

Source:http://www.sailabs.co/using-the-hubspot-api-and-casperjs-for-contact-data-scraping-474/

The 5 minute guide to scraping data from PDFs

Every data journalist knows the feeling: you’re working on a massive project, you’ve finally found the data… but it is in PDF format.

Last month I had a crime reporter from Cape Town in one of my data journalism training sessions, who had managed to get around 60 PDF pages worth of stats out the relevant authorities. She explored and analyzed them by hand, which took days. That set me thinking. The problem can’t be all that uncommon and there must be a good few data journalists out there who could use a quick guide to scraping spreadsheets from PDFs.

The ideal of course is not getting your data in PDF form in the first place. It all comes from the same database, and it shouldn’t be any effort for the people concerned to save the same data in an Excel spreadsheet. The unfortunate truth however is that a lot of officials aren’t willing to do that out of fear that you’ll tinker with their data.

There are some web services like cometdocs or pdftoexcelonline that could help you out. Or you could try to build a scraper yourself, but then you have to read Paul Bradshaw‘s Scraping for Journalists first.

Tabula

My favourite tool though is Tabula. Tabula describes itself as “a tool for liberating data tables trapped inside PDF files”. It’s fairly easy to use too. All you have to do is import your PDF, select your data, push a button and there is your spreadsheet! You save the scraped page in CSV and from there you can import it into any spreadsheet program.

One small problem is that Tabula only scrapes one PDF page at a time. So 10 PDF pages worth of data gives you 10 spreadsheets.

Installing Tabula is a piece of cake: download, unzip and run. Tabula is written in Java (so you should have Java installed) and uses Ruby for scraping, which is one of the languages used on Scraperwiki to build tailor-made PDF scrapers.

Source:http://memeburn.com/2013/11/the-5-minute-guide-to-scraping-data-from-pdfs/

Tuesday, 17 December 2013

Learn More about Data Entry and Forms Processing

For any organization, data is a key asset. Paper documents increase clutter and managing them is tedious and expensive, taking up a lot of time and resources.  To provide their employees with the information they need to perform their tasks, data streamlined to ensure better workflow. Important documents must be preserved in formats that can be easily accessed and shared. With businesses and other organizations moving from a paper-based environment to a computerized world, digitizing of information with data entry and forms processing has taken center stage.

Data entry involves inserting raw data in to appropriate data fields of data base by manual keyboard typing where as forms processing extracting information from printed document or handwritten document to a data base system by using optical character recognition (OCR) tools and data validation routines. Business organizations that rely on data entry services include:

    Banking and financial institutions
    Market research firms
    Law firms
    Engineering and manufacturing firms
    Healthcare facilities such as hospitals, clinics and family practices
    Real estate firms
    Government agencies and other organizations

Comprehensive Data Management Services

Data processing tasks is best done by professionals who specialize in  the task and can ensure top accuracy in custom turnaround time. Data entry and forms processing services are available to capture, digitize and process input data such as web forms, fax, e-mails, scanned images and hardcopy documents. It’s important to partner with an established service provider that is well-equipped with a team of experts working with the latest software/hardware tools to ensure efficiency.

When it comes to data entry, you can get help for processing both electronic and printed data. For electronic data, professionals use latest conversion tools for converting electronic data to another digital format of your choice. For the data in printed format, advanced scanning services are available to convert it into digital format. The output goes through a three-level quality check to ensure it is error-free.

Data entry services are provided for:

    Catalogues/manuals
    Accounting and bookkeeping
    Insurance claims/patient records
    Mailing lists
    Directories/Yellow pages
    Feedback/Customer satisfaction cards
    Dictionaries/Encyclopedias
    Application/survey/research forms
    Aperture cards

Software tools such as OCR and ICR (Intelligent Character Recognition) software are used to provide faster, more accurate and more efficient results than keystroke data entry. OCR retrieves important information and formats it for reusability.  Forms processing services are available for:

    Product registration forms
    Subscription/application forms
    Order forms
    Insurance claims
    Credit card applications
    Airway/shipping documents
    University registration forms
    Competition slips/prize draw slips
    Employee evaluation
    Accounting/vouchers

Documents can also be converted to various electronic formats to improve usability.

Source:http://managedoutsource.blogspot.in/2013/12/learn-more-about-data-entry-and-forms_10.html

More Information of Linkedin Data Extraction Services

Monitoring of several discussions on LinkedIn, we saw more and more of the same name and was re-grown. The most widely recognized for BI content Data Warehousing Institute? Executives and professionals around the world for education, training, certification, news, and research supplies. 15 years ago in response Business Intelligence and data warehousing is the largest educational institutions.

World written by the director of research and services, provides readers with a number of online conferences, whitepaper download reports for the industry. Many LinkedIn members, information management and popular resource for people on the news were bilateral. Claiming that the “latest news, commentary and feature material, information technology and business to the reader the choice of education, and its last year.

The original reporting, online radio shows, informative web seminar program, whitepapers provides resources for IT professionals in the field of online education. Provide daily informative newsletters on a variety of materials, it makes sense why the information has a strong position in bilateral domains.

Provides global coverage of the ecosystem is bilateral. Industry coverage, and business intelligence, performance management, data warehousing, data integration and data quality on the supply of funds. B-Eye Network also a comprehensive course covering all areas of business intelligence its ecosystem.

More than one occasion, though perhaps not quite in the context of bilateral, cropped. He is an innovator, writer, teacher, and lecturer in the field of data storage, known worldwide as a consultant. They are convinced that meaningful long-term data warehouses must be designed and maintained quickly. His books on dimensional design techniques have been best sellers in data warehousing.

To date more than articles and wrote columns for Intelligent Enterprise and its predecessors, the Reader’s Choice Award five years in a row. Practical Techniques for the extraction, purification, compliant, and distributed data. Discussion was quite frequently. Author of a world renowned expert and speaker on data warehousing, it is widely recognized.

In addition to writing over books and articles, account, business intelligence network, Institute and Data Management Review is a monthly columnist. Yes, my internet friends and social networks, we have a problem, and it’s a big problem! And it’s too late to fix it. We’ve already lost our privacy. If you, if any, secrets. Social networking sites like because they are the main culprits have been with us the longest.

Small bits and pieces of information you have provided on these sites, discount cards that you used on retailers, e-mail you the unsecured is transmitted via a network. Google and other search the web and your mobile phone records conversations can all this data collected by bits and he has shown how easy it is to a social security number.

Death Master File, Social Security Administration, a public database, provides useful information once a birthday, zip code, birth places holds, schools attended, etc. The data you enter is forever. Internet Archive Mail is scanned. Who will eventually receive your information, a large data-analysis company, and market? The current economic climate requires retailers and all products.

Source:http://weekendnewsnow.com/more-information-of-linkedin-data-extraction-services/

Saturday, 14 December 2013

Outsourcing Data Entry Services Advantages & Needs

Most important is the basic needs of each application requires an extraordinary potential for data entry and helps increase performance is the standard techniek. Work a lot easier in dealing with the enormous changes that have occurred as a result of the region has become. The best alternative that data entry business and prospects of today an extremely important area that helps performance is finding the standard . Work a lot easier in dealing with the enormous changes that have occurred as a result of the region has become .

It is now a growing trend days to produce reliable service provider who offers more of his work, data entry outsourcing . Reason behind the many businesses and organizations that want to outsource these services to offshore locales is true that the services highly certified professionals is cost effective and timely contribution to the field servicesdataentryindia.com is unstoppable.

Key benefits of outsourcing data entry services in India.

In today’s world, a decisive role in the development of Information Technology organizations. It brings success and makes the hair stand characteristics. As part of this revolution with the massive outsourcing of these services typically entails.

• Reliable data source: As part of outsourcing, companies are completely innocent good information for organizational requirements that may be used to get. It finds smoothness in the flow of the work assigned and no waste of time.

• To minimize costs and maximize your ROI: data entry outsourcing services to companies participating in the processes of other high profile brings an ideal purchase. In this way, waste of corporate resources and step on the efficiency and productivity is too short. As a result, major benefits for the obvious results.

• Quality of work, BPO outsourcing services demand as the other big advantage is the fast track-caliber work.

• A service: Confederate service outsourcing these services, which include, image scanning, doc conversion, image processing, data processing, data security and greater OCR scanning, the number of PDF is an idealist potpourri.

Whether small or large, data entry services can definitely make a difference in your business sing standards. The high degree of accuracy, timely deliveries, total confidentiality and cost-effective data entry services leveren.zet data and other information for your business.

It is now a growing trend days to produce reliable service provider who offers more of his work, data entry outsourcing work.

Key benefits of outsourcing data entry services in India.

In today’s world, a decisive role in the development of Information Technology organizations. It brings success and makes the hair stand characteristics. As part of this revolution with the massive outsourcing of these services typically entails.

• Reliable data source: As part of outsourcing, companies are completely innocent good information for organizational requirements that may be used to get. It finds smoothness in the flow of the work assigned and no waste of time. In this way, waste of corporate resources and step on the efficiency and productivity is too short. As a result, major benefits for the obvious results.

• A service: Confederate service outsourcing these services, which include, image scanning, doc conversion, image processing, data processing, data security and greater OCR scanning, the number of PDF is an idealist potpourri.

Whether small or large, data entry services can definitely make a difference in your business sing standards. The high degree of accuracy, timely deliveries, total confidentiality and cost-effective data entry services can provide. Here, the high quality and low price, high volume services that best for outsourcing data entry services to the widest range.

Source:http://why-outsource.net/outsourcing-data-entry-services-advantages-needs/

How the growth of branded content is fuelling a distribution market

Through content marketing, millions of businesses large and small have joined in a game publishers have known for two decades – that is, bringing eyeballs to web content. The increased demand is creating a market that supplies content distribution.

The Custom Content Council estimates that nearly $44bn will be spent on branded content this year. Now marketers are focusing on ways to ensure that content gets in front of the right people. The editor-in-chief of an Intel-branded content site, inteliq.com, supports this view: "You need to spend just as much time with promotion as production, in fact probably more."

This need is fuelling tremendous creativity on the part of marketing managers, agencies, entrepreneurs and publishers. Their response has taken a number of formats, but these five are among the most significant:

1) Native advertising

Call it sponsored content or online advertorials, these insertions in websites large and small make up a $1.9bn market this year that is growing fast. Big blogs like BuzzFeed, Gawker and Mashable are doing it in a big way, but so are old stalwart websites like the New York Times, The Economist and Wall Street Journal. Sometimes this involves a close partnership between site and advertiser (many sites have launched in-house creative agencies to manage it), but it can also be done with little to no involvement from the domain where the content will appear. Brands love it because their content gets (almost) equal billing as the editorial content on sites that attract their audiences already.

2) Promotion wizards

Talk to some very successful content marketers and they'll frequently tell you that one of their first specialised content marketing hires was someone to focus on content distribution. If you shake a tree, a dozen content creators will fall out, but the kind of skills behind promoting content are only now gaining traction in organisations. More and more brands are looking for people who can take a content engine and drive it. And these professionals are always on the hunt for tools and techniques to help them get content out there, measure performance and optimise.

3) Marketing automation systems

Eloqua, Pardot, Marketo, Silverpop, Hubspot – all of the big marketing automation systems bring a big promise: scale your marketing efforts and do it smarter. But all of these systems have one thing in common: they require content, and generate results when that content gets consumed. Marketers responsible for generating leads need to get in front of prospects, get them to download content, bring them to webpages – anything to link relevant buyers to higher lead scores that trigger sales calls.

4) Mobile

If anything, this is accelerating the focus on content distribution, if not driving it. Few internet companies are as determined to perform for mobile users as the social networks. And frequently their only monetisation play on mobile is via helping brands distribute or promote their content in-feed. Thus Facebook, Twitter and LinkedIn all have strong and growing products that amplify brands' social content. In fact, Facebook's resurgence following a lousy post-IPO period seems closely linked to its in-stream mobile ads, which often feature branded content.

5. Distribution vendors

Along with the publications and social networks helping brands distribute content, a huge list of technology vendors are keen to bring programmatic ad buying kinds of efficiencies to content distribution. Outbrain and Taboola allow marketers to put links to their content under or around stories on major news sites. Linksmart will soon allow marketers to do so within links in stories. PRNewswire and Cision offer syndication across thousands of sites. And OneSpot and Resonance HQ turn branded content into display advertisements that retarget people who've already started consuming a brand's content.

Many of these involve paid promotion or distribution, and there's reason to worry some marketers will return to a push advertising mindset. As marketers proceed to make distribution strategies, two pieces of advice: think very carefully how paid distribution complements organic distribution, and ensure you're measuring how the people you reach with paid content distribution behave thereafter.

Content distribution will be a space to watch, both for marketers and vendors.

Source:http://www.theguardian.com/media-network/media-network-blog/2013/dec/11/growth-branded-content-distribution-marketing

New handwriting recognition study compares usage and performance of OCR, ICR and manual data entry

Companies still collect much of their critical information via pen and paper, yet they ultimately need this information to be available in their digital systems. How much do companies rely on this handwritten data, and how do they then convert it to the digital data they ultimately need? This recent study by the Association for Information and Image Management  (AIIM) gives the answers:

Companies rely on handwritten data…

From AIIM

Of the companies surveyed for the study,  50% identified handwritten information as important to their business processes and a full 25% identified it as playing a key role for them. This data could be generated internally, through employee evaluations, culture surveys, site inspections, invoices, walk sheets, etc. It could also come from current or potential clients, in the form of newsletter signup sheets, registration forms, raffle tickets, satisfaction surveys, comment cards, mail-orders forms, purchase orders, and even signed contracts.

…But they struggle to convert handwriting to digital data

data extraction

While companies rely on handwriting to collect data, they need that data entered into their computerized systems quickly and accurately. How are they bridging the paper and digital worlds? The reality is that most companies live with a painful disconnect between their data collection methods and digital data needs. More than half of those surveyed enter the data by hand, while another third rely on OCR, and another 12% use ICR (intelligent character recognition). Before Captricity, there really were no other options available.

Manual Entry, OCR & ICR are Woefully Inadequate:

Unfortunately, all three options – OCR, ICR, and manual entry – come with significant trade-offs in terms of flexibility, turnaround time, and/or quality.

All of us at some point have dealt with manual data entry. It’s slow, often expensive, not always accurate, and can lead to significant lag times in getting your data. Many companies tell us they have backlogs of months or even years that their manual data entry staff just have not been able to deal with.

OCR (Optical Character Recognition) converts images of text into a digital, machine-readable format. While it tends to work adequately for well-scanned and printed text, it is extremely inaccurate for handwriting, and yields only a “bag of text”, not structured data. In other words, if you start with a scanned, typed form, OCR will give you a .txt file, not a data set. And if you start with a form filled in by hand, OCR will give you very little useful data at all.

ICR (Intelligent Character Recognition) was created to more accurately read handwriting. If you have ever filled out a driver’s license application or customs form, you’re already familiar with the highly-regulated ICR-ready forms, where boxes or “combs” (small vertical lines) separate each letter. While this system can read hand-printed text a bit better, it’s as limiting as a Scantron bubblesheet is to teachers who want to ask open-ended questions. ICR makes free-form text and short answers almost impossible. Furthermore, setting up ICR-compatible forms takes time and expertise, requiring significant up-front investment. For the vast majority of those organizations that rely on handwritten data, this is not a practical solution.  They are in a tough spot.

Enter Captricity for REAL handwriting recognition.

Our unique data capture technology was created specifically to turn any handwritten form, no matter the format, into digital data quickly and accurately. Multiple-choice, numerical response, likert scale, short answers and long answers are no problem! There is minimal set-up and no software to install.  Take your completed forms, scan or photograph them, and upload the images to Captricity. Our special mix of computer algorithms and human intelligence extracts data faster than manual re-keying and more accurately than OCR, with more flexibility than ICR.

Source:http://captricity.com/handwriting-recognition-study-on-ocr-icr-manual-data-entry/

A better authentication data validation service

Octagon Checkpoint data conversion and data validation service for early detection of potential compliance issues easier. Through this service, customers can watch the Octagon:

Original recognition: Octagon basic validation data-set (105 FDA Czech, plus 4 Janus checks) are performed. Customer will receive a standard report with any validation problems. Improved recognition: Octagon enhanced recognition that goes above and beyond the basic recognition and has an additional 200 Czech verify SDTM compliance. Improved customer deliverable prioritized list of issues arising during the audit.

Expert advice: Octagon consulting experts in consultation with an improved authentication is performed. Once the data sets are attached to octagon expert consultants work with clients to solve problems and refining processes.

Octagon improved compliance verification Czech enhanced by raising the bar on price offers. Our additional controls:

Both security and non-security standard defined in the domain covered SDTM Implementation Guide

SDTM contact all variables controlled vocabulary.

Fully ISO 8601 date / time to all forms of identification

Valid SDTM datasets and metadata between define.XML

Competitive offer that expensive software license or error-prone, manual controls require trust. Checkpoint octagon with automated technology that practical knowledge of CDISC SDTM combines provides a cost effective alternative

Perhaps the most basic sense, the system of how to fill in the blanks works, while an amendment or where the information appears to be invalid. Good defined set of rules, based on pre-programmed robot also enter data in the missing areas, or you can remove the special characters – regular without human intervention.

What they know to rest, which is usually directed to an existing customer base, is concentrated. From the perspective of the customer’s perspective, how they hear about new offers and promotions? Perhaps through a phone call or by post via email are still fairly common.

Realize that it is bad for all business and customer relationships are not difficult for the worse. The most valuable customers are the ones you already have. A good data validation system can help solve these issues with relative ease.

An input validation is an important safety kwestie.

Commerce Application Data Validation techniques.RDFa web pages, interceptor, RDF extractor, now, web application vulnerabilities (XSS or SQL injection) as more than two thirds of the security vulnerabilities to look at different solutions for e estimates. We RDF parser and validator annotation data for the elements: earth architecture includes the following components. Pilot study, the experimental results indicate that the proposed data validation service detection and prevention of attacks, some web applications.

Creating robust datasets for further analysis and the underlying data sources require a deep understanding of data quality problems. The complexity of managing large amounts of data must also be proven procedures, often from different sources.

Confirmation

Two types of validation techniques are applied to all projects to ensure data usability. 1 Raw data for data validation automatically scrape a time-out is complete. Before the data is the computational model or live applications has continued integrity of the data valid his. good defined set of rules, based on pre-programmed robot also enter data in the missing areas, or you can remove the special characters – regular without human intervention.

Source: http://www.clean2lean.com/167-a-better-authentication-data-validation-service-3

Thursday, 12 December 2013

A Simpler Website Content Writing Strategy – Primary Pages

At Computer Courage we build websites for a diverse group of customers, and we see a common challenge for our clients: writing site content takes a long time. Our websites feature a great content management system (based on WordPress) to take out all the technical challenges of managing content on a website, but the process of writing content is still a big job. Most of our clients don’t have copywriters on staff and either want to or have to write the content themselves. This process often leads to delays and frustrations. I’ve seen many wonderful website projects slowed down or even stopped because the client is busy and can’t find the time to write content for the website.
My Content Writing Challenge

I experienced the challenge of content creation when I built this website. I wanted to be thorough, explanatory, and SEO friendly so I did what I’ve always told clients to do: I built a “sitemap”. I drafted a long list of all the pages I wanted to write for the entire site and created their menu structure.  The result was a daunting list of about 55 pages I needed to write (see the full list on our sitemap).  I worked through them one by one, but it took months of writing at odd hours to complete while I ran the company and spent time with my family.
A Changing Web

In today’s modern web, visitors have less and less time to explore websites and are often using small mobile devices. This has created a trend toward simpler websites and shorter visits. Our analytics show that 50% of all visitor traffic is on the same 3-5 pages for the great majority of our customers. They rarely visit the deep content that cause so much hassle and delay our site launches for so long.
The New Content Strategy

This experience and research led me to a new, simpler strategy for content writing. I now advise my clients to focus on writing their “Primary Pages”, those 3-5 pages that really matter most to visitors, before going on to build a sitemap or worry about the deeper pages. Often these Primary Pages look something like this:

    Home Page
    About Us Page
    Products (or Services) Page(s)
    Contact Us/Conversion Page

With these pages written, many of our clients decide to launch the site as-is. A site with its Primary Pages in place feels simple and concise, not broken or incomplete. There are no “coming soon” messages, no placeholders, no broken links. Some clients choose to stop there and let their Primary Pages represent them for the long term, while others choose to keep writing behind the scenes, and launch their deep content later.

For Computer Courage, our “Primary Pages” are:

    Home
    About Us
    Computer Repair
    IT Support
    Web Design
    Contact Us

Whether you plan on keeping your content simple or doing a full sitemap, I strongly suggest starting with the Primary Pages and creating a functional website, then deciding how to proceed. Feel free to let us know how this has worked for you in our comments section below.

Source:http://www.computercourage.com/blog/a-simpler-website-content-writing-strategy-primary-pages/

Outsourcing Your Content Writing

When hiring someone to build a website for your business, there’s obviously a lot to consider both in terms of aesthetics and functionality. Though design and visuals tend to take centre stage during the planning phase of an average web build, one big decision you’ll have to make is whether to write your site’s content yourself or hire someone else to do it.

At first it may seem obvious: “Why would I pay someone else to write my content when I’m the one who knows my business best?”. The answer to this question is more complicated than you may expect: In order for your site to be ranked favourably by Google and appeal to the widest possible audience, your content must be both engaging and strategically written with keyword phrases relevant to your business and location.

What does this mean? Essentially, there’s a style in which you can write your text that will give your site a higher likelihood of being indexed by Google. Known as “on-page optimization” in search engine circles, this method relies on the strategic dispersal of keywords that are related to your field of work, both in the body text and the various “tags” that lead people to your site. If you write your content passively in the style that you would write anything else, you may not only be missing opportunities to get discovered on the search engines, but could be unknowingly provoking Google penalizations. Here are the fundamentals of on-page optimization:

Title Tags

A title tag is the blue clickable hyperlink that represents your website on a search results page, and is arguably the most important piece of real estate in terms of attracting traffic. Whichever keywords you use in your title tags help search engines determine what your site is about, and are cross-referenced with your body text to ensure that they’re relevant to the site’s overall subject matter. Google tends to truncate any title tags longer than 65-70 characters, so it’s important to use the real estate wisely with properly researched keywords.

Meta Descriptions

A meta description is the blurb of text that appears below the title tag on a search results page, essentially acting as a free advertisement for your site. You have approximately 160 characters to describe the content of the page you want the searcher to click on, and if you choose to leave the field blank, Google will automatically populate it with text from within the body of the page. Since Google doesn’t index text within meta descriptions, you have a bit more freedom to write in an unrestricted way.

Keyword Density (Within Body Text)

This is where things get slightly tricky. Google imposes strict penalties on any site that they feel is trying to game the system, with one of the most classic offending tactics in their eyes being “keyword stuffing” (overusing a keyword repetitively). If you create your content yourself, you run the risk of unwittingly using a keyword too many times, even if you’re writing naturally. You also must write each page in a way that is relevant to its corresponding title tag, so if you happen to accidentally go off topic in the body text, this can also result in penalization.

Outsourcing your website’s content writing is a wise decision that goes hand in hand with the design process. If you’re at all skeptical of your ability to adhere to the rules of search engine optimization, it might be a good idea to seek outside help.

Source: http://www.yabstadigital.com/outsourcing-your-content-writing/