last day (16 days later) » 

J G
5:27 PM
@sputnick Is this an invite?
 
J G
5:44 PM
hi!
@ThePhoton welcome! :)
are you a mod?
 
 
2 hours later…
8:05 PM
yep
 
J G
thank you!!
 
user1690130 ?
 
J G
yes
same
ok, let me try the code
can i ask you another perl q in the interium?
 
sure...
 
J G
-1
Q: Scraping Data from Individual Records using Perl

user1690130I am trying to extract information from: https://familysearch.org/pal:/MM9.1.1/K3BN-LLJ In particular, that he lived in Queens, New York, USA in both 1935 and 1940 (1940 the year this information was taken down) and that in 1940 he is married. Here is code that I wrote to try and do so: us...

i did not phrase it well.
i have a list of 8 million people.
for each person, i know their first name, last name, birth year (within 2 years of error), birth state in the U.S. (or country), gender, and race
I provided the example for Benjamin S. in that query
if there is exactly 1 output, then for all intensive purpose i will assume it is a match.
if so, then i want to extract some information from the record, a second link
this is the search result: familysearch.org/search/collection/…
 
8:11 PM
what's the point with the other question ? have you tested my updated code ? (few minutes afo)
ago
 
J G
i'm about to test the code.
i ask this other question as another perl issue i am having if that is ok.
 
I don't have so much time to take another one
 
J G
I may be oing omething wrong, but I get error
 
what is the error ?
 
J G
"Can't locate JSON/XS.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib)
 
8:16 PM
that means you need to install JSON::XS
are you using strawberry perl or anything else ?
 
active i believe
i'm sorry bout that delay
 
8:48 PM
So, ppm install JSON::XS
in a windows cmd shell
 
9:10 PM
thank you
@sputnick i ran the code but got stuck in an infinite loop somewhere
 
works as a charm for me :
$ cat out2.txt
year 1923, place San Diego : 1975
year 1924, place San Diego : 2004
year 1925, place San Diego : 1871
put San Diego in locations2.txt
in the same dir of the Perl script
 
J G
9:25 PM
did i downloda the module worng?
in the end, it went through
yes i have set up the right directory and the right .txt file
 
J G
9:37 PM
@sputnick hello?
Now I get a different eror
500 Status read faile
Inappropriate I/O control operation
line 34
<$fh> line 3
lin 34
 
10:29 PM
cqn you pqste the content of locations2.txt here ?
 

  last day (16 days later) »