[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Counting Occurrences of a String in an Array

shrouded.shoyu

2/10/2009 9:52:00 PM

Hi,

I'm pretty new to Ruby, and I've been trying to figure out the best
way to do this with little luck.

I have an array that is all strings, and I need to count, for each
string in the array, how many times some substring appears in it.

So, for example, my array is ["aaa", "aab", "abb", "bbb"] and I want
to return a new array that tells me how many times "a" appears: [3, 2,
1, 0]

Can anyone point me in the right direction with this?

Thanks!
9 Answers

Rodrigo Bermejo

2/10/2009 10:01:00 PM

0

unknown wrote:
> Hi,
>
> I'm pretty new to Ruby, and I've been trying to figure out the best
> way to do this with little luck.
>
> I have an array that is all strings, and I need to count, for each
> string in the array, how many times some substring appears in it.
>
> So, for example, my array is ["aaa", "aab", "abb", "bbb"] and I want
> to return a new array that tells me how many times "a" appears: [3, 2,
> 1, 0]
>
> Can anyone point me in the right direction with this?
>
> Thanks!

Sounds like greping !

["aaa", "aab", "abb", "bbb"].grep ....half of the answer.
--
Posted via http://www.ruby-....

David A. Black

2/10/2009 10:04:00 PM

0

Hi --

On Wed, 11 Feb 2009, shrouded.shoyu@gmail.com wrote:

> Hi,
>
> I'm pretty new to Ruby, and I've been trying to figure out the best
> way to do this with little luck.
>
> I have an array that is all strings, and I need to count, for each
> string in the array, how many times some substring appears in it.
>
> So, for example, my array is ["aaa", "aab", "abb", "bbb"] and I want
> to return a new array that tells me how many times "a" appears: [3, 2,
> 1, 0]
>
> Can anyone point me in the right direction with this?

array.map {|str| str.count('a') }


David

--
David A. Black / Ruby Power and Light, LLC
Ruby/Rails consulting & training: http://www.r...
Coming in 2009: The Well-Grounded Rubyist (http://manning....)

http://www.wis... => Independent, social wishlist management!

F. Senault

2/10/2009 10:05:00 PM

0

Le 10 février 2009 à 22:51, shrouded.shoyu@gmail.com a écrit :

> So, for example, my array is ["aaa", "aab", "abb", "bbb"] and I want
> to return a new array that tells me how many times "a" appears: [3, 2,
> 1, 0]

When you need to map elements of an array to another array, the method
to use is, no surprise here, map (a/k/a collect).

Now, finding the number occurences of a string inside another one can be
done in a few ways, depending on what you mean exactly. Scan is one :

>> [ "aaa", "aab", "abb", "bbb" ].map { |x| x.scan(/a/).length }
=> [3, 2, 1, 0]

Fred
--
Perl already has _bless_, and we know what it does... [it] should also
have _smite_, and we know what it should do, too. If more languages had
_smite_ implemented, the remaining programmers would be better than the
current average. (Mike Andrews in the SDM)

Tim Hunter

2/10/2009 10:09:00 PM

0

shrouded.shoyu@gmail.com wrote:
> Hi,
>
> I'm pretty new to Ruby, and I've been trying to figure out the best
> way to do this with little luck.
>
> I have an array that is all strings, and I need to count, for each
> string in the array, how many times some substring appears in it.
>
> So, for example, my array is ["aaa", "aab", "abb", "bbb"] and I want
> to return a new array that tells me how many times "a" appears: [3, 2,
> 1, 0]
>
> Can anyone point me in the right direction with this?
>
> Thanks!
>
>

Looks like a job for collect:

irb(main):008:0> a = ["aaa", "aab", "abb", "bbb"]
=> ["aaa", "aab", "abb", "bbb"]
irb(main):009:0> a.collect {|v| v.scan(/a/).size}
=> [3, 2, 1, 0]



--
RMagick: http://rmagick.ruby...

Will Dockery

9/6/2013 5:28:00 AM

0

Say "Rosebud", Kane... your time is up:

Long Live The Kane (1988) – Big Daddy Kane

Leaving:
>
> The Doors (1967) - (Doors)
>
> Ten (1991) - (Pearl Jam)
>
> Elvis Presley (1956) - (Elvis Presley)
>
> Run-D.M.C. (1984) – Run-D.M.C.
>
> Mr. Tambourine Man (1965) – Byrds
>
> Black Sabbath (1970) – Black Sabbath
>
> My Aim Is True (1977) – Elvis Costello
>
> Music From Big Pink (1968) – The Band
>
> Please Please Me (1963) – The Beatles
>
> Ramones (1976) – Ramones
>
> Fresh Cream (1966) – Cream
>
> Kill 'Em All (1983) – Metallica
>
> In The Court Of The Crimson King (1969) – King Crimson
>
> Songs In A Minor (2001) – Alicia Keys
>
> The College Dropout (2004) – Kanye West
>
> What's The 411? (1992) – Mary J. Blige
>
> Dire Straits (1978) – Dire Straits
>
> Ooooooohhh...On The TLC Tip (1992) – TLC
>
> The Pretenders (1980) – The Pretenders
>
> Santana (1969) – Santana
>
> The Cars (1978) – The Cars
>
> Reasonable Doubt (1996) – Jay-Z
>
> Enter The Wu-Tang: 36 Chambers (1993) – Wu-Tang Clan
>
> Can't Buy A Thrill (1972) – Steely Dan
>
> My Generation (1965) – The Who
>
> Rolling Stones (1964) – Rolling Stones
>
> The Stylistics (1971) – The Stylistics
>
> Boy (1980) – U2
>
> The B-52s (1979) – The B-52s
>
> Bluejean Bop (1956) – Gene Vincent & the Blue Caps
>
> The Chirping Crickets (1957) – Buddy Holly & the Crickets
>
> The Clash (1977) – The Clash
>
> Texas Flood (1983) – Stevie Ray Vaughan & Double Trouble
>
> Look Sharp! (1979) – Joe Jackson
>
> Creedence Clearwater Revival (1968) – Creedence Clearwater Revival
>
> The Monkees (1966) – The Monkees
>
> Dreamboat Annie (1976) – Heart
>
> Beauty And The Beat (1981) – The Go-Go's
>
> New York Dolls (1973) – New York Dolls
>
> Shotgun (1965) – Jr. Walker & The All-Stars
>
> Tom Petty & the Heartbreakers (1976) – Tom Petty & the Heartbreakers
>
> Greetings From Asbury Park, N.J. (1973) – Bruce Springsteen
>
> Steppenwolf (1968) – Steppenwolf
>
> Tuesday Night Music Club (1994) – Sheryl Crow
>
> Procol Harum (1967) – Procol Harum
>
> Aerosmith (1973) – Aerosmith
>
> Diana Ross Presents The Jackson 5 (1969) – Jackson 5
>
> Radio (1985) – LL Cool J
>
> Green Onions (1962) – Booker T. & the MG's
>
> Yo! Bum Rush The Show (1987) – Public Enemy
>
> The Meters (1969) – The Meters
>
> Big Brother & The Holding Company (1967) – Big Brother & the Holding
>
> Company
>
> Is This It (2001) – The Strokes
>
> Pronounced Leh-Nerd Skin-Nerd (1973) – Lynyrd Skynyrd
>
> Pretty Hate Machine (1989) – Nine Inch Nails
>
> Cypress Hill (1991) – Cypress Hill
>
> Shake Your Money Maker (1990) – The Black Crowes
>
> Roxy Music (1972) – Roxy Music
>
> The Young Rascals (1966) – The Young Rascals
>
> With A Little Help From My Friends (1969) – Joe Cocker
>
> Talking Heads: 77 (1977) – Talking Heads
>
> Stray Cats (1981) – The Stray Cats
>
> Brown Sugar – D'Angelo
>
> Walk Don't Run (1960) – The Ventures
>
> The Modern Lovers (1976) - Jonathan Richman & the Modern Lovers
>
> Southernplayalisticadillacmuzik (1994) - Outkast
>
> Funkadelic (1970) – Funkadelic
>
> George Thorogood & The Destroyers (1977) – George Thorogood & The
>
> Destroyers
>
> Violent Femmes (1983) – Violent Femmes
>
> Queen (1973) – Queen
>
> Buffalo Springfield (1966) – Buffalo Springfield
>
> August And Everything After (1993) – Counting Crows
>
> Here's Little Richard (1957) – Little Richard
>
> Kurtis Blow (1980) - Kurtis Blow
>
> Surfers' Choice (1962) – Dick Dale
>
> Never Too Much (1981) - Luther Vandross
>
> Do You Believe In Magic (1965) – The Lovin' Spoonful
>
> Vivid (1988) – Living Colour
>
> Make It Last Forever (1987) - Keith Sweat
>
> Chronic Town (1982) – REM
>
> 2Pacalypse Now (1991) – 2Pac
>
> Baduizm (1997) - Erykah Badu
>
> Child Is Father To The Man (1968) – Blood, Sweat, & Tears
>
> Four Tops (1965) – Four Tops

The Bloomfield Bloviator

9/6/2013 5:35:00 AM

0

On Friday, September 6, 2013 1:27:31 AM UTC-4, Will Dockery wrote:

> Say "Rosebud", Kane... your time is up:

Leaving:

The Doors (1967) - (Doors)
Ten (1991) - (Pearl Jam)
Elvis Presley (1956) - (Elvis Presley)
Run-D.M.C. (1984) – Run-D.M.C.
Mr. Tambourine Man (1965) – Byrds
Black Sabbath (1970) – Black Sabbath
My Aim Is True (1977) – Elvis Costello
Music From Big Pink (1968) – The Band
Please Please Me (1963) – The Beatles
Ramones (1976) – Ramones
Fresh Cream (1966) – Cream
Kill 'Em All (1983) – Metallica
In The Court Of The Crimson King (1969) – King Crimson
Songs In A Minor (2001) – Alicia Keys
The College Dropout (2004) – Kanye West
What's The 411? (1992) – Mary J. Blige
Dire Straits (1978) – Dire Straits
Ooooooohhh...On The TLC Tip (1992) – TLC
The Pretenders (1980) – The Pretenders
Santana (1969) – Santana
The Cars (1978) – The Cars
Reasonable Doubt (1996) – Jay-Z
Enter The Wu-Tang: 36 Chambers (1993) – Wu-Tang Clan
Can't Buy A Thrill (1972) – Steely Dan
My Generation (1965) – The Who
Rolling Stones (1964) – Rolling Stones
The Stylistics (1971) – The Stylistics
Boy (1980) – U2
The B-52s (1979) – The B-52s
Bluejean Bop (1956) – Gene Vincent & the Blue Caps
The Chirping Crickets (1957) – Buddy Holly & the Crickets
The Clash (1977) – The Clash
Texas Flood (1983) – Stevie Ray Vaughan & Double Trouble
Look Sharp! (1979) – Joe Jackson
Creedence Clearwater Revival (1968) – Creedence Clearwater Revival
The Monkees (1966) – The Monkees
Dreamboat Annie (1976) – Heart
Beauty And The Beat (1981) – The Go-Go's
New York Dolls (1973) – New York Dolls
Shotgun (1965) – Jr. Walker & The All-Stars
Tom Petty & the Heartbreakers (1976) – Tom Petty & the Heartbreakers
Greetings From Asbury Park, N.J. (1973) – Bruce Springsteen
Steppenwolf (1968) – Steppenwolf
Tuesday Night Music Club (1994) – Sheryl Crow
Procol Harum (1967) – Procol Harum
Aerosmith (1973) – Aerosmith
Diana Ross Presents The Jackson 5 (1969) – Jackson 5
Radio (1985) – LL Cool J
Green Onions (1962) – Booker T. & the MG's
Yo! Bum Rush The Show (1987) – Public Enemy
The Meters (1969) – The Meters
Big Brother & The Holding Company (1967) – Big Brother & the Holding
Company
Is This It (2001) – The Strokes
Pronounced Leh-Nerd Skin-Nerd (1973) – Lynyrd Skynyrd
Pretty Hate Machine (1989) – Nine Inch Nails
Cypress Hill (1991) – Cypress Hill
Shake Your Money Maker (1990) – The Black Crowes
Roxy Music (1972) – Roxy Music
The Young Rascals (1966) – The Young Rascals
With A Little Help From My Friends (1969) – Joe Cocker
Talking Heads: 77 (1977) – Talking Heads
Stray Cats (1981) – The Stray Cats
Brown Sugar – D'Angelo
Walk Don't Run (1960) – The Ventures
The Modern Lovers (1976) - Jonathan Richman & the Modern Lovers
Southernplayalisticadillacmuzik (1994) - Outkast
Funkadelic (1970) – Funkadelic
George Thorogood & The Destroyers (1977) – George Thorogood & The
Destroyers
Violent Femmes (1983) – Violent Femmes
Queen (1973) – Queen
Buffalo Springfield (1966) – Buffalo Springfield
August And Everything After (1993) – Counting Crows
Here's Little Richard (1957) – Little Richard
Kurtis Blow (1980) - Kurtis Blow
Surfers' Choice (1962) – Dick Dale
Never Too Much (1981) - Luther Vandross
Do You Believe In Magic (1965) – The Lovin' Spoonful
Vivid (1988) – Living Colour
Make It Last Forever (1987) - Keith Sweat
Chronic Town (1982) – REM
2Pacalypse Now (1991) – 2Pac
Baduizm (1997) - Erykah Badu
Child Is Father To The Man (1968) – Blood, Sweat, & Tears
Four Tops (1965) – Four Tops

The Bloomfield Bloviator

9/7/2013 4:06:00 AM

0

Songs In A Minor (2001) – Alicia Keys has lated long enough.

Leaving:

The Doors (1967) - (Doors)
Ten (1991) - (Pearl Jam)
Elvis Presley (1956) - (Elvis Presley)
Run-D.M.C. (1984) – Run-D.M.C.
Mr. Tambourine Man (1965) – Byrds
Black Sabbath (1970) – Black Sabbath
My Aim Is True (1977) – Elvis Costello
Music From Big Pink (1968) – The Band
Please Please Me (1963) – The Beatles
Ramones (1976) – Ramones
Fresh Cream (1966) – Cream
Kill 'Em All (1983) – Metallica
In The Court Of The Crimson King (1969) – King Crimson
The College Dropout (2004) – Kanye West
What's The 411? (1992) – Mary J. Blige
Dire Straits (1978) – Dire Straits
Ooooooohhh...On The TLC Tip (1992) – TLC
The Pretenders (1980) – The Pretenders
Santana (1969) – Santana
The Cars (1978) – The Cars
Reasonable Doubt (1996) – Jay-Z
Enter The Wu-Tang: 36 Chambers (1993) – Wu-Tang Clan
Can't Buy A Thrill (1972) – Steely Dan
My Generation (1965) – The Who
Rolling Stones (1964) – Rolling Stones
The Stylistics (1971) – The Stylistics
Boy (1980) – U2
The B-52s (1979) – The B-52s
Bluejean Bop (1956) – Gene Vincent & the Blue Caps
The Chirping Crickets (1957) – Buddy Holly & the Crickets
The Clash (1977) – The Clash
Texas Flood (1983) – Stevie Ray Vaughan & Double Trouble
Look Sharp! (1979) – Joe Jackson
Creedence Clearwater Revival (1968) – Creedence Clearwater Revival
The Monkees (1966) – The Monkees
Dreamboat Annie (1976) – Heart
Beauty And The Beat (1981) – The Go-Go's
New York Dolls (1973) – New York Dolls
Shotgun (1965) – Jr. Walker & The All-Stars
Tom Petty & the Heartbreakers (1976) – Tom Petty & the Heartbreakers
Greetings From Asbury Park, N.J. (1973) – Bruce Springsteen
Steppenwolf (1968) – Steppenwolf
Tuesday Night Music Club (1994) – Sheryl Crow
Procol Harum (1967) – Procol Harum
Aerosmith (1973) – Aerosmith
Diana Ross Presents The Jackson 5 (1969) – Jackson 5
Radio (1985) – LL Cool J
Green Onions (1962) – Booker T. & the MG's
Yo! Bum Rush The Show (1987) – Public Enemy
The Meters (1969) – The Meters
Big Brother & The Holding Company (1967) – Big Brother & the Holding
Company
Is This It (2001) – The Strokes
Pronounced Leh-Nerd Skin-Nerd (1973) – Lynyrd Skynyrd
Pretty Hate Machine (1989) – Nine Inch Nails
Cypress Hill (1991) – Cypress Hill
Shake Your Money Maker (1990) – The Black Crowes
Roxy Music (1972) – Roxy Music
The Young Rascals (1966) – The Young Rascals
With A Little Help From My Friends (1969) – Joe Cocker
Talking Heads: 77 (1977) – Talking Heads
Stray Cats (1981) – The Stray Cats
Brown Sugar – D'Angelo
Walk Don't Run (1960) – The Ventures
The Modern Lovers (1976) - Jonathan Richman & the Modern Lovers
Southernplayalisticadillacmuzik (1994) - Outkast
Funkadelic (1970) – Funkadelic
George Thorogood & The Destroyers (1977) – George Thorogood & The
Destroyers
Violent Femmes (1983) – Violent Femmes
Queen (1973) – Queen
Buffalo Springfield (1966) – Buffalo Springfield
August And Everything After (1993) – Counting Crows
Here's Little Richard (1957) – Little Richard
Kurtis Blow (1980) - Kurtis Blow
Surfers' Choice (1962) – Dick Dale
Never Too Much (1981) - Luther Vandross
Do You Believe In Magic (1965) – The Lovin' Spoonful
Vivid (1988) – Living Colour
Make It Last Forever (1987) - Keith Sweat
Chronic Town (1982) – REM
2Pacalypse Now (1991) – 2Pac
Baduizm (1997) - Erykah Badu
Child Is Father To The Man (1968) – Blood, Sweat, & Tears
Four Tops (1965) – Four Tops

Will Dockery

9/7/2013 7:11:00 AM

0

Dropping another one that'll hardly be noticed gone:

The College Dropout (2004) – Kanye West

Leaving:
>
> The Doors (1967) - (Doors)
>
> Ten (1991) - (Pearl Jam)
>
> Elvis Presley (1956) - (Elvis Presley)
>
> Run-D.M.C. (1984) – Run-D.M.C.
>
> Mr. Tambourine Man (1965) – Byrds
>
> Black Sabbath (1970) – Black Sabbath
>
> My Aim Is True (1977) – Elvis Costello
>
> Music From Big Pink (1968) – The Band
>
> Please Please Me (1963) – The Beatles
>
> Ramones (1976) – Ramones
>
> Fresh Cream (1966) – Cream
>
> Kill 'Em All (1983) – Metallica
>
> In The Court Of The Crimson King (1969) – King Crimson
>
> What's The 411? (1992) – Mary J. Blige
>
> Dire Straits (1978) – Dire Straits
>
> Ooooooohhh...On The TLC Tip (1992) – TLC
>
> The Pretenders (1980) – The Pretenders
>
> Santana (1969) – Santana
>
> The Cars (1978) – The Cars
>
> Reasonable Doubt (1996) – Jay-Z
>
> Enter The Wu-Tang: 36 Chambers (1993) – Wu-Tang Clan
>
> Can't Buy A Thrill (1972) – Steely Dan
>
> My Generation (1965) – The Who
>
> Rolling Stones (1964) – Rolling Stones
>
> The Stylistics (1971) – The Stylistics
>
> Boy (1980) – U2
>
> The B-52s (1979) – The B-52s
>
> Bluejean Bop (1956) – Gene Vincent & the Blue Caps
>
> The Chirping Crickets (1957) – Buddy Holly & the Crickets
>
> The Clash (1977) – The Clash
>
> Texas Flood (1983) – Stevie Ray Vaughan & Double Trouble
>
> Look Sharp! (1979) – Joe Jackson
>
> Creedence Clearwater Revival (1968) – Creedence Clearwater Revival
>
> The Monkees (1966) – The Monkees
>
> Dreamboat Annie (1976) – Heart
>
> Beauty And The Beat (1981) – The Go-Go's
>
> New York Dolls (1973) – New York Dolls
>
> Shotgun (1965) – Jr. Walker & The All-Stars
>
> Tom Petty & the Heartbreakers (1976) – Tom Petty & the Heartbreakers
>
> Greetings From Asbury Park, N.J. (1973) – Bruce Springsteen
>
> Steppenwolf (1968) – Steppenwolf
>
> Tuesday Night Music Club (1994) – Sheryl Crow
>
> Procol Harum (1967) – Procol Harum
>
> Aerosmith (1973) – Aerosmith
>
> Diana Ross Presents The Jackson 5 (1969) – Jackson 5
>
> Radio (1985) – LL Cool J
>
> Green Onions (1962) – Booker T. & the MG's
>
> Yo! Bum Rush The Show (1987) – Public Enemy
>
> The Meters (1969) – The Meters
>
> Big Brother & The Holding Company (1967) – Big Brother & the Holding
>
> Company
>
> Is This It (2001) – The Strokes
>
> Pronounced Leh-Nerd Skin-Nerd (1973) – Lynyrd Skynyrd
>
> Pretty Hate Machine (1989) – Nine Inch Nails
>
> Cypress Hill (1991) – Cypress Hill
>
> Shake Your Money Maker (1990) – The Black Crowes
>
> Roxy Music (1972) – Roxy Music
>
> The Young Rascals (1966) – The Young Rascals
>
> With A Little Help From My Friends (1969) – Joe Cocker
>
> Talking Heads: 77 (1977) – Talking Heads
>
> Stray Cats (1981) – The Stray Cats
>
> Brown Sugar – D'Angelo
>
> Walk Don't Run (1960) – The Ventures
>
> The Modern Lovers (1976) - Jonathan Richman & the Modern Lovers
>
> Southernplayalisticadillacmuzik (1994) - Outkast
>
> Funkadelic (1970) – Funkadelic
>
> George Thorogood & The Destroyers (1977) – George Thorogood & The
>
> Destroyers
>
> Violent Femmes (1983) – Violent Femmes
>
> Queen (1973) – Queen
>
> Buffalo Springfield (1966) – Buffalo Springfield
>
> August And Everything After (1993) – Counting Crows
>
> Here's Little Richard (1957) – Little Richard
>
> Kurtis Blow (1980) - Kurtis Blow
>
> Surfers' Choice (1962) – Dick Dale
>
> Never Too Much (1981) - Luther Vandross
>
> Do You Believe In Magic (1965) – The Lovin' Spoonful
>
> Vivid (1988) – Living Colour
>
> Make It Last Forever (1987) - Keith Sweat
>
> Chronic Town (1982) – REM
>
> 2Pacalypse Now (1991) – 2Pac
>
> Baduizm (1997) - Erykah Badu
>
> Child Is Father To The Man (1968) – Blood, Sweat, & Tears
>
> Four Tops (1965) – Four Tops

The Bloomfield Bloviator

9/7/2013 3:46:00 PM

0

On Saturday, September 7, 2013 3:11:28 AM UTC-4, Will Dockery wrote:

> Dropping another one that'll hardly be noticed gone: The College Dropout (2004) – Kanye West

Leaving:

The Doors (1967) - (Doors)
Ten (1991) - (Pearl Jam)
Elvis Presley (1956) - (Elvis Presley)
Run-D.M.C. (1984) – Run-D.M.C.
Mr. Tambourine Man (1965) – Byrds
Black Sabbath (1970) – Black Sabbath
My Aim Is True (1977) – Elvis Costello
Music From Big Pink (1968) – The Band
Please Please Me (1963) – The Beatles
Ramones (1976) – Ramones
Fresh Cream (1966) – Cream
Kill 'Em All (1983) – Metallica
In The Court Of The Crimson King (1969) – King Crimson
What's The 411? (1992) – Mary J. Blige
Dire Straits (1978) – Dire Straits
Ooooooohhh...On The TLC Tip (1992) – TLC
The Pretenders (1980) – The Pretenders
Santana (1969) – Santana
The Cars (1978) – The Cars
Reasonable Doubt (1996) – Jay-Z
Enter The Wu-Tang: 36 Chambers (1993) – Wu-Tang Clan
Can't Buy A Thrill (1972) – Steely Dan
My Generation (1965) – The Who
Rolling Stones (1964) – Rolling Stones
The Stylistics (1971) – The Stylistics
Boy (1980) – U2
The B-52s (1979) – The B-52s
Bluejean Bop (1956) – Gene Vincent & the Blue Caps
The Chirping Crickets (1957) – Buddy Holly & the Crickets
The Clash (1977) – The Clash
Texas Flood (1983) – Stevie Ray Vaughan & Double Trouble
Look Sharp! (1979) – Joe Jackson
Creedence Clearwater Revival (1968) – Creedence Clearwater Revival
The Monkees (1966) – The Monkees
Dreamboat Annie (1976) – Heart
Beauty And The Beat (1981) – The Go-Go's
New York Dolls (1973) – New York Dolls
Shotgun (1965) – Jr. Walker & The All-Stars
Tom Petty & the Heartbreakers (1976) – Tom Petty & the Heartbreakers
Greetings From Asbury Park, N.J. (1973) – Bruce Springsteen
Steppenwolf (1968) – Steppenwolf
Tuesday Night Music Club (1994) – Sheryl Crow
Procol Harum (1967) – Procol Harum
Aerosmith (1973) – Aerosmith
Diana Ross Presents The Jackson 5 (1969) – Jackson 5
Radio (1985) – LL Cool J
Green Onions (1962) – Booker T. & the MG's
Yo! Bum Rush The Show (1987) – Public Enemy
The Meters (1969) – The Meters
Big Brother & The Holding Company (1967) – Big Brother & the Holding
Company
Is This It (2001) – The Strokes
Pronounced Leh-Nerd Skin-Nerd (1973) – Lynyrd Skynyrd
Pretty Hate Machine (1989) – Nine Inch Nails
Cypress Hill (1991) – Cypress Hill
Shake Your Money Maker (1990) – The Black Crowes
Roxy Music (1972) – Roxy Music
The Young Rascals (1966) – The Young Rascals
With A Little Help From My Friends (1969) – Joe Cocker
Talking Heads: 77 (1977) – Talking Heads
Stray Cats (1981) – The Stray Cats
Brown Sugar – D'Angelo
Walk Don't Run (1960) – The Ventures
The Modern Lovers (1976) - Jonathan Richman & the Modern Lovers
Southernplayalisticadillacmuzik (1994) - Outkast
Funkadelic (1970) – Funkadelic
George Thorogood & The Destroyers (1977) – George Thorogood & The
Destroyers
Violent Femmes (1983) – Violent Femmes
Queen (1973) – Queen
Buffalo Springfield (1966) – Buffalo Springfield
August And Everything After (1993) – Counting Crows
Here's Little Richard (1957) – Little Richard
Kurtis Blow (1980) - Kurtis Blow
Surfers' Choice (1962) – Dick Dale
Never Too Much (1981) - Luther Vandross
Do You Believe In Magic (1965) – The Lovin' Spoonful
Vivid (1988) – Living Colour
Make It Last Forever (1987) - Keith Sweat
Chronic Town (1982) – REM
2Pacalypse Now (1991) – 2Pac
Baduizm (1997) - Erykah Badu
Child Is Father To The Man (1968) – Blood, Sweat, & Tears
Four Tops (1965) – Four Tops