Skip to content

straup/flickr-commons-metadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 

Repository files navigation

flickr-commons-metadata

flickr-commons-metadata contains the raw metadata for Flickr Commons photos in JSON format pulled from the Flickr API using the following methods:

For example:

$>ls -al data/83979593@N00/224/682/902/*
-rw-r--r--  1 asc  staff    53 Dec 20 15:49 83979593@N00/224/682/902/224682902-c.json
-rw-r--r--  1 asc  staff   255 Dec 20 15:49 83979593@N00/224/682/902/224682902-ctx.json
-rw-r--r--  1 asc  staff  7952 Dec 20 15:49 83979593@N00/224/682/902/224682902-e.json
-rw-r--r--  1 asc  staff  2273 Dec 20 15:49 83979593@N00/224/682/902/224682902-i.json
-rw-r--r--  1 asc  staff  2060 Dec 20 15:49 83979593@N00/224/682/902/224682902-s.json

As of mid-morning December 21 (2013) metadata files contain a flarchive:created attribute which is a Unix timestamp indicating when the file was last archived.

For example:

$> cat 6260452122-i.json | python -mjson.tool
{
    "flarchive:created": 1387636691,
    "photo": {
    	"comments": {
         "_content": "0"
    	},
    ... and so on
}

That means as of mid-morning December 21 (2013) a bunch of metadata files archived before this date are still missing the flarchive:created attribute.

Details

Individual institutions are archived using the py-flarchive library, like this:

$> python ./flarchive/__init__.py -v -a <APIKEY> -n <NSID> -d flickr-commons-metadata/data

This is a massive repository and it's not at all clear that the way the data has been organized is the best way to do things. This is a first pass just to get the data and once that's done some time spent re-thinking how and where the data is stored is in order.

Institutions

In process

The following institutions are currently being archived by one or more people

  • nothing right now

If you are archiving one or more institutions below add them here and send me a pull request or open an issue and I will add it to the list.

Complete list

Contributors

  • @straup
  • @hugovk

See also

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published