-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import authorities #11
Comments
Some duplication to clean up:
|
Lots of duplicate |
Duplicate
|
Munge them together and remove duplicates:
|
Remove the duplicate authorities and cleanup: $ { ggrep -Po '(?<=The name ).*(?= was .*)' problem-names.txt ; grep -E '^\s\s' problem-url-parts.txt | sed -e 's/^[[:space:]]*//' ; } | tr - - | sort | uniq > turkey-ignore-list.txt
$ ./turkey_authorities.rb ~/Downloads/turkey-authorities.csv ~/Downloads/turkey-ignore-list.txt > ~/Downloads/turkey-authorities-cleaned-no-dupes.csv |
Invalid emails on dryrun:
|
Munge the invalid emails in: $ { ggrep -Po '(?<=The name ).*(?= was .*)' problem-names.txt ; grep -E '^\s\s' problem-url-parts.txt | sed -e 's/^[[:space:]]*//' ; ggrep -oP "(?<=authority ').*(?=')" turkey-invalid-emails.txt ; } | tr - - | sort | uniq > turkey-ignore-list.txt
$ ./turkey_authorities.rb ~/Downloads/turkey-authorities.csv ~/Downloads/turkey-ignore-list.txt > ~/Downloads/turkey-authorities-cleaned-no-dupes-or-invalid.csv |
Most authorities now uploaded; Waiting on clarifications to remaining handful. |
Done, other than http://bilmehakki.org/body/list/unicode_email, which we'll revisit in the future. |
Import from csv.
Cleanup script:
The text was updated successfully, but these errors were encountered: