Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
R> wa.cd <- readOGR("cd2012.shp", layer="cd2012") | |
OGR data source with driver: ESRI Shapefile | |
Source: "cd2012.shp", layer: "cd2012" | |
with 10 features | |
It has 34 fields | |
R> class(wa.cd) | |
[1] "SpatialPolygonsDataFrame" | |
attr(,"package") | |
[1] "sp" |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
date | name | |
---|---|---|
2014-01-01 | ||
2014-01-02 | ||
2014-01-03 | Snorting Elk | |
2014-01-04 | Bull Wheel | |
2014-01-05 | ||
2014-01-06 | ||
2014-01-07 | ||
2014-01-08 | Caroline Tavern | |
2014-01-09 | Redwood |
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
import argparse | |
import datetime as dt | |
import json | |
import pandas as pd | |
import numpy as np | |
from ggplot import * | |
parser = argparse.ArgumentParser(description = """Yearly summary trends for | |
LibraryThing JSON data""") | |
parser.add_argument('json', help = "JSON file from LibraryThing") |
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
id | pieces | price | collection | |
---|---|---|---|---|
75059 | 3296 | 299.99 | Star Wars | |
10221 | 3152 | 399.99 | Star Wars | |
75037 | 178 | 14.99 | Star Wars | |
75035 | 99 | 12.99 | Star Wars | |
10188 | 3803 | 399.99 | Star Wars | |
75036 | 83 | 12.99 | Star Wars | |
75034 | 100 | 12.99 | Star Wars | |
10240 | 1559 | 199.99 | Star Wars | |
10225 | 2127 | 179.99 | Star Wars |