This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Yahoo!Pipesin tuottaman iCal-muotoisen tiedoston URL | |
url='http://pipes.yahoo.com/pipes/pipe.run?_id=6602675e62d5d95c7333285517e6a471&_render=ical&urlinput1=http%3A%2F%2Fspreadsheets.google.com%2Fpub%3Fkey%3Dtd1iey6KTeeTgGlE6U3_PPg%26output%3Dcsv' | |
# Haetaan data, ja tallennetaan se tiedostoksi | |
curl $url -o tolisten.ics | |
# Otetaan alussa olevat metatiedot talteen | |
grep X-WR tolisten.ics >XWR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:stylesheet xmlns:marc="info:lc/xmlns/marcxchange-v1" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
exclude-result-prefixes="marc" version="1.0"> | |
<xsl:output encoding="UTF-8" indent="yes" method="xml"/> | |
<!-- | |
Selection of MARC fields from | |
Vaski library consortia open bibliographic data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
version="2.0"> | |
<xsl:output encoding="UTF-8" method="text" indent="no"/> | |
<!-- | |
Selection of MARC fields from Vaski library consortia open bibliographic data | |
Transformation from XML to CSV. Field separator ";" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################ | |
# | |
# Checkerboard one-by-one dentograph of library classifications. | |
# Example: Vaski | |
# | |
# Tuija Sonkkila | |
# 2012-05-31 | |
# | |
# based on | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################ | |
# | |
# One-by-one checkerboard dentograph of library classifications. | |
# Example: Helmet fiction | |
# | |
# Tuija Sonkkila | |
# 2012-05-31 | |
# | |
# based on | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################ | |
# | |
# Two-by-two checkerboard dentograph of library classifications. | |
# Example: Vaski | |
# | |
# Tuija Sonkkila | |
# 2012-06-04 | |
# | |
# based on | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######################################################## | |
# | |
# Extracting library statistics | |
# from tilastot.kirjastot.fi Excel files | |
# and visualizing them with a Google Motion Chart | |
# | |
# Data: | |
# Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) | |
# | |
# Tuija Sonkkila 2012-06-10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Text mining suomitop100 list tweets | |
# https://twitter.com/#!/niku_hooli/ylen-suomitop100-lista/ | |
# | |
# Tuija Sonkkila | |
# 2012-06-26 | |
# | |
# Mining code is based on | |
# http://heuristically.wordpress.com/2011/04/08/text-data-mining-twitter-r/ | |
# | |
# I am a total newbie in text mining, but some remarks are fairly obvious. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Returning the screen names of members of a Twitter list by the cursor | |
# | |
# Example list https://twitter.com/#!/niku_hooli/ylen-suomitop100-lista/ | |
# | |
# Tuija Sonkkila | |
# 2012-06-27 | |
# | |
# Twitter API https://dev.twitter.com/docs/api/1/get/lists/members | |
# Function adapted from http://lists.hexdump.org/pipermail/twitter-users-hexdump.org/2011-December/000015.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Return tweets from Twitter users that are members of a given list | |
# | |
# Example list: https://twitter.com/#!/niku_hooli/ylen-suomitop100-lista/ | |
# | |
# Tuija Sonkkila | |
# 2012-06-27 | |
# | |
library(RCurl) | |
library(RJSONIO) |
OlderNewer