Clojure Data Analysis Cookbook 2nd Edition Eric Rochester Instant Download
Clojure Data Analysis Cookbook 2nd Edition Eric Rochester Instant Download
Rochester download
https://ebookname.com/product/clojure-data-analysis-cookbook-2nd-
edition-eric-rochester/
https://ebookname.com/product/clojure-data-analysis-cookbook-1st-
edition-eric-rochester/
https://ebookname.com/product/clojure-data-structures-and-
algorithms-cookbook-25-recipes-to-deeply-understand-and-
implement-advanced-algorithms-in-clojure-1st-edition-rafik-
naccache/
https://ebookname.com/product/haskell-data-analysis-cookbook-1st-
edition-nishant-shukla/
https://ebookname.com/product/oral-microbiology-and-
immunology-2nd-edition-richard-j-lamont/
Alcohol No Ordinary Commodity Research and Public
Policy 2nd Edition Thomas F. Babor
https://ebookname.com/product/alcohol-no-ordinary-commodity-
research-and-public-policy-2nd-edition-thomas-f-babor/
https://ebookname.com/product/tresch-and-aronow-s-cardiovascular-
disease-in-the-elderly-5th-edition-wilbert-s-aronow-editor/
https://ebookname.com/product/the-norton-anthology-of-english-
literature-the-romantic-period-vol-d-10th-edition-stephen-
greenblatt/
https://ebookname.com/product/the-bomb-a-life-48940th-edition-
gerard-j-de-groot/
https://ebookname.com/product/fundamentals-of-project-management-
developing-core-competencies-to-help-outperform-the-
competition-2nd-ed-edition-james-p-lewis/
Air Plants Epiphytes and Aerial Gardens 1st Edition
David H. Benzing
https://ebookname.com/product/air-plants-epiphytes-and-aerial-
gardens-1st-edition-david-h-benzing/
Clojure Data Analysis
Cookbook
Second Edition
Eric Rochester
BIRMINGHAM - MUMBAI
Clojure Data Analysis Cookbook
Second Edition
All rights reserved. No part of this book may be reproduced, stored in a retrieval system,
or transmitted in any form or by any means, without the prior written permission of the
publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the
information presented. However, the information contained in this book is sold without
warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers
and distributors will be held liable for any damages caused or alleged to be caused directly
or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the
companies and products mentioned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this information.
ISBN 978-1-78439-029-7
www.packtpub.com
Credits
Reviewers Proofreaders
Vitomir Kovanovic Ameesha Green
Muktabh Mayank Srivastava Joel T. Johnson
Federico Tomassetti Samantha Lyon
Eric Rochester enjoys reading, writing, and spending time with his wife and kids. When
he’s not doing these things, he programs in a variety of languages and platforms, including
websites and systems in Python, and libraries for linguistics and statistics in C#. Currently,
he is exploring functional programming languages, including Clojure and Haskell. He works
at Scholars’ Lab in the library at the University of Virginia, helping humanities professors and
graduate students realize their digitally informed research agendas. He is also the author of
Mastering Clojure Data Analysis, Packt Publishing.
A special thanks to Jackie, Melina, and Micah. They’ve been patient and
supportive while I worked on this project. It is, in every way, for them.
About the Reviewers
His new venture is ParallelDots. It is a tool that allows any content archive to be presented
in a story using advanced techniques of NLP and machine learning. For publishers and
bloggers, it automatically creates a timeline of any event using their archive and presents
it in an interactive, intuitive, and easy-to-navigate interface on their webpage. You can find
him on LinkedIn at http://in.linkedin.com/in/muktabh/ and on Twitter at
@muktabh / @ParallelDots.
Federico Tomassetti has been programming since he was a child and has a PhD
in software engineering. He works as a consultant on model-driven development and
domain-specific languages, writes technical articles, teaches programming, and works as
a full-stack software engineer.
He has experience working in Italy, Germany, and Ireland, and he is currently working
at Groupon International.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub
files available? You can upgrade to the eBook version at www.PacktPub.com and as a print
book customer, you are entitled to a discount on the eBook copy. Get in touch with us at
[email protected] for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up
for a range of free newsletters and receive exclusive discounts and offers on Packt books
and eBooks.
TM
https://www2.packtpub.com/books/subscription/packtlib
Do you need instant solutions to your IT questions? PacktLib is Packt’s online digital book
library. Here, you can search, access, and read Packt’s entire library of books.
Why subscribe?
f Fully searchable across every book published by Packt
f Copy and paste, print, and bookmark content
f On demand and accessible via a web browser
ii
Table of Contents
iii
Table of Contents
iv
Table of Contents
v
Preface
Welcome to the second edition of Clojure Data Analysis Cookbook! It seems that books
become obsolete almost as quickly as software does, so here we have the opportunity to
keep things up-to-date and useful.
Moreover, the state of the art of data analysis is also still evolving and changing. The
techniques and technologies are being refined and improved. Hopefully, this book will capture
some of that. I've also added a new chapter on how to work with unstructured textual data.
In spite of these changes, some things have stayed the same. Clojure has further proven
itself to be an excellent environment to work with data. As a member of the lisp family of
languages, it inherits a flexibility and power that is hard to match. The concurrency and
parallelization features have further proven themselves as great tools for developing
software and analyzing data.
Clojure's usefulness for data analysis is further improved by a number of strong libraries.
Incanter provides a practical environment to work with data and perform statistical analysis.
Cascalog is an easy-to-use wrapper over Hadoop and Cascading. Finally, when you're ready
to publish your results, ClojureScript, an implementation of Clojure that generates JavaScript,
can help you to visualize your data in an effective and persuasive way.
Moreover, Clojure runs on the Java Virtual Machine (JVM), so any libraries written for Java are
available too. This gives Clojure an incredible amount of breadth and power.
I hope that this book will give you the tools and techniques you need to get answers from
your data.
Preface
Chapter 4, Improving Performance with Parallel Programming, covers how to use Clojure's
parallel processing capabilities to speed up the processing of data.
Chapter 5, Distributed Data Processing with Cascalog, covers how to use Cascalog as a
wrapper over Hadoop and the Cascading library to process large amounts of data distributed
over multiple computers.
Chapter 6, Working with Incanter Datasets, covers the basics of working with Incanter
datasets. Datasets are the core data structures used by Incanter, and understanding them is
necessary in order to use Incanter effectively.
Chapter 7, Statistical Data Analysis with Incanter, covers a variety of statistical processes and
tests used in data analysis. Some of these are quite simple, such as generating summary
statistics. Others are more complex, such as performing linear regressions and auditing data
with Benford's Law.
Chapter 8, Working with Mathematica and R, talks about how to set up Clojure in order to talk
to Mathematica or R. These are powerful data analysis systems, and we might want to use
them sometimes. This chapter will show you how to get these systems to work together, as
well as some tasks that you can perform once they are communicating.
Chapter 9, Clustering, Classifying, and Working with Weka, covers more advanced machine
learning techniques. In this chapter, we'll primarily use the Weka machine learning library.
Some recipes will discuss how to use it and the data structures its built on, while other recipes
will demonstrate machine learning algorithms.
Chapter 10, Working with Unstructured and Textual Data, looks at tools and techniques used
to extract information from the reams of unstructured, textual data.
Chapter 11, Graphing in Incanter, shows you how to generate graphs and other visualizations
in Incanter. These can be important for exploring and learning about your data and also for
publishing and presenting your results.
Chapter 12, Creating Charts for the Web, shows you how to set up a simple web application in
order to present findings from data analysis. It will include a number of recipes that leverage
the powerful D3 visualization library.
2
Preface
The other major piece of software that you'll need is Leiningen 2, which you can download
and install from http://leiningen.org/. Leiningen 2 is a tool used to manage Clojure
projects and their dependencies. It has become the de facto standard project tool in the
Clojure community.
Throughout this book, we'll use a number of other Clojure and Java libraries, including Clojure
itself. Leiningen will take care of downloading these for us as we need them.
You'll also need a text editor or Integrated Development Environment (IDE). If you already have
a text editor of your choice, you can probably use it. See http://clojure.org/getting_
started for tips and plugins for using your particular favorite environment. If you don't have a
preference, I'd suggest that you take a look at using Eclipse with Counterclockwise. There are
instructions to this set up at https://code.google.com/p/counterclockwise/.
That is all that's required. However, at various places throughout the book, some recipes will
access other software. The recipes in Chapter 8, Working with Mathematica and R, that are
related to Mathematica will require Mathematica, obviously, and those that are related to R
will require that. However, these programs won't be used in the rest of the book, and whether
you're interested in those recipes might depend on whether you already have this software.
Likewise, you don't have to be an expert on data analysis, although you should probably be
familiar with its tasks, processes, and techniques. While you might be able to glean enough
from these recipes to get started with, for it to be truly effective, you'll want to get a more
thorough introduction to this field.
3
Preface
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of
information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions,
pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Now, there
will be a new subdirectory named getting-data.
When we wish to draw your attention to a particular part of a code block, the relevant lines or
items are set in bold:
(defn watch-debugging
[input-file]
(let [reader (agent
(seque
(mapcat
lazy-read-csv
input-files)))
caster (agent nil)
sink (agent [])
counter (ref 0)
done (ref false)]
(add-watch caster :counter
(partial watch-caster counter))
(add-watch caster :debug debug-watch)
(send reader read-row caster sink done)
(wait-for-it 250 done)
{:results @sink
:count-watcher @counter}))
4
Preface
New terms and important words are shown in bold. Words that you see on the screen,
in menus or dialog boxes for example, appear in the text like this: "Take a look at the
Hadoop website for the Getting Started documentation of your version. Get a single
node setup working".
Reader feedback
Feedback from our readers is always welcome. Let us know what you think about this
book—what you liked or may have disliked. Reader feedback is important for us to develop
titles that you really get the most out of.
If there is a topic that you have expertise in and you are interested in either writing or
contributing to a book, see our author guide on www.packtpub.com/authors.
Customer support
Now that you are the proud owner of a Packt book, we have a number of things to help you to
get the most from your purchase.
5
Preface
Errata
Although we have taken every care to ensure the accuracy of our content, mistakes do happen.
If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be
grateful if you could report this to us. By doing so, you can save other readers from frustration
and help us improve subsequent versions of this book. If you find any errata, please report them
by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on
the Errata Submission Form link, and entering the details of your errata. Once your errata are
verified, your submission will be accepted and the errata will be uploaded to our website or
added to any list of existing errata under the Errata section of that title.
Piracy
Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt,
we take the protection of our copyright and licenses very seriously. If you come across any
illegal copies of our works, in any form, on the Internet, please provide us with the location
address or website name immediately so that we can pursue a remedy.
We appreciate your help in protecting our authors, and our ability to bring you
valuable content.
Questions
You can contact us at [email protected] if you are having a problem with any
aspect of the book, and we will do our best to address it.
6
Importing Data for
1
Analysis
In this chapter, we will cover the following recipes:
Introduction
There's not much data analysis that can be done without data, so the first step in any project
is to evaluate the data we have and the data that we need. Once we have some idea of what
we'll need, we have to figure out how to get it.
Importing Data for Analysis
Many of the recipes in this chapter and in this book use Incanter (http://incanter.org/)
to import the data and target Incanter datasets. Incanter is a library that is used for statistical
analysis and graphics in Clojure (similar to R) an open source language for statistical
computing (http://www.r-project.org/). Incanter might not be suitable for every task
(for example, we'll use the Weka library for machine learning later) but it is still an important
part of our toolkit for doing data analysis in Clojure. This chapter has a collection of recipes
that can be used to gather data and make it accessible to Clojure.
For the very first recipe, we'll take a look at how to start a new project. We'll start with very
simple formats such as comma-separated values (CSV) and move into reading data from
relational databases using JDBC. We'll examine more complicated data sources, such as
web scraping and linked data (RDF).
We'll use Leiningen for this (http://leiningen.org/). This has become a standard
package automation and management system.
Getting ready
Visit the Leiningen site and download the lein script. This will download the Leiningen JAR
file when it's needed. The instructions are clear, and it's a simple process.
How to do it...
To generate a new project, use the lein new command, passing the name of the project
to it:
$ lein new getting-data
Generating a project called getting-data based on the default template.
To see other templates (app, lein plugin, etc), try lein help new.
There will be a new subdirectory named getting-data. It will contain files with stubs for the
getting-data.core namespace and for tests.
8
Chapter 1
How it works...
The new project directory also contains a file named project.clj. This file contains
metadata about the project, such as its name, version, license, and more. It also contains
a list of the dependencies that our code will use, as shown in the following snippet. The
specifications that this file uses allow it to search Maven repositories and directories of
Clojure libraries (Clojars, https://clojars.org/) in order to download the project's
dependencies. Thus, it integrates well with Java's own packaging system as developed with
Maven (http://maven.apache.org/).
(defproject getting-data "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]])
In the Getting ready section of each recipe, we'll see the libraries that we need to list in the
:dependencies section of this file. Then, when you run any lein command, it will download
the dependencies first.
Getting ready
First, let's make sure that we have the correct libraries loaded. Here's how the project
Leiningen (https://github.com/technomancy/leiningen) project.clj file should
look (although you might be able to use more up-to-date versions of the dependencies):
(defproject getting-data "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.6.0"]
[incanter "1.5.5"]])
9
Importing Data for Analysis
Finally, downloaded a list of rest area locations from POI Factory at http://www.poi-
factory.com/node/6643. The data is in a file named data/RestAreasCombined(Ver.
BN).csv. The version designation might be different though, as the file is updated. You'll also
need to register on the site in order to download the data. The file contains this data, which is
the location and description of the rest stops along the highway:
-67.834062,46.141129,"REST AREA-FOLLOW SIGNS SB I-95 MM305","RR, PT,
Pets, HF"
-67.845906,46.138084,"REST AREA-FOLLOW SIGNS NB I-95 MM305","RR, PT,
Pets, HF"
-68.498471,45.659781,"TURNOUT NB I-95 MM249","Scenic Vista-NO
FACILITIES"
-68.534061,45.598464,"REST AREA SB I-95 MM240","RR, PT, Pets, HF"
In the project directory, we have to create a subdirectory named data and place the file in
this subdirectory.
I also created a copy of this file with a row listing the names of the columns and named it
RestAreasCombined(Ver.BN)-headers.csv.
How to do it…
1. Now, use the incanter.io/read-dataset function in your REPL:
user=> (read-dataset "data/RestAreasCombined(Ver.BJ).csv")
10
Discovering Diverse Content Through
Random Scribd Documents
England Janus is Jane or Iona, and at Iona in Scotland there
(1724). existed prior to the Reformation when they were
thrown into the sea, some remarkable petræ, to
wit, three noble marble globes placed in three stone basins, which the
inhabitants turned three times round according to the course of the
sun:[774] these were known as clacha brath or Stones of Judgment.
Tradition connects St. Columba of Iona in the Hebrides with Loch Aber,
or, as it was sometimes written, Loch Apor, and among the stories
which the honest Adamnan received and recorded “nothing doubting
from a certain religious, ancient priest,” is one to the effect that
Columba on a memorable occasion, turning aside to the nearest rock,
prayed a little while on bended knees, and rising up after prayer
blessed the brow of the same rock, from which thereupon water
bubbled up and flowed forth abundantly. With the twelve-mouthed
petra or rock of Moses which, according to Rabbinic tradition, followed
the Israelites into the wilderness, may be connoted the rock-gushing
fountain at Petrockstowe, Cornwall. That St. Patrick was Shony the
Ocean-deity, to whom the Hebrideans used to pour out libations, is
deducible from the legend that on the day of St. Patrick’s festival the
fish all rise from the sea, pass in procession before his altar, and then
disappear. The personality of the great St. Patrick of the Paddys is so
remarkably obscure that some hagiographers conclude there were
seven persons known by that name; others distinguish three, and
others recognise two, one of whom was known as “Sen Patrick,” i.e.,
the senile or senior Patrick: there is little doubt that the archetypal
Patrick was represented indifferently as young and old and as either
seven, three, two, or one: whence perhaps the perplexity and
confusion of the hagiographers.
It is not improbable that the Orchard Street at Westminster may mark
the site of a burial ground or “Peter’s Orchard,” similar to that which
was uncovered in Wiltshire in 1852: this was found on a farm at
Seagry, one part of which had immemorially been known as “Peter’s
Orchard”.[775] From generation to generation it had been handed
down that in a certain field on this farm a church was built upon the
site of an ancient heathen burial ground, and the persistence of the
heathen tradition is seemingly presumptive evidence, not only of
inestimable age, but of the memory of a pre-Christian Peter.
It may be assumed that “Peter’s Orchard” was originally an apple
orchard or an Avalon similar to the “Heaven’s Walls,” which were
discovered some years ago near Royston: these “walls,” immediately
contiguous to the Icknield or Acnal Way, were merely some strips of
unenclosed but cultivated land which in ancient deeds from time
immemorial had been called “Heaven’s Walls”. Traditional awe
attached to this spot, and village children were afraid to traverse it
after dark, when it was said to be frequented by supernatural beings:
in 1821 some labourers digging for gravel on this haunted spot
inadvertently discovered a wall enclosing a rectangular space
containing numerous deposits of sepulchral urns, and it then became
clear that here was one of those plots of ground environed by walls to
which the Romans gave the name of ustrinum.[776]
The old Welsh graveyards were frequently circular, and there is a
notable example of this at Llanfairfechan: the Llanfair here means holy
enclosure of Fair or Mairy, and it is probable that Fechan’s round
churchyard was a symbol of the Fire Ball or Fay King. At Fore in
Ireland the Solar wheel figures notably at the church of “Saint” Fechan
on an ancient doorway illustrated herewith. That the Latin ustrinum
was associated with the Uster or Easter of resurrection is likely
enough, for both Romans and Greeks had a practice of planting roses
in their graveyards: as late as 1724 the inhabitants of Ockley or Aclea
in Surrey had “a custom here, time immemorial, of planting rose trees
in the graves, especially by the young men and maidens that have lost
their lovers, and the churchyard is now full of them”.[777] That “The
Walls of Heaven” by Royston was associated with roses is implied by
the name Royston, which was evidently a rose-town, for it figures in
old records as Crux Roies, Croyrois, and Villa de cruce Rosia. The
expression “God’s Acre” still survives, seemingly from that remote time
when St. Kit of Royston, the pre-Christian “God,” was worshipped at
innumerable Godshills, Godstones, Gaddesdens, and Goodacres.
Fig. 421.—From The Age of the Saints
(Borlase, W. C.).
Tradition asserts that the abbey church of St. Peter’s at Westminster
occupies the site of a pagan temple to Apollo—the Etrurian form of
Apollo was Aplu, and there is no doubt that the sacred apple of the
Druids was the symbol of the “rubicund, radiant Elphin” or Apollo.
According to Malory, a certain Sir Patrise lies buried in Westminster,
and this knight came to his untoward end by eating an apple,
whereupon “suddenly he brast (burst)”:[778] from this parallel to the
story of St. Margaret erupting from a dragon it is probable that Sir
Patrise was the original patron of Westminster, or ancient Thorney
Eye. Patera was a generic title borne by the ministers at Apollo’s
shrines, and as glorious Apollo was certainly the Shine, it is more than
likely that Petersham Park at Sheen, where still stands a supposedly
Roman petra or altar-stone, was a park or enclosure sacred to Peter,
or, perhaps, to Patrise of the apple-bursting story.
The Romans applied the title Magonius to the Gaulish and British
Apollo; sometimes St. Patrick is mentioned as Magounus, and it is
probable that both these epithets are Latinised forms of the British
name Magon: the Druidic Magon who figures in the traditions of
Cumberland is in all probability the St. Mawgan whose church
neighbours that of the Maiden St. Columb in the Hundred of Pydar in
Cornwall.
One of the principal towns in Westmorland is Appleby, which was
known to the Romans as Abellaba: the Maiden Way of Westmorland
traverses Appleby, starting from a place called Kirkby Thore, and here
about 200 years ago was found the supposed “amulet or magical
spell,” illustrated in Fig. 422. The inscription upon the reverse is in
Runic characters, which some authorities have read as Thor Deus
Patrius; and if this be correct the effigy would seem to be that of the
solar Sir Patrise, for apparently the object in the right hand is an
apple: there is little doubt that the great Pater figures at Patterdale, at
Aspatria, and at the river Peterill, all of which are in this
neighbourhood, and in all probability the Holy Patrise or Aspatria was
represented by the culminating peak known as the “Old Man” of
Coniston.
Some experts read the legend on Fig. 422 as Thurgut Luetis, meaning
“the face or effigies of the God Thor”: according to others Thurgut
was the name of the moneyer or mintmaster; according to yet others
the coin was struck in honour of a Danish Admiral named Thurgut:
where there is such acute diversity of opinion it is permissible to
suggest that Thurgut—whose effigy is seemingly little suggestive of a
sea-dog—was originally the Three Good or the Three God, for the
figure’s sceptre is tipped by the three circles of Good Thought, Good
Deed, and Good Word. In Berkshire the country people, like the
Germans with their drei, say dree instead of three, and thus it may be
that the Apples Three, or the Apollos Three (for the ancients
recognised Three Apollos—the celestial, the terrestrial, and the
infernal) were worshipped at Appledre, or Appledore opposite
Barnstable, and at Appledur Comb or Appledurwell, a manor in the
parish of Godshill, Isle of Wight.
English “Appletons” are numerous, and at Derby is an Appletree which
was originally Appletrefelde: it is known that this Apple-Tree-Field
contained an apple-tree which was once the meeting place of the
Hundred or Shire division, and it is probable that
the two Apuldre’s of Devon served a similar public
use. As late as 1826 it was the custom, at Appleton
in Cheshire, “at the time of the wake to clip and
adorn an old hawthorn which till very lately stood in
the middle of the town. This ceremony is called the
bawming (dressing) of Appleton Thorn”.[779]
Doubtless Appleton Thorn was originally held in the
same estimation as the monument bushes of
Ireland, which are found for the most part in the
centre of road crossings. According to the
anonymous author of Irish Folklore,[780] these
ancient and solitary hawthorns are held in immense
veneration, and it would be considered profanation
to destroy them or even remove any of their Fig. 422.—From
branches: from these fairy and phooka-haunted A New
sites, a lady dressed in a long flowing white robe Description of
was often supposed to issue, and “the former England.
dapper elves are often seen hanging from or flitting
amongst their branches”. We have in an earlier chapter considered the
connection between spikes and spooks, and it is obvious that the
White Lady or Alpa of the white thorn or aubespine is the Banshee or
Good Woman Shee:—
She told them of the fairy-haunted land
Away the other side of Brittany,
Beyond the heaths, edged by the lonely sea;
Of the deep forest-glades of Broce-liande,
Through whose green boughs the golden sunshine creeps,
Where Merlin,[781] by the enchanted thorn-tree sleeps.
In the forest of Breceliande—doubtless part of the fairy Hy Breasil—
was a famed Fountain of Baranton or Berendon into which children
threw tribute to the invocation, “Laugh, then, fountain of Berendon,
and I will give thee a pin”.[782] The first pin was presumably a spine or
thorn; the first flower is the black-thorn; on 1st January (the first day
of the first month), people in the North of England used to construct a
blackthorn globe and stand hand in hand in a circle round the fire
chanting in a monotonous voice the words “Old Cider,” prolonging
each syllable to its utmost extent. I think that Old Cider must have
been Thurgut, and that in all probability the initial Ci was sy, the
ubiquitous endearing diminutive of pucksy, pixie, etc.
According to Maundeville, “white thorn hath many virtues; for he that
beareth a branch thereof upon him, no thunder nor tempest may hurt
him; and no evil spirit may enter in the house in which it is, or come
to the place that it is in”: Maundeville refers to this magic thorn as the
aubespine, which is possibly a corruption of alba thorn, or it may be of
Hob’s thorn. In modern French aube means the dawn.
We have seen that there are some grounds for surmising that Brawn
Street and Bryanstone Square (Marylebone) mark the site of a
Branstone or fairy stone, in which connection it may be noted that
until recently: “near this spot was a little cluster of cottages called
‘Apple Village’”:[783] in the same neighbourhood there are now
standing to-day a Paradise Place, a Paradise Passage, and Great
Barlow Street, which may quite possibly mark the site of an original
Bar low or Bar lea. Apple Village was situated in what was once the
Manor of Tyburn or Tyburnia: according to the “Confession” of St.
Patrick the saint’s grandfather came from “a village of Tabernia,”[784]
and it is probable that the Tyburn brook, upon the delta of which
stands St. Peter’s (Westminster), was originally named after the Good
Burn or Oberon of Bryanstone and the neighbouring Brawn Street. The
word tabernacle is traceable to the same roots as tavern, French
auberge, English inn.
Around the effigy of Thurgut will be noted either seven or eight M’s: in
mediæval symbolism the letter M stood usually for Mary; the parish
church of Bryanstone Square is dedicated to St. Mary, and we find the
Virgin very curiously associated with one or more apple-trees.
According to the author of St. Brighid and Her Times: “Bardism offers
nothing higher in zeal or deeper in doctrine than the Avallenan, or
Song of the Apple-trees, by the Caledonian Bard, Merddin Wyllt. He
describes his Avallenan as being one Apple-tree, the Avallen, but in
another sense it was 147 apple-trees, that is, mystically (taking the
sum of the digits, 1 4 7 equal 12), the sacred Druidic number. Thus in
his usual repeated description of the Avallen as one apple-tree, he
writes:—
Sweet apple-tree! tree of no rumour,
That growest by the stream, without overgrowing the circle.
Again, as 147 apple trees—
Seven sweet apple-trees, and seven score
Of equal age, equal height, equal length, equal bulk;
Out of the bosom of mercy they sprung up.
Again—
They who guard them are one curly-headed virgin.”
In fairy-tale the apple figures as the giver of rejuvenescence and new
life, in Celtic mythology it figures as the magic Silver Branch which
corresponds to Virgil’s Golden Bough. According to Irvine the word
bran meant not only the Druidical system, but was likewise applied to
individual Druids who were termed brans: I have already suggested
that this “purely mystical and magical name” is our modern brain;
according to all accounts the Druids were eminently men of brain,
whence it is possible that the fairy-tale “Voyage of Bran” and the
Voyage of St. Brandon were originally brainy inventions descriptive of
a mental voyage of which any average brain is still capable. The
Voyage of Bran relates how once upon a time Bran the son of
Fearbal[785] heard strange music behind him, and so entrancing were
the sounds that they lulled him into slumber: when he awoke there lay
by his side a branch of silver so resplendent with white blossom that it
was difficult to distinguish the flowers from the branch. With this fairy
talisman, which served not only as a passport but as food and drink,
and as a maker of music so soothing that mortals who heard it forgot
their woes and even ceased to grieve for their kinsmen whom the
Banshee had taken, Bran voyaged to the Islands called Fortunate,
wherein he perceived and heard many strange and beautiful things:—
A branch of the Apple Tree from Emain
I bring like those one knows;
Twigs of white silver are on it,
Crystal brows with blossoms.
Commenting upon Fig. 435, which is taken from a Celtic cross at Carew
in Wales, Mrs. G. F. Watts observes: “This symbol was used by British
Christians to signify the labyrinth or maze of life round which was
sometimes written the words “God leadeth”.[819] Among the Latin races
the Intreccia or Solomon’s Knot, which consists frequently of three
strands, is regarded as an emblem of the divine Being existent without
beginning and without end—an unbroken Unity: coiled often into the
serpentine form of an S it decorates Celtic crosses and not infrequently
into the centre of the maze is woven the svastika or Hammer of Thor.
The word Svastika is described by oriental scholars as being composed
of svasti and ka: according to the Dictionaries svasti means welfare,
health, prosperity, blessing, joy, happiness, and bliss: in one sense ka
(probably the chi [Greek: ch]) had the same meaning, but ka also meant
“The Who,” “The Inexplicable,” “The Unknown,” “The Chief God,” “The
Object of Worship,” “The Lord of Creatures,” “Water,” “The Mind or Soul
of the Universe”.
In southern France—the Land of the Troubadours—the Solomon’s Knot,
as illustrated in Fig. 438, is alternatively known as lacs d’amour, or the
knot of the Annunciation: this design consists, as will be noted, of a
svastika extended into a rose or maze, and a precisely similar emblem is
found in Albany. The title lacs d’amour or lakes of love, consociated with
the synonymous knot of the Annunciation, is seemingly further
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookname.com